Sanjeev Kumar wrote:
> Hi,
> I would appreciate if someone can guide me towards MAC Address to IP
> Address Translation. Source code, preferably in C or VC++ or Win32 API
> will be very helpful.
>
> TIA,
> Sanjeev Kumar
> http://www.coolcampus.8k.com
Do you understand what you're asking for??? An analogy would be the
relationship between phone numbers and street addresses.
There is absolutely no relationship between a MAC address and an IP address,
except as implemented on a network. The MAC addresses should be considered
a random number, though NICs purchased from a single vendor may have
similar MACs. An IP address is assigned to an interface. In that manner
alone, is a relationship between MAC & IP and it will change, as soon as
either the NIC or IP address is changes. You can determine the current
relationship on a network, by examining the arp cache or by using a network
analyzer. Incidentally, a MAC address is irrelevant beyond the local
network. That is, as soon as a packet passes through a router, the MAC
from the originating computer will be replaced by that of the router and
this will be repeated at every router along the path to the destination.
--
(This space intentionally left blank)