remove the /etc/network/interfaces.template loopback entries:
> auto lo
> iface lo inet loopback
> address 127.0.0.1
> netmask 255.0.0.0
> broadcast 127.255.255.255
> up ip route replace 127.0.0.0/8 dev lo
and restart the container ...
or remove entries in /etc/network/interfaces and
restart networking or ifup lo
Seem to affected all precreated debian and ubunutu distros at
http://download.openvz.org/template/precreated/ only
Bye,
Thorsten
--
OpenVZ Power User with a swirl
http://debian.systs.org/category/openvz/
dan schrieb:
I'm having problems with the precreated 8.04-x86 template.
After setting the normal ipaddress/hostname/gateway settings and
starting the template, I get no networking. The CentOS template works
fine, so its not my networking setup. If I modify the
/etc/network/interfaces file to be like a typical system, networking
will restart without error, but I cannot access the network still.
The host node is Ubuntu 8.04.
Ideas? Suggestions?
dan
======================================
r...@www:/# /etc/init.d/networking restart
* Reconfiguring network interfaces...
/etc/network/interfaces:14: interface lo declared allow-auto twice
ifdown: couldn't read interfaces file "/etc/network/interfaces"
/etc/network/interfaces:14: interface lo declared allow-auto twice
ifup: couldn't read interfaces file "/etc/network/interfaces"
[fail]
======================================
r...@www:/# cat /etc/network/interfaces
# This configuration file is auto-generated.
# WARNING: Do not edit this file, otherwise your changes will be lost.
# Please edit template /etc/network/interfaces.template instead.
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0
broadcast 127.255.255.255
up ip route replace 127.0.0.0/8 dev lo
# Auto generated interfaces
auto lo
iface lo inet loopback
auto venet0
iface venet0 inet static
address 127.0.0.1
netmask 255.255.255.255
broadcast 0.0.0.0
up route add -net 192.0.2.1 netmask 255.255.255.255 dev venet0
up route add default gw 192.0.2.1
auto venet0:0
iface venet0:0 inet static
address 192.168.1.237
netmask 255.255.255.255
broadcast 0.0.0.0
=========================================
_______________________________________________
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users