Using veth device, why venet0 still generating? [message #30260] |
Mon, 19 May 2008 10:15 |
suaz
Messages: 4 Registered: May 2008
|
Junior Member |
|
|
Hi,
first of all :
linux 2.6.18 kernel x86_64
028stab053 patch and kernel configuration
vzctl 3.0.22-1dso1
vzquota 3.0.11-1dso1
OS : debian etch
VEs : all running debian (hope i forgot nothing)
Here's my problem :
I'm working with veth device instead of venet. All my VEs have a config file who look like this :
ONBOOT="yes"
# UBC parameters (in form of barrier:limit)
# Primary parameters
NUMPROC="100:100"
NUMTCPSOCK="360:360"
NUMOTHERSOCK="360:360"
VMGUARPAGES="10240:9223372036854775807"
# Secondary parameters
KMEMSIZE="6144000:6785400"
TCPSNDBUF="1720320:2703360"
TCPRCVBUF="1720320:2703360"
OTHERSOCKBUF="1126080:2097152"
DGRAMRCVBUF="262144:262144"
OOMGUARPAGES="26112:9223372036854775807"
PRIVVMPAGES="10240:11240"
# Auxiliary parameters
LOCKEDPAGES="256:256"
SHMPAGES="21504:21504"
PHYSPAGES="0:9223372036854775807"
NUMFILE="9312:9312"
NUMFLOCK="188:206"
NUMPTY="16:16"
NUMSIGINFO="256:256"
DCACHESIZE="3409920:3624960"
#Helper values
AVNUMPROC="50:50"
NUMIPTENT="200:200"
# Disk quota parameters (in form of softlimit:hardlimit)
DISKSPACE="1048576:1153024"
DISKINODES="200000:220000"
QUOTATIME="0"
# CPU fair sheduler parameter
CPUUNITS="1000"
VE_ROOT="/var/lib/vz/root/$VEID"
VE_PRIVATE="/var/lib/vz/private/$VEID"
OSTEMPLATE="debian-4.0-test"
ORIGIN_SAMPLE="vps.basic"
NAMESERVER="91.121.126.131"
DEVICES="c:10:200:rw "
CAPABILITY="NET_ADMIN:on "
#NETIF="ifname=eth0,mac=00:0C:29:85:E5:63,host_ifname=veth101.0,host_mac=00:0C:29:E5:7E:3E"
NETIF="ifname=eth0,mac=00:0C:29:05:76:28,host_ifname=veth1005.0,host_mac=00:0C:29:5C:EB:3C"
eth0 is the interface inside the VE and vethx.0 is the one on the HN.
As you can see, there's no sign of any IP_ADDRESS field in this config file as it's supposed to be regarding to this howto : http://wiki.openvz.org/Virtual_Ethernet_device in " Making a veth-device persistent" section.
But when i start vz, all my containers are well created but with venet0 device inside and on the HN.
I forgot to say that i also patched the kernel with the patch given in this topic : http://forum.openvz.org/index.php?t=msg&goto=1993& but it doesn't have anything to do with venet device (i think...).
If i made myself clear, does anyone has any idea concerning this trouble?
Thank you very much for your answers
[Updated on: Mon, 19 May 2008 10:16] Report message to a moderator
|
|
|
|
|
|
|