05-26-2024 04:17 AM
I have one end user IP in my lan network and have 40 switches in LAN how can I find that IP connected from which switch please explain briefly
05-26-2024 06:49 AM
Finding which switch and port an end user IP is connected to in a large LAN with multiple switches involves a series of steps using network tools and commands. Here’s a step-by-step guide to trace the IP:
First, you need to find the MAC address associated with the IP address. You can do this from a device that has connectivity to the IP, such as your computer or a network management system.
On a Windows machine:
On a Linux/Unix machine:
This will return the MAC address associated with the IP.
Connect to the core switch or router where you have the central view of your network.
Use the ARP table on your core switch or router to see which interface the MAC address is associated with.
For Cisco devices:
This will give you the VLAN and possibly the physical port where the MAC address is located.
You now need to trace this MAC address through the network switches. Start from the core switch and work your way through.
On a Cisco switch, use:
This command will tell you which port the MAC address is associated with on the switch. If it points to an uplink port, move to the next switch in the path and repeat the command.
Continue using the show mac address-table address <MAC_ADDRESS> command on each switch along the path indicated by the uplink ports until you find the edge switch where the MAC address is located on an access port.
Once you find the switch and port where the MAC address is directly connected, you can verify by checking the ARP table on that switch.
And check the interface details:
This should give you the definitive information on which switch and port the IP address is connected to.
By following these steps, you should be able to pinpoint which switch and port an IP address is connected to within your LAN network.
06-04-2024 06:53 AM
Thanks so much Vishal this works
05-26-2024 12:37 PM
Are you familiar with Cisco's traceroute mac command?
05-28-2024 12:41 AM
No
05-28-2024 03:13 AM
05-28-2024 04:56 AM
@Joseph W. Doherty wrote:
Are you familiar with Cisco's traceroute mac command?
When Bijay said "briefly", he did not mean this brief.
05-28-2024 02:31 AM
Hello
You must have a L3 device that routes for that single vlan, so jump onto that check the arp table for that host and then go looking for that host on the switches via its mac- address
05-28-2024 04:50 AM
"You must have a L3 device that routes for that single vlan . . ."
"Routes" - why?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide