Dear Experts: I have RHEL KVM host with both OVS 2.50/2.31 (on different systems) but experienced the VM interface has a large forward entries. I thought VM interface should be access port and with single VM MAC in FDB. Is this a bug in OVS? If not, please let me what is configured wrong.
Thanks a lot! Here are my configuration: # ovs-vsctl show Bridge "cs-eno1" Port "vnet5" Interface "vnet5" Port "cs-eno1" Interface "cs-eno1" type: internal Port "vnet3" Interface "vnet3" Port "vnet8" Interface "vnet8" Port "vnet4" Interface "vnet4" Port conf Interface conf type: internal Port "eno1" Interface "eno1" Port "vnet1" Interface "vnet1" Port "vnet2" Interface "vnet2" Port "vnet0" Interface "vnet0" ovs_version: "2.5.0" Both vnet0 and vnet1 ports are on cs-eno1 vswitch. Eno1 is physical interface on server. # ovs-dpctl show system@ovs-system: lookups: hit:604011543 missed:98004401 lost:766 flows: 223 masks: hit:3939515634 total:18 hit/pkt:5.61 port 0: ovs-system (internal) port 1: vnet0 port 2: cs-eno4 (internal) port 3: eno4 port 4: vnet1 port 5: conf (internal) port 6: vnet2 port 7: eno1 port 8: cs-eno1 (internal) port 9: vnet4 port 10: vnet3 port 11: vnet5 port 1 is vnet0; port 11 is vnet5 # virsh domiflist 190 Interface Type Source Model MAC ------------------------------------------------------- vnet0 bridge cs-eno1 virtio 52:54:00:83:c3:9b Port 1 is vnet0 on MAC 52:54:00:83:c3:9b # virsh domiflist 197 Interface Type Source Model MAC ------------------------------------------------------- vnet1 bridge cs-eno1 virtio 52:54:00:85:0e:04 Port 11 is vnet1 on MAC 52:54:00:85:0e:04 # virsh net-dumpxml cs-eno1 <network connections='6'> <name>cs-eno1</name> <uuid>5e98f940-07c5-479d-99ee-1fa353f1d9f9</uuid> <forward mode='bridge'/> <bridge name='cs-eno1'/> <virtualport type='openvswitch'/> <portgroup name='cs-eno1-trunk'> </portgroup> </network> Virsh network cs-eno1 is a trunk portgroup in bridge forward mode. # ovs-appctl fdb/show cs-eno1 port VLAN MAC Age ========================== 1 0 be:c8:a0:e0:03:32 290 1 0 be:c8:a0:e0:03:33 290 1 0 00:50:56:88:bc:7c 259 1 1304 32:0b:a8:60:01:4e 230 ............. Many FDB entries on port 1 # ovs-appctl fdb/show cs-eno1 | grep 52:54:00:85:0e:04 Port VLAN MAC Age ============================= 11 1692 52:54:00:85:0e:04 1 1 0 52:54:00:85:0e:04 1 11 2253 52:54:00:85:0e:04 1 As the same MAC address gets heard on 2 different VM ports, which causes communication issue.
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss