Re: bridging bonded NICs, centos6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


> De: "Bob Hoffman" <bob@xxxxxxxxxxxxxx>
> À: centos-virt@xxxxxxxxxx
> Envoyé: Mardi 25 Octobre 2011 02:44:40
> Objet:  bridging bonded NICs, centos6
> Trying to think this through, hope someone can lend a hand.
> 
> I have 3 eths I want to bond together and that seems simple enough.
> eth0,1,2 <-> bond0 , though not sure how this would be for multiple ip
> addresses needed for the virtual machines...
> perhaps eth:0, eth:1 etc....to bond0:1, bond0:2 ?
> 
> then I want to bridge to my virtual machines....
> 
> I am going to be using virtual machines, each with one ip address
> (websites) some with possibly more than one ip...
> 
> so...
> for each ip do I need to bond all three nics, go to a new bonding
> file,
> then to the bridge file for that virtual machine?
> what happens when I use two IP addresses for the same virtual machine?
> Each machine wants to use just one bridge, but will it use more than
> one?
> 
> I am pretty sure each bonding file must have an ipaddress on it...so
> perhaps
> it will be multiple eth files pointing to multiple bonding files
> pointing to single bridge files
> for each machine?
> 
> somewhat confused.
> any help appreciated.
> 
> am I even close?
> _______________________________________________
> CentOS-virt mailing list
> CentOS-virt@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos-virt


Hi Bob,

I use bonding on my Xen hypervisor and my virtual machines are in bridged mode (with VLAN).
I didn't create virtual interface (bond0:X) for my VMs, IP addresses are configured in VM (like a physical box). If you want to have multiple IPs for the same VM, you just have to create virtual interface in your VM, or if IPs are not on the same VLAN (i don't know if you use VLAN), just add another interface in your VM config file and link it to the other bridge and make network configuration for it in VM like the first one.

Hope this helps.

Regards.

Baptiste.
_______________________________________________
CentOS-virt mailing list
CentOS-virt@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos-virt



[CentOS Users]     [Linux Media]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Xfree86]     [Devices]     [Linux USB]

Powered by Linux Add to Google