Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

how to find the host based on IP address

Hi,

i have host connected to port on my swtiched network, please let me know on which and which post the host is connected

Host ip:10.1.89.50

1 step:

core720#p 10.1.89.50(host IP)

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.1.89.50, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms

core720#

step 2:

core720#sh arp | in 89.50

Internet 10.1.89.50 0 0050.564b.65b6 ARPA Vlan90

step 3:

core720#sh mac-ad

core720#sh mac-address-table | in 0050.564b.00b6

* 90 0050.564b.65b6 dynamic Yes 0 Po10

core720#

please guide me from here to locate the on which switch the host(10.1.89.50) is connected

3 REPLIES
Hall of Fame Super Silver

Re: how to find the host based on IP address

Hello UCB,

I would go on in this way that I use:

a) core720# sh ethercha sum

find the member links of Po10

let's suppose it is Gi4/1 a member link of Po10

do

b) sh cdp n g4/1

you find an hostname of next switch

c)

telnet to that switch by name or ip address

d) do

sh mac-address-table address 0050.564b.00b6

do sh cdp n of the interface listed in the output of previous command:

if no cdp neighbor is found or an IP phone is found the search is terminated

otherwise repeat steps c) e d)

Hope to help

Giuseppe

Community Member

Re: how to find the host based on IP address

Dear All,

still i am unable to locate plz find the output

core720#sh etherchannel su

1 Po1(SU) - Gi1/1(P) Gi1/2(P) Gi6/1(P) Gi6/2(P)

10 Po10(SU) - Gi1/21(P) Gi1/22(D)

11 Po11(SU) - Gi1/23(P) Gi1/24(D)

21 Po21(SU) - Gi8/1(P) Gi8/2(P)

50 Po50(SU) - Gi1/5(P) Gi1/6(P)

51 Po51(SU) - Gi1/7(P) Gi1/8(P)

52 Po52(SU) - Gi1/9(P) Gi1/10(P)

53 Po53(SU) - Gi1/11(P) Gi1/12(P)

core720#

core720#sh cdp ne gi1/21 de

-------------------------

Device ID: 3750-VC-2

Entry address(es):

IP address: 10.1.128.101

3750-VC-2#sh mac-address-table | in 0050.564b.65b6

90 0050.564b.65b6 DYNAMIC Po41

3750-VC-2#sh eth

3750-VC-2#sh etherchannel su

w - waiting to be aggregated

d - default port

Group Port-channel Protocol Ports

------+-------------+-----------+-----------------------------------------------

10 Po10(SU) - Gi1/0/49(P) Gi1/0/50(D)

11 Po11(SD) - Gi1/0/51(D) Gi1/0/52(D)

31 Po31(SU) LACP Gi1/0/1(P) Gi1/0/2(P) Gi1/0/3(P)

32 Po32(SU) LACP Gi1/0/5(P) Gi1/0/6(P) Gi1/0/7(P)

41 Po41(SU) LACP Gi1/0/41(P) Gi1/0/42(P) Gi1/0/43(P)

42 Po42(SU) LACP Gi1/0/33(P) Gi1/0/34(P) Gi1/0/35(P)

------------------------------------------------

3750-VC-2#sh mac-address-table | in 0050.564b.65b6

90 0050.564b.65b6 DYNAMIC Po41

3750-VC-2#sh eth

BRA-R8-3750-VC-2#sh etherchannel su

Flags: D - down P - in port-channel

I - stand-alone s - suspended

H - Hot-standby (LACP only)

R - Layer3 S - Layer2

U - in use f - failed to allocate aggregator

u - unsuitable for bundling

w - waiting to be aggregated

d - default port

Number of channel-groups in use: 6

Number of aggregators: 6

Group Port-channel Protocol Ports

------+-------------+-----------+-----------------------------------------------

10 Po10(SU) - Gi1/0/49(P) Gi1/0/50(D)

11 Po11(SD) - Gi1/0/51(D) Gi1/0/52(D)

31 Po31(SU) LACP Gi1/0/1(P) Gi1/0/2(P) Gi1/0/3(P)

32 Po32(SU) LACP Gi1/0/5(P) Gi1/0/6(P) Gi1/0/7(P)

41 Po41(SU) LACP Gi1/0/41(P) Gi1/0/42(P) Gi1/0/43(P)

42 Po42(SU) LACP Gi1/0/33(P) Gi1/0/34(P) Gi1/0/35(P)

3750-VC-2#sh cdp ne gi1/0/41 de

3750-VC-2#sh cdp ne gi1/0/42 de

3750-VC-2#sh cdp ne gi1/0/43 de

3750-VC-2#

Hall of Fame Super Silver

Re: how to find the host based on IP address

Hello UCB,

out Po41 formed by Gi1/0/41(P) Gi1/0/42(P) Gi1/0/43(P) and using LACP you probably have a server with multiple NICs using teaming

your search is terminated

0050.56 OUi :

00-50-56 (hex) VMWare, Inc.

005056 (base 16) VMWare, Inc.

44 ENCINA AVENUE

PALO ALTO CA 94301

UNITED STATES

This is a VMware system with 3 NICs in bundle

Hope to help

Giuseppe

300
Views
0
Helpful
3
Replies
CreatePlease to create content