There is a fantastic blog on this.
Check out the part config snippet 3: redistribute host route.
Original Message:
Sent: Sep 15, 2023 08:28 AM
From: Sudiptapaul
Subject: VxLAN-EVPN - redistribute host-route not working
Thanks a lot for reply. I am attaching the outputs here.
What I could see, the control plane is working with redistribute host routes but the remote side is not reachable, that means somehow the L3VNI is not working. Whereas after removing the redistribute host-route there is no entry for /32 in routing table (which is expected) but reachability is there to remote end that means L2VNI is working.
Any thoughts would be helpful.
Original Message:
Sent: Sep 11, 2023 01:45 AM
From: thomasbnc
Subject: VxLAN-EVPN - redistribute host-route not working
Hi
Could you please share a bit more information like:
- What platform / model are you using?
- What software version have you installed?
- Running-Config of "interface vxlan 1"
- Running-Config of "router bgp xxxxxx"
- Running-Config of "interface vlan 180" and "interface vlan 181"
- IP-address of the logical VTEP per VSX cluster
- Running-Config of "vrf" section where vlan180 and vlan181 are routed.
- Routing table of the respective VRF
- Output of "show bgp l2vpn evpn route-type 2" showing the MAC of the hosts in question
Thanks
Thomas
Original Message:
Sent: Sep 10, 2023 07:57 AM
From: Sudiptapaul
Subject: VxLAN-EVPN - redistribute host-route not working
We have the below topology. Leaf1A/B in sites 1 and Leaf2A/B in site 2. We have two DCI links connected like below.
Leaf1A<--VSX-->Leaf1B
| |
| |
Leaf2A<--VSX-->Leaf2B
Leafs in each site are in VSX with anycast gateway. Have configured L3 DCI with L3VNI.
The topology works fine when we REMOVE the "redistribute host-route" under evpn. We are able to reach from one vlan to another via vxlan-evpn to the other side.
evpn
arp-suppression
vlan 180
rd auto
route-target export 64xxx:180
route-target import 64xxx:180
redistribute host-route
vlan 181
rd auto
route-target export 64xxx:181
route-target import 64xxx:181
redistribute host-route
When add the redistribute host-route we are loosing the connectivity to the remote end.
In routing table we are not able to see /32 routes when redistribute host-route is removed, which is as per design, we have ARP/MAC entry for the remote end hosts.
When redistribute host-route is added then /32 routes comes back on the routing table but remote hosts does not ping.
Any idea what is the issue?