From: Baptiste SIMON (simon_at_codelutin.com)
Date: Sat 16 Aug 2003 - 20:14:07 BST
Herbert Pötzl wrote:
> replace this with
>
> IPROOTMASK=255.255.255.0
> IPROOTBCAST=192.168.0.255
done...
> (because this would match your dhcp config, and
> by the way, is more resonable ... )
mmm... I've just followed the doc :
[ http://www.solucorp.qc.ca/howto.hc?projet=vserver&id=73 ]
- -->
The solution is to set the IPROOTBCAST entry in the vserver
configuration file like this
IPROOTBCAST=255.255.255.255
<-- -
> if it still fails, please add the ifconfig output from
> inside the vserver ...
root_at_dhcp:/# 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
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:448583 errors:0 dropped:1050556 overruns:0
frame:1048560
TX packets:404682 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:272937997 (260.2 MiB) TX bytes:187128209 (178.4 MiB)
Interrupt:11 Base address:0xe000
eth0:dhcp Link encap:Ethernet HWaddr 00:50:BA:BE:1E:F2
inet addr:192.168.0.204 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
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:10898 errors:0 dropped:0 overruns:0 frame:0
TX packets:10898 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:557324 (544.2 KiB) TX bytes:557324 (544.2 KiB)
And it is still failing :
Aug 16 21:11:02 dhcp dhcpd: Wrote 0 leases to leases file.
Aug 16 21:11:02 dhcp dhcpd:
Aug 16 21:11:02 dhcp dhcpd: No subnet declaration for eth0:dhcp (0.0.0.0).
Aug 16 21:11:02 dhcp dhcpd: ** Ignoring requests on eth0:dhcp. If this
is not what
Aug 16 21:11:02 dhcp dhcpd: you want, please write a subnet declaration
Aug 16 21:11:02 dhcp dhcpd: in your dhcpd.conf file for the network
segment
Aug 16 21:11:02 dhcp dhcpd: to which interface eth0:dhcp is attached. **
Aug 16 21:11:02 dhcp dhcpd:
Aug 16 21:11:02 dhcp dhcpd:
Aug 16 21:11:02 dhcp dhcpd: Not configured to listen on any interfaces!
Thanks for your patience...
-- Baptiste SIMON Administrateur système GNU/Linux & Unix Societe Code Lutin http://www.codelutin.com