[Gllug] dhcpd Question

Morris, Simon Simon.Morris at cmtww.com
Wed Dec 29 15:14:13 UTC 2004


-----BEGIN QUOTE----
Ken Smith wrote:

> Are you saying that DHCP is smart enough to work out which interfaces to
> offer its subnet leases to, based on the IP address configuration of the
> interface?

Yep.
-----END QUOTE-----

For remote networks and DHCP relay agents the dhcpd server looks in the giaddr field (Gateway Interface Address) of the DHCP protocol which is filled in by the router or DHCP relay agent.

This way dhcpd knows which subnet the request comes from and can give the correct address for the clients subnet.

The same happens for a locally attached network. DHCP receives the broadcast directly from the client on eth0 so it knows to give out an address from an appropiate range

~sm
(Apologies for the retarded quoting style)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20041229/78128359/attachment.html>
-------------- 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