[TriLUG] DHCPD and multiple NICs

Steven Blanchard sgblanch at email.unc.edu
Sat Sep 15 13:20:17 EDT 2001


i was just dealing with this on a redhat 7.1 box, what i did was to find 
the line:
"daemon /usr/sbin/dhcpd" in my /etc/init.d/dhcpd file, and change it to 
"daemon /usr/sbin/dhcpd eth1"
eth1 is my internal interface on this box. it no longer listens to 
roadrunner on eth0.

Tom Bryan wrote:

>Now that I have RoadRunner (Yeah!), my DHCP server for my home network is 
>also the firewall/gateway to the public network.  (It's also my NFS server, 
>but that's another question.)  I configured eth1 and plugged it into the 
>cable modem, but I had problems with the machine's own DHCPD fighting with 
>the cable modem's DHCP server.  From an old message on the list, I set added 
>an extra subnet block to dhcpd.conf.  I'm not really sure what this does.  
>Everything seems to work now, but DHCPD is still listening on eth0 and eth1.
>
>subnet 0.0.0.0 netmask 0.0.0.0 {
>        not authoritative;
>}
> 
>subnet 172.16.0.0 netmask 255.255.255.0 {
>        host ....
>}
>
>Can anyone explain the first subnet block to me?  Is it a just a hack, or is 
>this the right way to do it?  The reason I ask is that whenever I boot, I get
>
>Sep 15 07:50:27 dhcpd: Warning: subnet 172.16.0.0/24 conflicts 
>with subnet 0.0.0.0/0
>Sep 15 07:50:27 dhcpd: Listening on Socket/eth1/0.0.0.0
>Sep 15 07:50:27 dhcpd: Sending on   Socket/eth1/0.0.0.0
>Sep 15 07:50:27 dhcpd: Listening on Socket/eth1/0.0.0.0
>Sep 15 07:50:27 dhcpd: Sending on   Socket/eth1/0.0.0.0
>Sep 15 07:50:28 dhcpd: Listening on Socket/eth0/172.16.0.0
>Sep 15 07:50:28 dhcpd: Sending on   Socket/eth0/172.16.0.0
>Sep 15 07:50:28 dhcpd: Listening on Socket/eth0/172.16.0.0
>Sep 15 07:50:28 dhcpd: Sending on   Socket/eth0/172.16.0.0
>Sep 15 07:50:28 dhcpd: dhcpd startup succeeded
>
>---Tom
>_______________________________________________
>TriLUG mailing list
>http://www.trilug.org/mailman/listinfo/trilug
>





More information about the TriLUG mailing list