http://www.perlmonks.org?node_id=68458


in reply to Re: Re: How can I find a MAC address from aremote IP ?
in thread How can I find a MAC address from aremote IP ?

Nothing is going to tell you the MAC address of something that is not within your local broadcast domain! You'd have to get some code to run in the local broadcast domain of the remote IP address and have it forward you the information.

And PPP links don't have MAC addresses. A MAC address is an Ethernet thing and you don't run PPP over Ethernet.

So I would assume that the original question was asking for a MAC address of an Ethernet (and non-PPP) adapter that was not local to the computer but that was in the local broadcast domain -- nothing else makes much sense. So ARP is the most logical answer.

        - tye (but my friends call me "Tye")
  • Comment on (tye)Re: How can I find a MAC address from aremote IP ?

Replies are listed 'Best First'.
Re: (tye)Re: How can I find a MAC address from aremote IP ?
by Anonymous Monk on Jul 19, 2003 at 14:50 UTC
    Actually.. MAC addresses are not an Ethernet thing. Token Ring uses them too... The reason Remote networks are usually harder to get MAC address for could be because of Hardware Address Translation. It all depends on how the routers are set up.