Hi All I have two bond interfaces namely, bond0 and bond1. bond0 has two ethernet interfaces associated with it and bond1 also has two ethernet interfaces associated with it. Now i create a bridge interface namely br20 (20 being the VLAN) and assign it a IP Address , subnet mask and the default gateway. I will use this IP to reach the server. So it is like a management bridge for me. Secondly this bridge is associated with the bond0.20 Can i create another bridge namely cr20 ( 20 being the VLAN ) on the bond1 interface ? This bridge does not have any ip address associated with it. I just want to use it for guest VMs. Is this the correct way to configure ? Thanks Jatin
----- Original Message ----- | Hi All | | I have two bond interfaces namely, bond0 and bond1. bond0 has two | ethernet interfaces associated with it and bond1 also has two ethernet | interfaces associated with it. | | Now i create a bridge interface namely br20 (20 being the VLAN) and | assign it a IP Address , subnet mask and the default gateway. I will use | this IP to reach the server. So it is like a management bridge for me. | Secondly this bridge is associated with the bond0.20 | | Can i create another bridge namely cr20 ( 20 being the VLAN ) on the | bond1 interface ? This bridge does not have any ip address associated | with it. I just want to use it for guest VMs. | | Is this the correct way to configure ? | | Thanks | Jatin We create bonds on the interfaces, VLANs on the bonds and then bridges on the VLANs. Works just fine here. I don't think it matters much if you do it your way. -- James A. Peltier IT Services - Research Computing Group Simon Fraser University - Burnaby Campus Phone : 604-365-6432 Fax : 778-782-3045 E-Mail : jpeltier at sfu.ca Website : http://www.sfu.ca/itservices Twitter : @sfu_rcg Powering Engagement Through Technology
On 07/08/2015 11:36 PM, Jatin Davey wrote:> Now i create a bridge interface namely br20 (20 being the VLAN) and > assign it a IP Address , subnet mask and the default gateway. I will use > this IP to reach the server. So it is like a management bridge for me. > Secondly this bridge is associated with the bond0.20 > > Can i create another bridge namely cr20 ( 20 being the VLAN ) on the > bond1 interface ? This bridge does not have any ip address associated > with it. I just want to use it for guest VMs. > > Is this the correct way to configure ?From what you've written, that will work. A couple of notes, however: * I don't see any reason for the existence of br20. If all of your VMs are going to be attached to cr20 (on bond1.20), you could simply assign the host OS IP to bond0.20. * If you're not already aware, not all bonding modes work well with VMs. Modes 1, 2 and 4 definitely work (although mode 1 can theoretically lose some of the packets destined for VMs in the event of a failover). HTH -- =======================================================================Ian Pilcher arequipeno at gmail.com -------- "I grew up before Mark Zuckerberg invented friendship" -------- ========================================================================