Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Apr 2003 15:10:34 -0700
From:      K Anderson <freebsduser@attbi.com>
To:        Paul Hoffman <phoffman@proper.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Running isc-dhcpd on two interfaces?
Message-ID:  <3EA46C5A.2060700@attbi.com>
References:  <p0521062cbaca15cfd9c4@[63.202.92.152]>

next in thread | previous in thread | raw e-mail | index | archive | help


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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EA46C5A.2060700>