openvswitch (2.10.0+2018.08.28+git.8ca7c82b7d+ds1-13) UNRELEASED; urgency=medium
* Some fixups in debian/ifupdown.sh to allow setting-up the MTU.
+ * Document how to do Bond + Bridge + VLAN + MTU.
-- Thomas Goirand <zigo@debian.org> Mon, 24 Jun 2019 08:53:33 +0200
ifup --allow=ovs $list_of_bridges
ifdown --allow=ovs $list_of_bridges
+ex 9: Bond + Bridge + VLAN + MTU
+
+allow-bond0 eth2
+iface eth2 inet manual
+ ovs_type OVSPort
+ ovs_bonds bond0
+ ovs_mtu 9000
+
+# Interface eth3
+#auto eth3
+allow-bond0 eth3
+iface eth3 inet manual
+ ovs_type OVSPort
+ ovs_bonds bond0
+ ovs_mtu 9000
+
+# Interface bond0
+auto bond0
+allow-br-ex bond0
+iface bond0 inet manual
+ ovs_bridge br-ex
+ ovs_type OVSBond
+ ovs_bonds eth2 eth3
+ ovs_options bond_mode=balance-tcp lacp=active other_config:lacp-time=fast
+ ovs_mtu 9000
+ up ifup eth2
+ up ifup eth3
+ up ovs-vsctl set Interface ${IFACE} mtu_request=${IF_OVS_MTU}
+
+# Interface vlan81
+auto vlan871
+allow-br-ex vlan81
+iface vlan81 inet static
+ ovs_type OVSIntPort
+ ovs_bridge br-ex
+ ovs_options tag=81
+ ovs_extra set interface ${IFACE} external-ids:iface-id=$(hostname -s)-${IFACE}-vif
+ ovs_mtu 9000
+ address 192.168.100.2
+ network 192.168.100.0
+ netmask 255.255.255.0
+ broadcast 192.168.100.255
+ gateway 192.168.100.1
+
+# Interface br-ex
+auto br-ex
+allow-ovs br-ex
+iface br-ex inet manual
+ ovs_type OVSBridge
+ ovs_ports bond0 vlan81
+ ovs_mtu 9000
+
+
Notes on dependencies:
---------------------