Re: Retrieving the MAC address of remote machine?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Miha Pihler (mihap-news_at_atlantis.si)
Date: 07/07/04


Date: Wed, 7 Jul 2004 19:59:01 +0200

Hi Rajash,

if the client is on your LAN (no routers - hops - in between you and the
client) first ping the client then check ARP -a. Look for the IP you pinged
and next to it should be ARP. If there is a hop (router, FW, ...) between
you and the client you have no option to see the MAC address.

Mike

"Rajesh Gupta" <guptar@gmail.com> wrote in message
news:%23X9$4ZEZEHA.2408@tk2msftngp13.phx.gbl...
> How can i retrieve the MAC address of remote machine? I know the IP
> address.
>
> Is there anyway of getting the MAC address programatically from the ARp
> table?
>
> Thanks in advance.
> Rajesh
>
>



Relevant Pages

  • [Full-Disclosure] Static ARP Replies?
    ... built-in ARP cache poisoning prevention. ... virtually done between the client and the access point). ... broadcasting or client to client (mac address to mac address) ...
    (Full-Disclosure)
  • Re: Advanced Security Question
    ... > 192.168.100.100 and then use the real mac address of that client when it ... but in the latter case the same arp table should be ... Use two NICs on the ...
    (comp.os.linux.security)
  • Re: Neighbor table overflow. Virus?
    ... As soon as I disconnect that client ... >the problem disappears in the server. ... Entries in the ARP tables should only occur for IP addresses that are ... sniffing the connection to see WTF it's trying to connect ...
    (comp.os.linux.networking)
  • Re: NIM over WAN
    ... JA> I've been trying to use NIM with AIX 4.3.3 and AIX 5.1 over a WAN, ... the client locks up with an 'arp error' message (can't recall ... NIM works just fine when I use it in the same ... JA> cities, I get arp problems. ...
    (comp.unix.aix)
  • Re: Neighbor table overflow. Virus?
    ... It is obvious from the ARP table that hundreds of connections are comming from this client that cannot be established. ... sniffing the connection to see WTF it's trying to connect ... to reach all possible addresses in the local subnet. ...
    (comp.os.linux.networking)