[ale] Find IP-address from MAC address

Mike Panetta ahuitzot at mindspring.com
Thu Sep 1 09:01:56 EDT 2005


If you just wrote a to the wire arp querier for your machine you not need an address (it could be set to 0.0.0.0).

I have done this before, its not very difficult at all.  Take a look at SOCK_RAW support in linux and get a copy of the Richard Stevens series of TCP/IP books.

Mike

-----Original Message-----
From: Rene Rasmussen <ale at ras-world.dk>
To: ale at ale.org
Sent: Sep 1, 2005 3:39 AM
To: Atlanta Linux Enthusiasts <ale at ale.org>
Subject: Re: [ale] Find IP-address from MAC address


Thanks for the hints. I will put together a script to scan the network.
I think the script should do the following:

1. Set own IP-address. (x.x.x.1)
2. Use Nmap to scan the network. (x.x.x.2-254 in a class C network)
3. Stop and tell the user if a machine is found.
4. Set own IP-address. (x.x.x.2)
5. Use Nmap to scan the remaining address. (x.x.x.1)
6. Stop and tell the user if a machine is found.
7. Start from 1. again.

Did I miss something? Is there a smarter way to construct the script?

I have a machine and a crossover cable I'm gonna use. This negates the 
possibility of false hits.


Thanks again.

Regards,
Ren???
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list