[c-nsp] Finding Ip of Stanalone Machine.
Gert Doering
gert at greenie.muc.de
Wed Jul 19 12:00:35 EDT 2006
Hi,
On Wed, Jul 19, 2006 at 04:53:05PM +0530, Sam Jacob wrote:
> I ve been asked this question by a colleague of mine.
>
> Assume that you have a Standalone PC with an IP Address configured and you
> have no access to this PC.
>
> How do we find out the IP Address of this PC if you are allowed to use its
> network interface and any cable of your choice (Straight or Cross Cable ).
There's a good chance that the PC will send out packets of its own
after a link up/down event.
So connect another machine with a crossover cable, and a sniffer
(tcpdump/ethereal) running on that machine, to the PC in question -
and watch for traffic.
If you can reboot the PC (not always an option) you can pretty much
rely on a gratuitous ARP request going out upon configuration of the
LAN card.
Others have suggested doing broadcast pings - this might work, or might
not, depending on the OS in question. Windows will *not* respond...
Ah, of course: if you know the PCs mac address (by whatever means),
"arping" (Linux/Unix tool) might bei used to poke the PC to get the
corresponding IP address.
gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany gert at greenie.muc.de
fax: +49-89-35655025 gert at net.informatik.tu-muenchen.de
More information about the cisco-nsp
mailing list