cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1243
Views
0
Helpful
3
Replies

Discover IP address from 2950 switch

dukenukem
Level 1
Level 1

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 3

atif.awan
Level 3
Level 3

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.

devang_etcom
Level 7
Level 7

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

Roberto Salazar
Level 8
Level 8

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.