Comment 1 for bug 937259

Revision history for this message
Dominick Rivard (dominick-rivard) wrote :

Here is the difference between the initial file and the modified one.

/etc/network/interfaces when the container is created
#-------------------------------------------------------
# UNCONFIGURED INTERFACES
# remove the above line if you edit this file

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

auto eth1
iface eth1 inet dhcp
#-------------------------------------------------------

/etc/network/interfaces when it is manually modified to enable the networking connectivity
#-------------------------------------------------------
# Auto generated lo interface
auto lo
iface lo inet loopback

# Auto generated venet0 interface
auto venet0
iface venet0 inet manual
        up ifconfig venet0 up
        up ifconfig venet0 127.0.0.2
        up route add default dev venet0
        down route del default dev venet0
        down ifconfig venet0 down

auto venet0:0
iface venet0:0 inet static
        address <your_ip_address>
        netmask 255.255.255.255
#-------------------------------------------------------

Regards.