Thanks!
Only seems I still can't get traffic between PVE cluster nodes, should the IFs all list as internal type, ie. as in hypervisor internal only network, which not what I want.
I want multiple vlan traffic across my physical bonded closed network over the two ex2200 switches.
Do I need to configure the ex2200 different to allow plan tagged packets to parse?
I would think that default ex2200 port access mode would parse all packets tagged and untagged, ie. just work as a media transfer/inter-connect between my PVE cluster nodes/hypervisor nodes.
Basically the PVE hypervisor nodes only needs to be able to access vlan3 ment for Ceph traffic, all other vlans (20,30,40) are ment for VM inter-traffic only.
So what is wrong with following config, please:
# ovs-vsctl show
8f44dec6-3b92-40c5-abd3-cb901537b9b9
Bridge "vmbr1"
Port "vlan3"
tag: 3
Interface "vlan3"
type: internal
Port "vlan20"
tag: 20
Interface "vlan20"
type: internal
Port "vlan40"
tag: 40
Interface "vlan40"
type: internal
Port "vlan30"
tag: 30
Interface "vlan30"
type: internal
Port "vmbr1"
Interface "vmbr1"
type: internal
Port "bond1"
Interface "eth2"
Interface "eth1"
ovs_version: "2.3.1"
# ifconfig
bond1 Link encap:Ethernet HWaddr f2:d0:71:3f:56:5d
inet6 addr: fe80::f0d0:71ff:fe3f:565d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:9000 Metric:1
RX packets:1379 errors:0 dropped:0 overruns:0 frame:0
TX packets:105 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:102936 (100.5 KiB) TX bytes:12570 (12.2 KiB)
eth1 Link encap:Ethernet HWaddr 00:1c:c4:dd:79:70
inet6 addr: fe80::21c:c4ff:fedd:7970/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:9000 Metric:1
RX packets:690 errors:0 dropped:0 overruns:0 frame:0
TX packets:49 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:51500 (50.2 KiB) TX bytes:5996 (5.8 KiB)
eth2 Link encap:Ethernet HWaddr 00:1c:c4:dd:79:6e
inet6 addr: fe80::21c:c4ff:fedd:796e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:9000 Metric:1
RX packets:689 errors:0 dropped:0 overruns:0 frame:0
TX packets:49 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:51436 (50.2 KiB) TX bytes:5996 (5.8 KiB)
vlan3 Link encap:Ethernet HWaddr d2:94:6e:67:21:a9
inet addr:10.0.3.6 Bcast:10.0.3.255 Mask:255.255.255.0
inet6 addr: fe80::d094:6eff:fe67:21a9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:9000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:1524 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:64292 (62.7 KiB)
vlan20 Link encap:Ethernet HWaddr 3e:cd:0d:5c:18:b1
inet addr:10.20.0.6 Bcast:10.20.255.255 Mask:255.255.0.0
inet6 addr: fe80::3ccd:dff:fe5c:18b1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:578 (578.0 B)
vlan30 Link encap:Ethernet HWaddr 66:8a:66:08:32:ae
inet addr:10.30.0.6 Bcast:10.30.255.255 Mask:255.255.0.0
inet6 addr: fe80::648a:66ff:fe08:32ae/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:578 (578.0 B)
vlan40 Link encap:Ethernet HWaddr 52:00:42:a0:2f:cd
inet addr:10.40.0.6 Bcast:10.40.255.255 Mask:255.255.0.0
inet6 addr: fe80::5000:42ff:fea0:2fcd/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:578 (578.0 B)
built from these /etc/network/interfaces def.:
# vOpenSwitch configuration below:
# Bond eth1 and eth2 together
allow-vmbr1 bond1
iface bond1 inet manual
ovs_bridge vmbr1
ovs_type OVSBond
ovs_bonds eth1 eth2
# Force the MTU of the physical interfaces to be jumbo-frame capable.
pre-up ( ifconfig eth1 mtu 9000 && ifconfig eth2 mtu 9000 )
ovs_options bond_mode=balance-tcp lacp=active other_config:lacp-time=fast
mtu 9000
# Bridge for our bond and vlan virtual interfaces (our VMs will
# also attach to this bridge)
auto vmbr1
allow-ovs vmbr1
iface vmbr1 inet manual
ovs_type OVSBridge
ovs_ports bond1 vlan1 vlan3 vlan20 vlan30 vlan40
mtu 9000
# Ceph cluster communication vlan (jumbo frames)
allow-vmbr1 vlan3
iface vlan3 inet static
ovs_type OVSIntPort
ovs_bridge vmbr1
ovs_options tag=3
ovs_extra set interface ${IFACE} external-ids:iface-id=$(hostname -s)-${IFACE}-vif
address 10.0.3.6
netmask 255.255.255.0
mtu 9000
# Application Internal vlans
allow-vmbr1 vlan20
iface vlan20 inet static
ovs_type OVSIntPort
ovs_bridge vmbr1
ovs_options tag=20
ovs_extra set interface ${IFACE} external-ids:iface-id=$(hostname -s)-${IFACE}-vif
address 10.20.0.6
netmask 255.255.0.0
mtu 1500
allow-vmbr1 vlan30
iface vlan30 inet static
ovs_type OVSIntPort
ovs_bridge vmbr1
ovs_options tag=30
ovs_extra set interface ${IFACE} external-ids:iface-id=$(hostname -s)-${IFACE}-vif
address 10.30.0.6
netmask 255.255.0.0
mtu 1500
allow-vmbr1 vlan40
iface vlan40 inet static
ovs_type OVSIntPort
ovs_bridge vmbr1
ovs_options tag=40
ovs_extra set interface ${IFACE} external-ids:iface-id=$(hostname -s)-${IFACE}-vif
address 10.40.0.6
netmask 255.255.0.0
mtu 1500