OpenVZ Forum


Home » General » Support » Ethernet bonding with bridge device on CentOS 5.3
Re: Ethernet bonding with bridge device on CentOS 5.3 [message #37890 is a reply to message #37862] Fri, 30 October 2009 10:45 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hello Batfastad,

Quote:

1) So when I create my bridge I add all my veth<VEID>.x devices to it, and bond0 device.
But do I need to also add eth0 and eth1 to the bridge?
Or by adding bond0 I guess I sort of already add eth0 and eth1 anyway.


Yes, you're right. The bond0 device should only be added.

Quote:

What do I use for <ifname>?
Should I use bond0?


You may use whatever you want. It's just for the sake of your convenience. I suppose that eth* would be more convenient for you.

Quote:

How do I tell one of the containers to get its IP address from our DHCP server rather than specifying it in the --netif_add syntax above?


Of course, you don't have to specify IP address in the --netif_add command and obtain it via DHCP server. It may be done in the same way as on a standalone computer.
http://forum.openvz.org/index.php?t=tree&th=7171&
 
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: iptables v1.3.5: can't initialize iptables table `mangle': Table does not exist (do you need to insm
Next Topic: Has ext4 (prod) been backported to 2.6.27?
Goto Forum:
  


Current Time: Wed Aug 14 01:26:05 GMT 2024

Total time taken to generate the page: 0.02818 seconds