Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Physical to container

950 bytes added, 07:23, 26 May 2007
Disable Old Physical Interface: Added Centos 5, Debian, Suse ==db
Other Distros: *FIXME*
--> Centos 5: o ' system-config-network-gui ' from X is the best interface as of May 2007; the commandline variant is not as useful. --> Debian and related (Ubuntu, etc):
o Edit /etc/network/interfaces
 
[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
# network 10.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
broadcast 255.255.255.255
 
#iface eth0:3 inet static
# address 10.0.81.4
# netmask 255.255.255.0
# broadcast 255.255.255.255
[/code]
 
o You can comment out the interface, or take it out of the "auto" line(s).
 
--> Suse *Fixme if inaccurate*
 
o Use Yast
== Starting a new VE ==
24
edits