07-07-2005 02:05 PM - edited 03-03-2019 09:59 AM
is there a method one can find an ip address if the mac is given.
like nbtstat -a will provide the mac if the ip is known.
Thanks.
07-07-2005 03:20 PM
Log into the gateway router on the subnet and use this command:
Router#sh arp | include XXXX.XXXX.XXXX
Some older code does not support the | (grep), but you can always show arp and search the result.
07-07-2005 08:38 PM
hi,
use the following command to see the reqd. output
Router#show ip arp
For other options:
Router#sh ip arp ?
ATM ATM interface
Async Async interface
BRI ISDN Basic Rate Interface
Ethernet IEEE 802.3
FastEthernet FastEthernet IEEE 802.3
H.H.H 48-bit hardware address of ARP entry
Hostname or A.B.C.D IP address or hostname of ARP entry
Null Null interface
Serial Serial
| Output modifiers
Example:
Router#sh ip arp 0007.8576.86c0
Protocol Address Age (min) Hardware Addr Type Interface
Internet 172.16.31.254 - 0007.8576.86c0 ARPA FastEthernet0/0
Router#
However fro a PC (Windows 2000/XP) only command is
C:\>arp -a
this displys the "arp cache"
there is no other method
For some more light follow this link:
http://compnetworking.about.com/od/networkprotocolsip/f/convertipmacadd.htm
Regard
Krishnamurthy Suresh
07-08-2005 12:43 AM
Use a free tool
CCgetmacaddress
This will provide you the MAC to IP or Ip to MAC on your network.
HTH,
-amit singh
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