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

From: Allen Parker (allenp_at_hardcore-linux.net)
Date: Fri 15 Aug 2003 - 17:29:07 BST

In your /etc/vservers/<vs-name>.conf do you have S_CAPS="CAP_NET_RAW" ? If
you don't, you need it.

Allen "Chip" Parker
Hardcore-linux.net Hosting Solutions.

-----Original Message-----
From: Baptiste SIMON [mailto:simon_at_codelutin.com]
Sent: Thursday, August 14, 2003 12:18 PM
To: vserver_at_solucorp.qc.ca
Subject: [vserver] DHCP server into a vserver


I'm trying to set up a DHCP server working into a vserver. I know it can
be a little difficult. I've followed the advises given in the FAQ. But
my dhcp server still doesn't want to start...

Let's take a look at my configuration :

- I'm running Debian GNU/Linux for this vserver
- I've installed dhcp3-server
- The result of a "ifconfig" :

# ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:BA:BE:1E:F2
           inet6 addr: 2001:7a8:4b09:1:250:baff:febe:1ef2/64 Scope:Global
           inet6 addr: fe80::250:baff:febe:1ef2/64 Scope:Link
           RX packets:110107 errors:0 dropped:0 overruns:0 frame:0
           TX packets:97171 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:100
           RX bytes:67840240 (64.6 MiB) TX bytes:65085672 (62.0 MiB)
           Interrupt:11 Base address:0xe000

eth0:dhcp Link encap:Ethernet HWaddr 00:50:BA:BE:1E:F2
           inet addr: Bcast:
           Interrupt:11 Base address:0xe000

lo Link encap:Local Loopback
           inet6 addr: ::1/128 Scope:Host
           UP LOOPBACK RUNNING MTU:16436 Metric:1
           RX packets:28289 errors:0 dropped:0 overruns:0 frame:0
           TX packets:28289 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:1693722 (1.6 MiB) TX bytes:1693722 (1.6 MiB)

(a little of-topic question : I can see my global IPv6 addresses for
eth0... can I hide it and block it for the vserver ?)

- When I'm trying to launch the DHCP server :

# /usr/sbin/dhcpd3 -d eth0:dhcp
Internet Software Consortium DHCP Server V3.0.1rc9
Copyright 1995-2001 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
unable to create icmp socket: Operation not permitted
Wrote 0 leases to leases file.

No subnet declaration for eth0:dhcp (
** Ignoring requests on eth0:dhcp. 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:dhcp is attached. **

Not configured to listen on any interfaces!

- My config file for the DHCP server :

# cat /etc/dhcp3/dhcpd.conf
ddns-update-style none;

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

subnet netmask

- the configuration of my vserver :

# cat /etc/vservers/dhcp.conf

What do I have to do make this DHCP server working ? Why does ping
disabled ? ... :c)

Thanks in advance,

Baptiste SIMON
Administrateur système GNU/Linux & Unix
Societe Code Lutin

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 Fri 15 Aug 2003 - 17:49:25 BST by hypermail 2.1.3