configuring bonded interfaces in an openvz guest container?

  • Thread starter Thread starter joeblow
  • Start date Start date
J

joeblow

Guest
I'm in the process of transferring some physical RHEL5 physical servers to openvz containers on a testbed proxmox box. (It's proxmox 2beta3, but this is really an openvz question).

The goal, of course, is minimal alteration in the p2v transfer process.

The physical servers use bonding, such that:

bond0 bonds eth0 and eth2
bond1 bonds eth1 and eth3

I have created the eth0,eth1,eth2 and eth3 container interfaces with the appropriate MACs (the proxmox subnet is on a 'protected' subnet/bridge, so this shouldn't interfere with the real boxes).

On a given container, once I've transferred all the files from the physical box, and started the container, the bonding should 'just work', right? Or do I need to mod the container networking?

Does the dependency on kernel module 'bonding.ko' (iirc) preclude configuring bonded interfaces in a container?

Also, I've looked at

wiki.openvz.org/Bonding

Does this just apply to the host physical server?

thanks!