A
A
Alexander2016-09-20 12:21:00
Computer networks
Alexander, 2016-09-20 12:21:00

Determine the IP of the host behind the L2 port of the switch?

There is a remote point, connection scheme: router->switch->host's
On the switch:
DHCP server is up,
DHCP snooping is enabled,
IP hosts are bound or added to exclude if set by static.
Another host (Win) is added, everything is set statically on it, and the IP is set from those that have already been issued or bound, i.e. an IP address conflict occurs. Known port and MAC. How to determine what IP is set on it?
PS The task is not as simple as it seems. The host can be loaded, but the IP cannot be viewed on it. In ip dhcp conflict, it will not glow, since there is no DHCP discover when the host is turned on (IP is set to static)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander, 2016-09-20
@ferrum90

In short, the decision was born)).
There will be only one MAC / IP match in the ARP table of the router, since the host, when turned on, sends ARP to 0.0.0.0 and finds that the IP that is assigned to it is already on the network, then it assigns itself the network IP 169.254.0.0/16. And I will not find any correspondence between MAC and IP for this host in ARP.
What I did: I raised L3 on the router from the 169.254.0.0/16 range, the computer gives me arp:
Protocol Address Age (min) Hardware Addr Type Interface
Internet 169.254.0.1 - 0006.52bd.XXXX ARPA Vlan1000
Internet 169.254.248.116 1 001f.c68b .XXXX ARPA Vlan1000
I click on this outside interface and announce the route 169.254.248.116/32 from the router to myself.
And via RDP I fall through to this host and accordingly change / look at the desired IP

A
arkitekt, 2016-09-20
@acyp

As an option - we ping the network range (scanning the range). then "arp -a >arp_table.txt" and from there we grab ip mac. You can also see who else owns this IP

A
Andrew, 2016-09-20
@OLS

If the MAC is known, look at the router's ARP (show arp table) directly after scanning the entire DHCP range

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question