subnet error

Glenn Satchell Glenn.Satchell at uniq.com.au
Wed Feb 28 12:42:14 UTC 2007


>Date: Tue, 27 Feb 2007 23:59:39 +0100
>From: Mickael Choisnard <Mickael.Choisnard at u-bourgogne.fr>
>To: dhcp-users at isc.org
>Subject: subnet error
>
>Hi,
>I have a dhcpd server on my gentoo router.
>The eth0 is a public address (62.35.125.14 for example) given by Free.fr
>The eth1 is a private address (10.11.12. for example)
>When i launch dhcpd, i have a warning :
>
>No subnet declaration for eth0 (62.35.125.14).
>** Ignoring requests on eth0.  If this is not what
>you want, please write a subnet declaration
>in your dhcpd.conf file for the network segment
>to which interface eth0 is attached. **
>
>I had to my dhcpd.conf a declaration like that but i have errors :
>
>subnet 62.35.125.14 netmaks 255.255.255.0 { }
>
>My dhcpd.conf is :
>
>authoritative;
>ddns-update-style interim;
>
>subnet 10.11.12.0 netmask 255.255.255.0 {
>    default-lease-time 259200;
>    max-lease-time 518400;
>    option subnet-mask 255.255.255.0;
>    option broadcast-address 10.11.12.255;
>    option routers 10.11.12.1;
>    option domain-name certem;
>    option domain-name-servers 10.11.12.1;
>    host impdell {
>        hardware ethernet 00:74:00:B9:79:36;
>        server-name "impdell";
>        fixed-address 10.11.12.31;
>        option host-name "impdell";
>        }
>}
>
>Thanks for yours ideas
>
>
Not sure about the specifics of gentoo, so you may have to poke around
in startup scripts and /etc/config files, but you should start dhcpd
like this:

  dhcpd eth1

This cause it to only listen for requests on eth1, and to ignore any
other interfaces. See the dhcpd man page.

regards,
-glenn


More information about the dhcp-users mailing list