[ovs-discuss] Learning OVS - Bonding / LACP on Ubuntu
Scott Lowe
scott.lowe at scottlowe.org
Thu Jul 9 02:30:32 UTC 2015
Please don't drop the list. :-)
I *think* that setting native-untagged is what you need, though it's been a while since I used this option.
--
Scott
Sent from my mobile device
> On Jul 8, 2015, at 2:41 PM, yas nak <yass524 at yahoo.com.au> wrote:
>
> Scott
>
> Yes you were correct - I change switch to native vlan2 and traffic is flowing.
>
> To make it work with native vlan=1. Is the native-untagged option what I need to use?
>
> Do I need to specify this on both bond and vlan1?
>
> Thanks
>
> Yas
>
>
>
> On Thursday, 9 July 2015, 2:10, Scott Lowe <scott.lowe at scottlowe.org> wrote:
>
>
> My guess is that the Cisco switch is expecting traffic on VLAN 1 to be untagged since it is the native VLAN. Try setting a different native VLAN on the interfaces on the Cisco switch to see if that helps.
>
> --
> Scott
>
> Sent from my mobile device
>
>> On Jul 8, 2015, at 5:32 AM, yas nak <yass524 at yahoo.com.au> wrote:
>>
>> Hi Forum
>>
>> I am really new to OVS and trying to understand. I am trying to get LACP bonding to work on Ubuntu 14.04 and cisco switch.
>>
>> I have configured the cisco 2960CG switch with the following config
>> interface Port-channel1
>> switchport mode trunk
>> !
>> interface GigabitEthernet0/1
>> switchport mode trunk
>> channel-protocol lacp
>> channel-group 1 mode active
>> !
>> interface GigabitEthernet0/2
>> switchport mode trunk
>> channel-protocol lacp
>> channel-group 1 mode active
>>
>> On my Ubuntu x64 14.04.02 server I have installed openvswitch-switch. I have configured /etc/network/interfaces as
>>
>>
>> auto lo
>> iface lo inet loopback
>>
>> auto p2p1
>> iface p2p1 inet manual
>>
>> auto p3p1
>> iface p3p1 inet manual
>> #
>> # OVS Bridge
>> #
>> auto vmbr0
>> iface vmbr0 inet manual
>> ovs_type OVSBridge
>> ovs_ports bond0 vlan1
>>
>> allow-vmbr0 bond0
>> iface bond0 inet manual
>> ovs_bridge vmbr0
>> ovs_type OVSBond
>> ovs_bonds p2p1 p3p1
>> ovs_options bond_mode=balance-tcp lacp=active other_config:lacp-time=fast other_config:trunks=1
>>
>> allow-vmbr0 vlan1
>> iface vlan1 inet dhcp
>> ovs_type OVSIntPort
>> ovs_bridge vmbr0
>> ovs_options tag=1
>>
>> I can see using tcpdump -i p2p1 that the DHCP request is being responded on my PC but VLAN1 never gets an IP assigned to the interface VLAN1
>>
>> Could someone point me towards what I have configured incorrectly?
>>
>> Thanks
>>
>> Yas
>> _______________________________________________
>> discuss mailing list
>> discuss at openvswitch.org
>> http://openvswitch.org/mailman/listinfo/discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20150708/c4fb2332/attachment-0002.html>
More information about the discuss
mailing list