I was trying to get a fully routed network for my 3 node cluster. Each one has two NICs that are bonded and pass all traffic for the time being. They are 1Gbps links and due to my lack of a 2.5 Gbps switch I opted to go with direct connections at 2.5 Gbps. Networking is not my strong suit so after looking for a few guides I found the one below. I’ve also included some output that I think can help diagnose the issue.
It is mostly working. I can ping all hosts from Node 2 and 3 but Node 1 can only ping Node 3. I have validated this is not a firewall issue. I validated the configs from FRR. Any help or advise is greatly appreciated!
This is the guide I followed:
### Node1 (problem) ###
ip route
default via 10.0.5.1 dev vmbr0 proto kernel onlink
10.0.5.0/24 dev vmbr0 proto kernel scope link src 10.0.5.2
172.17.0.0/30 dev enx00242788ac09 proto kernel scope link src 172.17.0.1
172.17.0.4/30 dev enx00242788ac16 proto kernel scope link src 172.17.0.5
172.17.0.253 nhid 24 via 172.17.0.4 dev enx00242788ac16 proto ospf metric 20
172.17.0.254 nhid 26 via 172.17.0.2 dev enx00242788ac09 proto ospf metric 20
vtysh -c "show ip ospf neighbor"
Neighbor ID Pri State Up Time Dead Time Address Interface RXmtL RqstL DBsmL
0.0.0.3 1 Full/DR 1h00m07s 37.791s 172.17.0.4 enx00242788ac16:172.17.0.5 0 0 0
0.0.0.2 1 Full/DR 1h00m01s 38.235s 172.17.0.2 enx00242788ac09:172.17.0.1 0 0 0
vtysh -c "show ip route"
Codes: K - kernel route, C - connected, 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,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
C>* 10.0.5.0/24 is directly connected, vmbr0, 01:01:10
O 172.17.0.0/30 [110/40] is directly connected, enx00242788ac09, weight 1, 01:01:13
C>* 172.17.0.0/30 is directly connected, enx00242788ac09, 01:01:13
O 172.17.0.4/30 [110/40] is directly connected, enx00242788ac16, weight 1, 01:01:13
C>* 172.17.0.4/30 is directly connected, enx00242788ac16, 01:01:13
O>* 172.17.0.253/32 [110/40] via 172.17.0.4, enx00242788ac16, weight 1, 01:00:24
O>* 172.17.0.254/32 [110/40] via 172.17.0.2, enx00242788ac09, weight 1, 01:00:23
O 172.17.0.255/32 [110/0] is directly connected, lo, weight 1, 01:01:13
C>* 172.17.0.255/32 is directly connected, lo, 01:01:13
### Node 2 (Functional) ###
ip route
default via 10.0.5.1 dev vmbr0 proto kernel onlink
10.0.5.0/24 dev vmbr0 proto kernel scope link src 10.0.5.3
172.17.0.0/30 dev enx00242788ac2b proto kernel scope link src 172.17.0.3
172.17.0.0/30 dev enx00242788bcd3 proto kernel scope link src 172.17.0.2
172.17.0.4/30 nhid 22 via 172.17.0.1 dev enx00242788bcd3 proto ospf metric 20
172.17.0.253 nhid 22 via 172.17.0.1 dev enx00242788bcd3 proto ospf metric 20
172.17.0.255 nhid 22 via 172.17.0.1 dev enx00242788bcd3 proto ospf metric 20
vtysh -c "show ip ospf neighbor"
Neighbor ID Pri State Up Time Dead Time Address Interface RXmtL RqstL DBsmL
0.0.0.1 1 Full/Backup 1h01m15s 39.921s 172.17.0.1 enx00242788bcd3:172.17.0.2 0 0 0
vtysh -c "show ip route"
Codes: K - kernel route, C - connected, 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,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
C>* 10.0.5.0/24 is directly connected, vmbr0, 05:22:11
O 172.17.0.0/30 [110/40] is directly connected, enx00242788bcd3, weight 1, 01:02:38
C * 172.17.0.0/30 is directly connected, enx00242788bcd3, 01:03:23
C>* 172.17.0.0/30 is directly connected, enx00242788bcd3, 05:22:14
O>* 172.17.0.4/30 [110/80] via 172.17.0.1, enx00242788bcd3, weight 1, 01:02:33
O>* 172.17.0.253/32 [110/80] via 172.17.0.1, enx00242788bcd3, weight 1, 01:02:33
O 172.17.0.254/32 [110/0] is directly connected, lo, weight 1, 01:25:02
C>* 172.17.0.254/32 is directly connected, lo, 05:22:14
O>* 172.17.0.255/32 [110/40] via 172.17.0.1, enx00242788bcd3, weight 1, 01:02:
### Node3 (Functional) ###
ip route
default via 10.0.5.1 dev vmbr0 proto kernel onlink
10.0.5.0/24 dev vmbr0 proto kernel scope link src 10.0.5.4
172.17.0.0/30 nhid 24 via 172.17.0.5 dev enx00242788ac29 proto ospf metric 20
172.17.0.4/30 dev enx00242788ac29 proto kernel scope link src 172.17.0.4
172.17.0.4/30 dev enx00242788ac32 proto kernel scope link src 172.17.0.6
172.17.0.254 nhid 24 via 172.17.0.5 dev enx00242788ac29 proto ospf metric 20
172.17.0.255 nhid 24 via 172.17.0.5 dev enx00242788ac29 proto ospf metric 20
vtysh -c "show ip ospf neighbor"
Neighbor ID Pri State Up Time Dead Time Address Interface RXmtL RqstL DBsmL
0.0.0.1 1 Full/Backup 1h06m43s 32.653s 172.17.0.5 enx00242788ac29:172.17.0.4 0 0 0
vtysh -c "show ip route"
Codes: K - kernel route, C - connected, 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,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
C>* 10.0.5.0/24 is directly connected, vmbr0, 05:27:00
O 172.17.0.0/30 [110/40] is directly connected, enx00242788bcd3, weight 1, 01:07:27
C * 172.17.0.0/30 is directly connected, enx00242788bcd3, 01:08:12
C>* 172.17.0.0/30 is directly connected, enx00242788bcd3, 05:27:03
O>* 172.17.0.4/30 [110/80] via 172.17.0.1, enx00242788bcd3, weight 1, 01:07:22
O>* 172.17.0.253/32 [110/80] via 172.17.0.1, enx00242788bcd3, weight 1, 01:07:22
O 172.17.0.254/32 [110/0] is directly connected, lo, weight 1, 01:29:51
C>* 172.17.0.254/32 is directly connected, lo, 05:27:03
O>* 172.17.0.255/32 [110/40] via 172.17.0.1, enx00242788bcd3, weight 1, 01:07:22