subnet error

Mickael Choisnard Mickael.Choisnard at u-bourgogne.fr
Tue Feb 27 22:59:39 UTC 2007


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



More information about the dhcp-users mailing list