Hello,

I have found various posts or articles regarding using a Linux Bond with a Open vSwitch is not a good idea but I don't couldn't fine definite information saying don't do this.

Here is our current configuration; should we be mixing Linux Bonded VLAN interface with Open vSwitch interfaces?


[root@ network-scripts]# cat ifcfg-bond0
DEVICE=bond0
BONDING_OPTS="mode=4 miimon=100 lacp_rate=1"
BOOTPROTO=none
NOZEROCONF="yes"
_ONBOOT_=True
MTU=9000

[root@ network-scripts]# cat ifcfg-bond0.1610 
DEVICE=bond0.1610
BOOTPROTO=static
IPADDR=172.16.20.24
NETMASK=255.255.255.0
NOZEROCONF="yes"
_ONBOOT_="yes"
TYPE=Ethernet
VLAN="yes"

[root@ network-scripts]# cat ifcfg-bond0.1611 
DEVICE=bond0.1611
BOOTPROTO=static
IPADDR=172.16.21.24
NETMASK=255.255.255.0
NOZEROCONF="yes"
_ONBOOT_="yes"
TYPE=Ethernet
VLAN="yes"

[root@ network-scripts]# cat ifcfg-bond0.1612
DEVICE=bond0.1612
DEVICETYPE=ovs
NM_CONTROLLED="no"
NOZEROCONF="yes"
_ONBOOT_="yes"
OVS_BRIDGE=br-ex
TYPE=OVSPort
VLAN="yes"

[root@ network-scripts]# cat ifcfg-bond0.1613
DEVICE=bond0.1613
BOOTPROTO=static
IPADDR=172.16.23.24
NETMASK=255.255.255.0
NOZEROCONF="yes"
_ONBOOT_="yes"
TYPE=Ethernet
VLAN="yes"

[root@ network-scripts]# cat ifcfg-bond0.1614
DEVICE=bond0.1614
NOZEROCONF="yes"
VLAN="yes"
IPADDR=172.16.24.24
NETMASK=255.255.255.0
BOOTPROTO=static
TYPE=Ethernet
_ONBOOT_="yes"


[root@ network-scripts]# ovs-vsctl show
720e97c5-cfbd-495c-8501-55b1cf81163a
    Bridge br-tun
        Port br-tun
            Interface br-tun
                type: internal
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
       ...
    Bridge br-ex
        Port phy-br-ex
            Interface phy-br-ex
        Port "bond0.1612"
            Interface "bond0.1612"
        Port br-ex
            Interface br-ex
                type: internal
    Bridge br-int
        fail_mode: secure
        Port br-int
            Interface br-int
                type: internal
        Port int-br-ex
            Interface int-br-ex
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
    ovs_version: "2.1.3"




_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to