Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Discover IP address from 2950 switch

Hi All,

I am wondering, if i can find out the IP addresses that are 'connected' to a switch port, just like i can find out the MAC Address ???

Any ideas ???

Thanks,

George

3 REPLIES
Silver

Re: Discover IP address from 2950 switch

One way could be to determine the mac-address connected to a port and then going to your L3 next-hop (either a router or multilayer switch) and then matching this mac to an ip address by looking at the arp-cache.

Re: Discover IP address from 2950 switch

hi George,

you can have ip address by runing the CDP and MAC address from the arp or you can say the CAM table.

regards

Devang

Re: Discover IP address from 2950 switch

show cdp neigh detail will show you other Cisco devices connected to this switch, it will show the device's ip address, what kind of device it is, it's system name.

For non Cisco devices:

If the devices are in the same vlan as the mgmt interface (Inteface vlan x), you can do a "show arp", it will show you the ip addresses of the devices that you ping from this device.

If the devices connected are in different vlan than the mgmt interface of the switch, then you need to go to the L3 where the default gateway of the device connected to this switch is pointed to, from there you can "show arp" as well.

Please rate helpful posts.

864
Views
0
Helpful
3
Replies
CreatePlease to create content