[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to get the mac address(network card physical address) of a remote computer by its IP address?



On 11/19/08 07:27, 中和刘 wrote:
On Wed, Nov 19, 2008 at 9:20 PM, Ron Johnson <ron.l.johnson@cox.net> wrote:
On 11/19/08 07:06, 中和刘 wrote:
when a user visit my website, it's easy to get the ip address of the
user, but i think IP address is not as stable as mac address, so I
hope I can get the mac address of the user according to its IP
address, is it possible? thanks
IP packets don't contain the MAC address.  You'd have to run some
asynchronous arp ping against the IP address.
i heard that arp ping only get the mac address on the LAN, it cannot
get mac address outside the LAN.

Hmmm.  Looks like you're right.

(Why do I get the feeling that some Chinese Government rule is behind this
request?)
no, I'm not a member of chinese government, I just want to provide
better service in my website :)

I was thinking more of government regulation.

--
Ron Johnson, Jr.
Jefferson LA  USA

If you don't agree with me, you are worse than Hitler!!!


Reply to: