Re: get MAC Address from IP
From: Gareth Watson (gw-ext_at_abs-ltd.com)
Date: 11/10/04
- Next message: MrMike: "DropDownList.SelectedValue not working"
- Previous message: Mathew Relick: "Problem generating XML from dataset"
- In reply to: John Saunders: "Re: get MAC Address from IP"
- Next in thread: John Saunders: "Re: get MAC Address from IP"
- Reply: John Saunders: "Re: get MAC Address from IP"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 10 Nov 2004 17:32:01 -0000
"John Saunders" <johnwsaundersiii at hotmail.com> wrote in message
news:%238LW%23gUxEHA.3976@TK2MSFTNGP09.phx.gbl...
> "YAN" <YAN@discussions.microsoft.com> wrote in message
> news:9586DF60-A3BF-4C58-B94B-B59B7535F775@microsoft.com...
>> Hi,
>> I want to get the mac address from a machine, which i have the IP address
>> of
>> that machine, how can i do that?
>
> You can't. There's no relationship between the two.
>
> And besides, a machine may have multiple IP addresses and multiple MAC
> addresses.
>
> John Saunders
>
>
No relationship between MAC address and IP address? Did I read that right!
Of course there's a relationship how else would you move from layer 3 (IP)
to layer 2 (MAC).
In fact there is a whole protocol for this conversion. Its called ARP.
Basically ARP broadcasts on the segment asking all the devices to repond
with their MAC if they own the stated IP. This is a simplification of the
process but it is basically what happens.
I have no idea how to do this in .Net but saying there is no relationship is
clearly not the case.
Of course I may have misread your post but its all good factual stuff
anyway.
Cheers,
Gareth.
- Next message: MrMike: "DropDownList.SelectedValue not working"
- Previous message: Mathew Relick: "Problem generating XML from dataset"
- In reply to: John Saunders: "Re: get MAC Address from IP"
- Next in thread: John Saunders: "Re: get MAC Address from IP"
- Reply: John Saunders: "Re: get MAC Address from IP"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|