[plug] dhcpd problems

Russell Steicke r.steicke at bom.gov.au
Tue Jul 5 19:44:56 WST 2005


On Tue, Jul 05, 2005 at 07:06:28PM +0800, skribe wrote:
> Hey folks:
> 
> I'm trying to set up dhcpd under Debian.  It can't seem to find my eth1 
> however.  I've edited /etc/default/dhcp telling it to use the eth1 interface.  
> Unfortunately it is still using the default eth0.
> 
> dhcpd -f
> Internet Software Consortium DHCP Server 2.0pl5
> Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
> All rights reserved.
> 
> Please contribute if you find this software useful.
> For info, please visit http://www.isc.org/dhcp-contrib.html
> 
> No subnet declaration for eth0 (my.ip.address.number).
> Please write a subnet declaration in your dhcpd.conf file for the
         ^^^^^^^^^^^^^^^^^^^^^^^^^^
> network segment to which interface eth0 is attached.
                           ^^^^^^^^^^^^^^
> exiting.
  ^^^^^^^

Err, isn't this message enough hint?

I think an empty subnet declaration is enough, like this:

  subnet 1.2.3.0 { }

Or perhaps

  subnet 1.2.3.0 netmask 255.255.255.0 { }



-- 
Russell Steicke

-- Fortune says:
You will be given a post of trust and responsibility.



More information about the plug mailing list