Bonded interface dedicated to container [message #43305] |
Mon, 22 August 2011 11:17 |
fairf4x
Messages: 1 Registered: August 2011 Location: Prague
|
Junior Member |
|
|
I have host node with following interfaces:
1 Gbit:
eth0
10 Gbit:
eth4
eth5
I need to create one container which would use eth4 and eth5 agregated together in bond0 as its only interface.
Interface eth0 will be used for management of host node.
I have created bonding device on HN:
$ ifenslave bond0 eth4 eth5
and I have dedicated this device to VE 111:
$ vzctl set 111 --netdev_add bond0 --save
It is not working as expected - I can't reach network from VE.
Host is running Debian 6.0 and there is Ubuntu 10.04 in container.
Is it possible to set up bonded interface as VE's netdev like this?
Do you have some experience with something similar?
Thanks for any hints
|
|
|