| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	
		
		
			| Re: Ethernet bonding with bridge device on CentOS 5.3 [message #37890 is a reply to message #37862] | 
			Fri, 30 October 2009 10:45   | 
		 
		
			
				
				
				
					
						  
						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& 
		
		
		
 |  
	| 
		
	 | 
 
 
 |