SCIENTIFIC-LINUX-USERS Archives

September 2012

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Vladimir Mosgalin <[log in to unmask]>
Reply To:
Vladimir Mosgalin <[log in to unmask]>
Date:
Wed, 26 Sep 2012 00:00:27 +0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (46 lines)
Hi Nico Kadel-Garcia!

 On 2012.09.25 at 15:23:41 -0400, Nico Kadel-Garcia wrote next:

> On Mon, Sep 24, 2012 at 7:57 PM, Paul Robert Marino <[log in to unmask]> wrote:
> > Don't focus on the boonding its transparent once configured.
> > Treat the bonded interface bondx like it was a ethx and the guides will make
> > sense.
> > I beleave off the top of my head the answer is apply the bridge to the vlan
> > interface unless you want the vlan tags to go to the vms and do 802.1Q on
> > the vms. I know running 802.1Q to a vm sounds crazy but I've seen it done to
> 
> "Off the top of my head the answer is apply the bridge" is not
> helpful. I can google as well as the next engineer, better than most.
> I need a precise answer, please. What do I need to tweak in
> /etc/sysconfig/network-scripts/ifcfg-bond0.vlan1 to enable it not
> merely as a VLAN, but as a bridge suitable for KVM virtualization? If
> I'm forced to use the ifcfg-bond0 device as the KVM bridge, I'll be
> forced to set up the VLAN configurations in the guest VM's and
> that..... causes real adventures for kickstart and anaconda.

I don't think there should be any serious problem if you add bond. Here
is how vlan+bridge for kvm works, for example:
$ cat ifcfg-eth0.2 
DEVICE="eth0.2"
ONBOOT="yes"
TYPE="Ethernet"
BRIDGE=br0v2
VLAN=yes

$ cat ifcfg-br0v2
TYPE=Bridge
DEVICE=br0v2
SLAVE=eth0.2
BOOTPROTO="static"
IPADDR=10.77.7.28
NETMASK=255.255.255.0


You probably just add vlan to bonded interface and then use it as
bridge.

-- 

Vladimir

ATOM RSS1 RSS2