Running isc-dhcpd on two interfaces?

Dirk-Willem van Gulik dirkx at
Mon Apr 21 14:48:05 PDT 2003

On Mon, 21 Apr 2003, Paul Hoffman wrote:

> Hi again. I have a box that has two interfaces on two nets, and I
> want it to be a DHCP server for both nets. I installed isc-dhcpd from
> ports, but it looks like it is pretty much hard-wired to only run
> once, using just one config file. How do I make it work for two
> different interfaces ?

Option 1:

- Mention each interface in
	dhcpd_ifaces=sis0 sis1 sis2 sis3 fxp0 fxp2

Option 2

  Have NO interfaces at all; isc-dhcp will run on
  all interfaces. And make it non authoritative for
  the non dhcp running ifaces:

	subnet netmask {not authoritative; } # vx0

        #  wi0 Omni voor de buurt
        subnet netmask {
                option broadcast-address;
                option subnet-mask;
                option routers;


	# Interlink to church:
	subnet netmask {not authoritative; } # wi1


More information about the freebsd-questions mailing list