subnet error

Sten Carlsen sten at s-carlsen.dk
Wed Feb 28 10:44:31 UTC 2007


The definition I use for the subnet I DO want to serve is:
subnet 1.2.3.4 netmask 255.255.255.0{
   # diverse options;
   pool{
      allow known clients;             # OR whatever.
      range{ 1.2.3.4 1.2.3.8;
      }
   }
}

For the NIC I do NOT want to serve I have:
subnet 80.1.2.3 netmask a.b.c.d{
not authorative;
}

No range statement here.

Mickael Choisnard wrote:
> What do you mean about range ?
>
> Selon Sten Carlsen <sten at s-carlsen.dk>:
>
>   
>> I have the same setup, I have defined a subnet for the outside address,
>> I just did not add a range, This solved my messages.
>>
>> Mickael Choisnard wrote:
>>     
>>> 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
>>>
>>>
>>>
>>>       
>> --
>> Best regards
>>
>> Sten Carlsen
>>
>> No improvements come from shouting:
>>
>>        "MALE BOVINE MANURE!!!"
>>
>>
>>     
>
>
>
>
>
>   

-- 
Best regards

Sten Carlsen

No improvements come from shouting:

       "MALE BOVINE MANURE!!!" 



More information about the dhcp-users mailing list