IP <--> MAC

G

Guest

Hello:

I know the IP address for remote server, the one
located outside the local network.

How can I get the MAC address for this remote
machine ?

thanks
 
S

Steve Parry [MVP]

dave said:
Hello:

I know the IP address for remote server, the one
located outside the local network.

How can I get the MAC address for this remote
machine ?

thanks

In a CMD prompt

arp -a x.x.x.x

where x.x.x.x is the ip address

or

nbtstat -a x.x.x.x

where x.x.x.x is the ip address
 
G

Guest

Steve,

nbtstat -a x.x.x.x

doesn't displays info not for all IP.

---------------------------------------------------
It looks like this:

nbstat -A XXX.XXX.XXX.XXX

Host not found

thanks dave
 
O

Oli Restorick [MVP]

The nbtstat trick will only work if the destination hosts in on the same
subnet as the machine you're using. Also, you will have had to have had
communications with the remote machine for it to be in the ARP table. I
recommend pinging the machine first.

If you have managed switches on your network, you can use these to find the
relationship between MAC address and IP addresses.

Regards

Oi
 
J

Jetro

You cannot get any MAC outside the local segment but router's MAC only using
standard tools. Router doesn't not pass through ARP packets.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top