[Gllug] Is there such a thing as reverse DHCP?

John Edwards john at cornerstonelinux.co.uk
Sun Jan 16 21:27:12 UTC 2011


On Sun, Jan 16, 2011 at 09:14:18PM +0000, Robert McKay wrote:
> On Sun, Jan 16, 2011 at 1:36 PM, John Winters <john at sinodun.org.uk> wrote
<snip>
>> way to ask it to provide the information the other way?  That is, send
>> it a query giving an IP address and have it return a response with a MAC
>> address - the MAC address to which it would assign the given IP address?
>>
>> So far I've failed to find such a query.
> 
> Something wrong with arp? or the ip equivalent "ip n l" (ip neighbour list)?

As this is for a Wake-On-LAN script I think the machines have
probably been powered off for longer than the arp timeout and
so are no longer in the kernel arp records. 

I think that either accessing the DHCP records or using something
like arpwatch to keep a record of MAC addresses may be the answer.


-- 
#---------------------------------------------------------#
|    John Edwards   Email: john at cornerstonelinux.co.uk    |
#---------------------------------------------------------#
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Digital signature
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20110116/9813c3a4/attachment.pgp>
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list