About this list Date view Thread view Subject view Author view Attachment view

From: Baptiste SIMON (simon_at_codelutin.com)
Date: Sat 16 Aug 2003 - 19:56:22 BST


>>>- the configuration of my vserver :
>>
>># cat /etc/vservers/dhcp.conf
>>IPROOT=192.168.0.204
>>IPROOTDEV=eth0
>>IPROOTBCAST=255.255.255.255
>>ONBOOT=no
>>S_HOSTNAME=dhcp
>>S_CAPS="CAP_NET_RAW"
>>
>>I've try what you advised but I still get that in my logs :
>>
>>Aug 16 19:19:48 dhcp dhcpd: Wrote 0 leases to leases file.
>>Aug 16 19:19:48 dhcp dhcpd:
>>Aug 16 19:19:48 dhcp dhcpd: No subnet declaration for eth0:dhcp (0.0.0.0).
>>Aug 16 19:19:48 dhcp dhcpd: ** Ignoring requests on eth0:dhcp. If this
>>is not what
>>Aug 16 19:19:48 dhcp dhcpd: you want, please write a subnet declaration
>>Aug 16 19:19:48 dhcp dhcpd: in your dhcpd.conf file for the network
>>segment
>>Aug 16 19:19:48 dhcp dhcpd: to which interface eth0:dhcp is attached. **
>>Aug 16 19:19:48 dhcp dhcpd:
>>Aug 16 19:19:48 dhcp dhcpd:
>>Aug 16 19:19:48 dhcp dhcpd: Not configured to listen on any interfaces!

> hmm, maybe you should write a "subnet declaration for eth0:dhcp"?
>
> anyway, the dhcpd config file would be very useful ...

# cat /etc/dhcp3/dhcpd.conf

ddns-update-style none;

default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
option domain-name-servers 192.168.0.1;
option domain-name "mydomain.tld";
authoritative;

subnet 192.168.0.0 netmask 255.255.255.0
{
    range 192.168.0.240 192.168.0.254;
}

#

Note that I'm not a DHCP warrior (I really love playing w/ IPv6 autoconf
tools, but I have stateful configuration, even on IPv4 as here), I may
have done mistakes :c/

-- 
Baptiste SIMON
Administrateur système GNU/Linux & Unix
Societe Code Lutin
http://www.codelutin.com


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sat 16 Aug 2003 - 20:13:55 BST by hypermail 2.1.3