Wed, 27 Aug 2008 13:50:28 -0400
Le August 27, 2008, Stephen Liu a écrit :
> # vserver vserver1 exec ifconfig
> eth0 Link encap:Ethernet HWaddr 00:0e:a6:f9:a3:5b
> inet addr:192.168.1.110 Bcast:0.0.0.0 Mask:255.255.255.255
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:36328 errors:0 dropped:0 overruns:0 frame:0
> TX packets:24393 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:53116428 (50.6 MiB) TX bytes:1770151 (1.6 MiB)
> Interrupt:50 Base address:0xe000
>
>
> # vserver vserver1 exec ping -c3 yahoo.com
> ping: unknown host yahoo.com
I just noticed, you have a netmask of 255.255.255.255. If this is not correct,
edit /etc/vservers/vserver1/interfaces/0/prefix and put something like "24",
depending on the real netmask you need.
--
Nicolas Cadou
Cobi Informatique Inc.
Tel: (450) 266-2420 (305)
Fax: (450) 266-2415
["application/pgp-signature" not shown]