Mark Schonbach on Wed, 27 Mar 2002 14:10:49 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] DHCP and eth1


You need to tell DHCP to only bind to one interface

Assuming dhcpd is in /usr/sbin, just type
/usr/sbin/dhcpd eth0

should do the trick.

Before this check was implimented, a guy I know misconfigured his DHCP
server to listen on both interfaces, and started serving 192.168 addresses
to his entire dorm.  When he rebooted the machine, the whole floor lost
net. :).  So, that's why it checks to see if you've configured all
interfaces, so you configure it properly, or else obly bind it to one
interface.

On Wed, 27 Mar 2002 thanous@dca.net wrote:

> Hi list,
>
> I wrote a dhcpd.conf file in my etc directory, I cut and paste it below.  When
> I go to run dhcp, it gives me this error: "Please write a declartion for the
> network segment to which the interface Eth1 is attached.  Exiting"
>
> Eth1 is the internet connection, and eth0 is the LAN conneciton.


Mark Schonbach
http://www.markbach.com/
PGPID: 2068B0F1 fp D161 176B 74FD D137 6B2C  052F D801 29A8 2068 B0F1


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug