Not after I commit the “set vrf Main…” commands. Before that all seems to work just fine.
same as above
show bgp vrf all summary
BEFORE vrf config
L2VPN EVPN Summary:
BGP router identifier 192.168.122.162, local AS number 65000 VRF default vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
<netbird-hub-ip> 4 65000 8 13 0 0 0 01:54:38 Active 0 FRRouting/10.2.1
Total number of neighbors 1
show bgp vrf all summary
AFTER vrf config
L2VPN EVPN Summary:
BGP router identifier 192.168.122.162, local AS number 65000 VRF default vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
<netbird-hub-ip> 4 65000 8 13 0 0 0 01:42:32 Connect 0 FRRouting/10.2.1
Total number of neighbors 1
% No BGP neighbors found in VRF Main
show ip route vrf all
AFTER vrf config
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
VRF Main:
K>* 127.0.0.0/8 [0/0] is directly connected, Main, weight 1, 00:15:46
VRF default:
S>* 0.0.0.0/0 [210/0] via 192.168.122.1, eth0, weight 1, 00:36:57
C>* 100.100.0.0/16 is directly connected, eth10, weight 1, 00:34:49
L>* <spoke1-nebird-ip>/32 is directly connected, eth10, weight 1, 00:34:49
C>* 192.168.122.0/24 is directly connected, eth0, weight 1, 00:36:57
K * 192.168.122.0/24 [0/0] is directly connected, eth0, weight 1, 00:36:57
L>* 192.168.122.162/32 is directly connected, eth0, weight 1, 00:36:57
As soon as I commit any vrf config, my wan routing ‘breaks’. I can not get to WAN with vyos. This results in the netbird container not being able to reach the netbird server therefore losing the netbird hub-spoke connection.
Now, if I move my wan iface (eth0) to the Main vrf, I’m able to do ping 8.8.8.8 vrf Main
. However when I try from inside the Netbird container using connect container nb1
, it fails.
running ip route
inside the container shows no default route. Adding it manually does not help.