Running isc-dhcpd on two interfaces?

K Anderson freebsduser at attbi.com
Mon Apr 21 15:10:36 PDT 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 ?
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"
> 

I'm running it on a multi-homed network and here's what I get on 
startup. And I've got three NICs. It's telling me, hey, I'm listening on 
ed1 and rl0 so who ever asks, I answer. :) Didn't do anything special. 
Hmm, you also might have a CLI switch that says to listen on a 
particular interface in a config file someplace.


Internet Software Consortium DHCP Server V3.0.1rc11
Copyright 1995-2003 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 10 leases to leases file.
Multiple interfaces match the same subnet: rl0 ed1
Multiple interfaces match the same shared network: rl0 ed1
Listening on BPF/ed1/00:40:33:29:f0:c7/192.168.100.0/24
Sending on   BPF/ed1/00:40:33:29:f0:c7/192.168.100.0/24
Listening on BPF/rl0/00:00:c5:b3:31:6c/192.168.100.0/24
Sending on   BPF/rl0/00:00:c5:b3:31:6c/192.168.100.0/24

No subnet declaration for ed0 (my_ip.address.munged).
** Ignoring requests on ed0.  If this is not what
    you want, please write a subnet declaration
    in your dhcpd.conf file for the network segment
    to which interface ed0 is attached. **

Sending on   Socket/fallback/fallback-net



More information about the freebsd-questions mailing list