Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Physical to container

6 bytes added, 07:26, 26 May 2007
Disable Old Physical Interface
[code]
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
# automatically added when upgrading
auto lo eth0 eth0:1 eth0:2
# eth0:2 eth0:3
iface lo inet loopback
iface eth0 inet dhcp
# address 10.0.0.4
# netmask 255.0.0.0
# broadcast 10.0.0.255
iface eth0:1 inet static
address 10.0.0.4
netmask 255.0.0.0
broadcast 255.255.255.255
iface eth0:2 inet static
address 192.168.2.250
netmask 255.255.255.0
24
edits