netdev_add kills wanpipe ?? [message #38220] |
Mon, 30 November 2009 07:32 |
geejay
Messages: 11 Registered: May 2008
|
Junior Member |
|
|
Hello,
I am trying to use a Sangoma A104D E1 port in a container giving the container exclusive access to the port. However when doing
vzctl set 220 --netdev_add w1g1 --save
vzctl set 220 --netdev_add w1g2 --save
the device is killed.
Before adding them with netdev the devices look as following:
w1g1 Link encap:Point-to-Point Protocol
UP POINTOPOINT NOARP MTU:4112 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:18 Memory:f8f20000-f8f21fff
w1g2 Link encap:Point-to-Point Protocol
UP POINTOPOINT NOARP MTU:1216 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:18 Memory:f8f20000-f8f21fff
The Sangoma API uses raw sockets. So I suppose this should work in OpenVZ similar to TUN/TAP devices. But I cant figure out how to do it.
Just to see whether it helps I added capabilities to the container
CAPABILITY="NET_ADMIN:on NET_RAW:on SYS_MODULE:on SYS_RAWIO:on "
unfortunately it doesnt.
Anyone any hints ?
I can give openvz developers access to the machine in case someone needs this.
Thank you for your help.
Geejay
|
|
|