Figuring out address of peer in DHCP environment

Peter Karlsson peter at softwolves.pp.se
Fri Dec 21 14:29:08 UTC 2007


Hi!

I'm working with two devices that can have their IP addresses configured 
dynamically by DHCP. I know the other device's Ethernet MAC address. Is 
there a way to look up the other device's IP address using DHCP or some 
other protocol?

I cannot simply look up ARP tables because the other device will not be in 
my device's ARP cache before I've actually communicated with it, and the 
other device will not know my address until I send it a message, so it 
cannot initiate communication, either.

I almost thought I had found the solution in InARP, but it doesn't seem to 
be support Ethernet. Does anyone know of an alternative?

I've been toying with the idea of scanning the entire subnet, but if I'm on 
something like a 10.0.0.0/8 network, that would take quite some time.


I'm sorry if this is the wrong mailing list to ask, it seemed like the right 
place for this kind of question, though.
-- 
\\// Peter - http://www.softwolves.pp.se/


More information about the dhcp-hackers mailing list