[Gllug] dhcpd Question

David Godfrey dave at lists.deltass.co.uk
Wed Dec 29 09:31:20 UTC 2004


Ken Smith wrote:

> I'm configuring a server with three network interfaces. T he first has fixed
> IP connected to an ADSL router, the second is an ethernet card for the
> internal 100BT wired network and the third is a wireless card.
> 
> I've been searching the dhcp docs for how to make it offer one range of
> address leases to the wired network, another to the wireless network and
> obviously none on the fixed IP interface connected to the router.
> 
> I can't find an option I want in man dhcpd.conf. I recall doing this through
> the dhcpd startup script in init.d sometime in the past. Would that mean I
> need to modify the script to run an instance of DHCP for each interface.

No. Look at the subnet option in man dhcpd.conf. This allows dhcpd to
identify which interface the request came in on.

> I must be missing something obvious.......I've seen some stuff about adding
> static routes to get the broadcasts to go to the right interfaces. Google
> and the docs seem terribly silent on the matter...

I think it uses subnets rather than interfaces because you might be
using dhcrelay and the subnet might not be on a local interface at
all.

HTH

Regards
-- 
Dave Godfrey
dave at deltass.co.uk
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list