On Thursday 08 Apr 2004 12:56 am, rikona wrote: > The computers will not be on-line at the time and not accessible, but > do have fixed IP addresses in nnn.nnn.nnn.nnn form. Other software > will be set up to access these with the xx:xx:xx:xx:xx:xx notation. > What I need is really a number converter, I think. :-)
I hesitate to say it cannot be done, but it almost certainly cannot. With the machines on-line it would probably require non-trivial programming work. With the machines offline it is not possible. The machine in question is the only one that knows both numbers, unless you have DHCP, in which case the server does. But I know of no way to query the server for anything other than the IP address of the querying machine, other than cutting and pasting from the server's logs. There is no relationship between the two numbers. If you were to change the NIC card in the computer the IP address would remain the same and the MAC address would change. > RU> The reverse conversion is always problematic - and is usually the > one RU> you want to do. It most cases it becomes a matter of walking > from one RU> machine to the next checking the ethernet address of > each. > > I know the nnn.nnn.nnn.nnn form. I need the xx:xx:xx:xx:xx:xx form. Why? using the MAC address is very rare. What are you trying to do? There is probably a better way. -- Richard Urwin
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________
