[Users] Network problem

Rachid Abdoun rachid.abdoun at heig-vd.ch
Fri Jun 30 20:52:53 EDT 2006


Hi list! I've got a problème while creating a virtual network... I'd  
like to create a bridge between two VPS. The VPS aren't attached on  
physical network it's just for testing...

ifconfig on hardware node :

phoenix:/vserver/openvz# ifconfig eth0
eth0      Lien encap:Ethernet  HWaddr 00:0A:E4:53:A1:85
           inet adr:192.168.1.111  Bcast:192.168.1.255  Masque: 
255.255.255.0
           adr inet6: fe80::20a:e4ff:fe53:a185/64 Scope:Lien
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:5901 errors:0 dropped:0 overruns:0 frame:0
           TX packets:3188 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 lg file transmission:1000
           RX bytes:548867 (536.0 KiB)  TX bytes:462123 (451.2 KiB)
           Interruption:10

I'd like to create a virtual network but i've got this error :

phoenix:/vserver/openvz# vzctl start 101
Starting VPS ...
VPS is mounted
Adding IP address(es): 192.168.2.1
Unable to add IP 192.168.2.1: Inappropriate ioctl for device
Unable to del IP 192.168.2.1: Inappropriate ioctl for device
VPS start failed
Stopping VPS ...
VPS was stopped
VPS is unmounted
phoenix:/vserver/openvz# vzctl start 102
Starting VPS ...
VPS is mounted
Adding IP address(es): 192.168.2.2
Unable to add IP 192.168.2.2: Inappropriate ioctl for device
Unable to del IP 192.168.2.2: Inappropriate ioctl for device
VPS start failed
Stopping VPS ...
VPS was stopped
VPS is unmounted
phoenix:/vserver/openvz#

P.S: i have commented setup_net() in /etc/init.d/vz




More information about the Users mailing list