[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openvswitch-discuss
Subject:    [ovs-discuss] Bonded port with VLAN trunks
From:       martin.matejek () fit ! cvut ! cz (=?ISO-8859-2?Q?Martin_Mat=ECjek?=)
Date:       2014-03-31 20:49:16
Message-ID: 5339D4CC.8070102 () fit ! cvut ! cz
[Download RAW message or body]

Hi list,

I'm trying to set bonding on two physical NIC's with designated VLAN
trunks. So far I haven't found any useful documentation about how to get
into vSwitch, just few scattered blog posts and HOWTO's. I got farthest
by following steps in this blogpost
(http://blog.scottlowe.org/2012/10/19/link-aggregation-and-lacp-with-open-vswitch/)
and
this post
(http://comments.gmane.org/gmane.network.openvswitch.devel/3057). But
now I'm confused how to achieve bonding with VLAN trunks, although I
feel that I'm missing just few small steps.

So far I tried these steps, but I can't ping anything.

ovs-vsctl add-br ovsbr0
ovs-vsctl add-bond ovsbr0 bond0 enp2s0f0 enp2s0f1 trunks=34,68

ip a a 1.2.3.4/24 dev ovsbr0

(IP address altered)

After a lot of reading I noticed that in every tutorial I found they
either create separate port for each VLAN and assign tag to it or
doesn't bother to assign IP address to bond0 interface, just whole
bridge. Are these trunks property of bond port or whole bridge?

What is the point of assigning VLAN trunks to bond0 if I can create
separate port for each VLAN?

Martin


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3070 bytes
Desc: Elektronicky podpis S/MIME
URL: <http://openvswitch.org/pipermail/discuss/attachments/20140331/a4a77b07/attachment.bin>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic