Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 23620

General • VxLAN duplicate MACs in FDB

$
0
0
Dear all,

i have set up two RB3011UiAS to interconnect two locations via VxLAN (transporting a total of 4 VLANs). As per the tutorial I added the VxLAN interface as bridge member port. Apparently because of this, I get several MAC duplicates in /interface vxlan fdb and a randomly occuring bridge: tx loop on interface (1)

If I remove the VxLAN interface from the bridge the duplicates are gone (but of course the VLANs are not reachable then). The setup is as follows:
(sfp1 is the Trunk Port carrying all the VLANs)

Router 1
Code:
/interface vlanadd comment="VLAN MGMT-SWITCHES" interface=bridge name=vlan1401 vlan-id=1401add comment="VLAN MGMT-WLAN" interface=bridge name=vlan1404 vlan-id=1404add comment="VLAN GUESTWL" interface=bridge name=vlan1500 vlan-id=1500
Code:
/interface vxlanadd comment="VxLAN-Tunnel R1 <-> R2" local-address=192.168.7.30 mac-address=4A:26:60:3C:E5:FF name=vxlan1 port=8472 vni=10 vrf=main vteps-ip-version=ipv4/interface vxlan vtepsadd interface=vxlan1 remote-ip=172.16.1.2
Code:
/interface bridge vlanadd bridge=bridge tagged=sfp1,vxlan1,bridge vlan-ids=1401add bridge=bridge tagged=sfp1,vxlan1,bridge vlan-ids=1404add bridge=bridge tagged=sfp1,vxlan1,bridge vlan-ids=1500
Code:
/interface bridge portadd bridge=bridge comment=defconf ingress-filtering=no interface=ether2add bridge=bridge comment=defconf ingress-filtering=no interface=ether3add bridge=bridge comment=defconf ingress-filtering=no interface=ether4add bridge=bridge comment=defconf ingress-filtering=no interface=ether5add bridge=bridge comment=defconf ingress-filtering=no interface=ether6add bridge=bridge comment=defconf ingress-filtering=no interface=ether7add bridge=bridge comment=defconf ingress-filtering=no interface=ether8add bridge=bridge comment=defconf ingress-filtering=no interface=ether9add bridge=bridge comment=defconf ingress-filtering=no interface=ether10add bridge=bridge comment=defconf ingress-filtering=no interface=sfp1add bridge=bridge interface=vxlan1
Router 2
Code:
/interface vlanadd comment="VLAN MGMT-SWITCHES" interface=bridge name=vlan1401 vlan-id=1401add comment="VLAN MGMT-WLAN" interface=bridge name=vlan1404 vlan-id=1404add comment="VLAN GUESTWL" interface=bridge name=vlan1500 vlan-id=1500
Code:
/interface vxlanadd comment="VxLAN-Tunnel R2 <-> R1" local-address=172.16.1.2 mac-address=8A:56:15:A2:D3:00 name=vxlan1 port=8472 vni=10 vrf=main vteps-ip-version=ipv4/interface vxlan vtepsadd interface=vxlan1 remote-ip=192.168.7.30
Code:
/interface bridge vlanadd bridge=bridge tagged=bridge,sfp1,vxlan1,ether2 vlan-ids=1401add bridge=bridge tagged=bridge,sfp1,vxlan1,ether2 vlan-ids=1404add bridge=bridge tagged=bridge,sfp1,vxlan1,ether2 vlan-ids=1500
Code:
/interface bridge portadd bridge=bridge comment=defconf ingress-filtering=no interface=ether2add bridge=bridge comment=defconf ingress-filtering=no interface=ether3add bridge=bridge comment=defconf ingress-filtering=no interface=ether4add bridge=bridge comment=defconf ingress-filtering=no interface=ether5add bridge=bridge comment=defconf ingress-filtering=no interface=ether6add bridge=bridge comment=defconf ingress-filtering=no interface=ether7add bridge=bridge comment=defconf ingress-filtering=no interface=ether8add bridge=bridge comment=defconf ingress-filtering=no interface=ether9add bridge=bridge comment=defconf ingress-filtering=no interface=ether10add bridge=bridge comment=defconf ingress-filtering=no interface=sfp1add bridge=bridge interface=vxlan1
Examples for duplicates:

R2
Code:
 1 remote-ip=0.0.0.0 mac-address=4A:26:60:3C:E5:FF interface=vxlan1  2 remote-ip=192.168.7.30 mac-address=4A:26:60:3C:E5:FF interface=vxlan1 
R1
Code:
14 remote-ip=0.0.0.0 mac-address=9C:1D:58:40:56:1B interface=vxlan1 15 remote-ip=172.16.1.2 mac-address=9C:1D:58:40:56:1B interface=vxlan1 
I guess it has to do with the bridge, does anyone have a pointer?

Thank you very much and best regards,


Alex

Statistics: Posted by almi01 — Thu Dec 28, 2023 11:08 am



Viewing all articles
Browse latest Browse all 23620

Trending Articles