Ip route inactive (vxlan evpn on eve-ng)

VyOS 1.4-rolling-202303170317

vyos@leaf-1:~$ show ip route 192.168.10.6
Routing entry for 192.168.10.6/32
  Known via "bgp", distance 200, metric 0
  Last update 00:17:30 ago
    172.16.1.25 inactive, weight 1
    172.16.2.25 inactive, weight 1

vyos@leaf-1:~$ show ip bgp summary

IPv4 Unicast Summary (VRF default):
BGP router identifier 192.168.10.1, local AS number 65000 vrf-id 0
BGP table version 85
RIB entries 39, using 7488 bytes of memory
Peers 2, using 1448 KiB of memory
Peer groups 1, using 64 bytes of memory

Neighbor        V         AS   MsgRcvd   MsgSent   TblVer  InQ OutQ  Up/Down State/PfxRcd   PfxSnt Desc
172.16.1.2      4      65000        83        46        0    0    0 00:19:45           17        3 N/A
172.16.2.2      4      65000        79        42        0    0    0 00:19:45           17        3 N/A

Total number of neighbors 2

if restart all bgp all routes go active

vyos@leaf-1:~$ show ip route 192.168.10.6
Routing entry for 192.168.10.6/32
  Known via "bgp", distance 200, metric 0, best
  Last update 00:00:10 ago
    172.16.1.25 (recursive), weight 1
  *   172.16.1.2, via eth1, weight 1
      172.16.1.2, via eth1 (duplicate nexthop removed), weight 1
  *   172.16.2.2, via eth2, weight 1
  * 172.16.2.25 inactive, weight 1

and secong problem
interfaces vxlan not use source-address from dummy intefice.

not all leaf get proper outpute show evpn mac vni all
first leaf use source-address from dummy intefice, second leaf not

all leaf configured
set interfaces vxlan vxlanXXXXX source-address ‘dum0_ip_address_192.168.10.X’

vyos@leaf-1:~$show evpn mac  vni all
Flags: N=sync-neighs, I=local-inactive, P=peer-active, X=peer-proxy
MAC               Type   Flags Intf/Remote ES/VTEP            VLAN  Seq #'s
00:50:79:xx:xx:0e remote       192.168.10.6                         0/0
00:50:79:xx:xx:09 local        eth3                                 0/0

vyos@leaf-2:~$show evpn mac  vni all
Flags: N=sync-neighs, I=local-inactive, P=peer-active, X=peer-proxy
MAC               Type   Flags Intf/Remote ES/VTEP            VLAN  Seq #'s
00:50:79:xx:xx:0b remote       172.16.1.13                          0/0
00:50:79:xx:xx:0a local        eth3                                 0/0

Hi, @Rost can you please share your configurations?

leaf_set_30.txt (7.7 КБ)
spine_set_30.txt (2.5 КБ)

@Rost and your eve-ng lab diagram please

eve-diag

Hello again @Rost I have checked your configuration in my lab VyOS 1.4-rolling-202303170317
About the first problem (ip route inactive). It seems working in your configuration. I have checked

Here is output:
vyos@leaf-1:~$ show ip route 192.168.10.6
Routing entry for 192.168.10.6/32
Known via “bgp”, distance 200, metric 0, best
Last update 00:55:10 ago
172.16.2.25 (recursive), weight 1

  • 172.16.2.2, via eth2, weight 1

vyos@vyos:~$ show ip route 192.168.10.1
Routing entry for 192.168.10.1/32
Known via “bgp”, distance 200, metric 0, best
Last update 00:56:02 ago
172.16.2.1 (recursive), weight 1

  • 172.16.2.22, via eth2, weight 1

Please check connection inside your lab or change interface (for example use eth0 in spine routers)

I don’t know what’s going on with BGP in my lab, ipv4-unicast is extremely unstable, constant problems with “inactive” in route table.
II changed part of the lab and used ospf (with point-to-point link /31), now all ipv4 routing looks great and stable.

vyos@leaf-1:~$ show ip route 192.168.10.6
Routing entry for 192.168.10.6/32
  Known via "ospf", distance 110, metric 20, best
  Last update 03:23:27 ago
  * 172.16.1.0, via eth1, weight 1
  * 172.16.2.0, via eth2, weight 1

vyos@leaf-6:~$ show ip route 192.168.10.1
Routing entry for 192.168.10.1/32
  Known via "ospf", distance 110, metric 20, best
  Last update 03:33:32 ago
  * 172.16.1.10, via eth1, weight 1
  * 172.16.2.10, via eth2, weight 1

and i test my main problem with vxlan

leaf-1
set interfaces vxlan vxlan10100 source-address '192.168.10.1'
leaf-6
set interfaces vxlan vxlan10100 source-address '192.168.10.6'

vyos@leaf-1:~$ show evpn mac vni all
VNI 10100 #MACs (local and remote) 2
Flags: N=sync-neighs, I=local-inactive, P=peer-active, X=peer-proxy
MAC               Type   Flags Intf/Remote ES/VTEP            VLAN  Seq #'s
00:50:79:66:68:0e remote       172.16.1.11 ???(where is 192.168.10.6)  0/0
00:50:79:66:68:09 local        eth3                                 0/0

vyos@leaf-6:~$ show evpn mac vni all
VNI 10100 #MACs (local and remote) 2
Flags: N=sync-neighs, I=local-inactive, P=peer-active, X=peer-proxy
MAC               Type   Flags Intf/Remote ES/VTEP            VLAN  Seq #'s
00:50:79:66:68:0e local        eth3                                 0/0
00:50:79:66:68:09 remote       172.16.1.1  ? (not  192.168.10.1)    0/0

leaf-1,6.txt (3.4 КБ)

I’m sorry if I made the topic wrong. Seems like this thread should be closed. BGP in my lab with vyos never worked properly, I switched to ospf for underlay. I will describe the problem with vxlan in a new created topic. There I will try to describe the configuration and topology as much as possible.