Warning: I don't know networking stuff. :)
These are all off the top of my head and untested.
Intresting problem, though.
Use tcpdump, reboot the Windows 2000 box, and watch
it say hello to the network, rob the IP from there?
I've no idea will it say hello to the network, but it
might do something like load a SMB share. Randomly saying hello
to the network sounds like something a Windows box would do...
"Hi! I'm a Windows box - Any other out there?"
Else, change your Ethernet address to his (you can do that from
the OK prompt), and ping
your machine from a third party (making sure
the arp entry on the third party is the one for both machines).
Watch the fun using tcpdump. IIRC, Solaris will complain about
somebody else using their ethernet address, giving away the IP
in the error messages, and sure you'll have that from tcpdump anyway.
echo 0 | nc 255.255.255.255 6
Does Win2k echo echo requests - tcpdump the network at this time...
Or maybe watch the response from
nmap -sP '10.0.0.*'
Should be in the arp cache then. If not, tcpdump the nmap scan and
grep for ethernet address.
From: Miles [mailto:kieran.colfer at ireland.sun.com]
Sent: 21 November 2000 18:55
Subject: [ILUG] IP address from ethernet address
Does anyone know how to figure out the hostname/IP address of a machine
from its ethernet address on a solaris network? I have a box here that's
useless to me (win2k professional, don't have any passwords, guy who has
went to india for 2 months), and I want to use its IP address and
hostname on a Suse 6.4 laptop I have here. Unfortunately, seeing as it's
win2k, I don't get the handy "welcome to <hostname>" message at the
login screen, and I can't get in to find out. All I have is the ethernet
address from the back of the machine. Any ideas? I know how to get the
ethernet address from the hostname, but not the other way around.
kieran.colfer at ireland.sun.com
A superfluous element of a source program included so the
programmer can remember what the hell it was he was doing
six months later. Only the weak-minded need them, according
to those who think they aren't.
Irish Linux Users' Group: ilug at linux.iehttp://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
List maintainer: listmaster at linux.ie
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!