In an EVPN-VXLAN bridged overlay where the Layer 3 gateway is an external device, such as a firewall or an SD-WAN router, the switch may learn the gateway IP address of one VLAN inside the MAC-IP table of a different VLAN. The switch then advertises this binding to the rest of the fabric in an EVPN Type 2 route.
Example from the switch connected to the external gateway:
user@switch> show ethernet-switching mac-ip-table vlan-name <vlan-a-name> | match <gateway-mac>
<vlan-b-gateway-ip> <gateway-mac> DL,K,AD <interface>
<vlan-a-gateway-ip> <gateway-mac> DL,K,AD <interface>
Example from a remote leaf switch:
user@leaf> show route table bgp.evpn.0 evpn-mac-address <gateway-mac>
2:<local-vtep-ip>:1::<vlan-a-vni>::<gateway-mac>::<vlan-b-gateway-ip>/304 MAC/IP
2:<local-vtep-ip>:1::<vlan-a-vni>::<gateway-mac>::<vlan-a-gateway-ip>/304 MAC/IP
The external gateway sends ARP packets on VLAN A using its VLAN B IP address as the sender IP. VLAN A has no IRB on the fabric, so the switch learns the MAC-IP binding from these ARP packets exactly as received and advertises it to the fabric.
set forwarding-options analyzer <analyzer-name> input ingress interface <interface>
set forwarding-options analyzer <analyzer-name> output interface <free-port>
Use the Wireshark display filter arp.src.proto_ipv4 == <vlan-b-gateway-ip>. The target IP in the ARP packet shows the device in VLAN A that triggers it.
++ If the device in VLAN A uses the VLAN B gateway IP for a service (DHCP, DNS, NTP), change it to the VLAN A gateway IP.
++ Otherwise, check with the gateway vendor why it uses its VLAN B IP as the ARP sender on VLAN A.
user@switch> clear ethernet-switching mac-ip-table vlan-name <vlan-a-name> <gateway-mac>