Configuring DHCP.

Daniel Carrera daniel.carrera at zmsl.com
Thu Aug 25 09:23:13 UTC 2005


Hello,

I'm having problems configuring the DHCP server (it won't start - need 
help with dhcpd.conf).

1) This is my current setup:

  * eth0 points to the internet.
  * eth1 points to the thin clients.
  * I did 'sudo dpkg-reconfigure dhcp3-server' and told it to serve DHCP
    requests on eth1.
  * I did copy /etc/ltsp/dhcpd.conf to /etc/dhcp3
  * I edited /etc/network/interfaces to contain:

	iface eth0 inet dhcp
	iface eth1 inet static
	      address 192.168.0.1
	      netmask 255.255.255.0
	      up flush-mail

2) This is the error:

When I type 'sudo /etc/init.d/dhcp3-server start' I get the message 
"dhcpd3 failed to start" and the following error in syslog:

<quote>
  No subnet declaration for eth1 (0.0.0.0).
  ** Ignoring requests on eth1.  If this is not what
     you want, please write a subnet declaration
     in your dhcpd.conf file for the network segment
     to which interface eth1 is attached. **

  Not configured to listen on any interfaces!
</quote>

The contents of dhcpd.conf are unmodified from the default 
/etc/ltsp/dhcpd.conf. That is:

<full-contents>
authoritative;

subnet 192.168.0.0 netmask 255.255.255.0 {
   range 192.168.0.20 192.168.0.250;
   option domain-name "example.com";
   option domain-name-servers 192.168.0.1;
   option broadcast-address 192.168.0.255;
   option routers 192.168.0.1;
   option subnet-mask 255.255.255.0;

   filename "/ltsp/pxelinux.0";
   option root-path "/opt/ltsp/i386";
}
</full-contents>


I am now at a loss. I don't know what to do here. I was hoping that 
someone here could guide me a little. Any help would be very much 
appreciated.

Cheers,
Daniel.
-- 
      /\/`) Leave your mark at OpenOffice.org
     /\/_/  http://oooauthors.org
    /\/_/
    \/_/    "The pedant keep things in order, the genius
    /       rules the chaos" -- Sigrid Kronenberger





More information about the edubuntu-devel mailing list