Hey team,
I have often the problem that static routes are not installed into frr and then into the route table:
Configured static routes
set protocols static route 0.0.0.0/0 next-hop 195.7.0.102 set protocols static route6 ::/0 next-hop 2a09:4c2:4b:66::2
After commit:
ip route show 195.7.0.100/30 dev eth11 proto kernel scope link src 195.7.0.101
ip -6 route show 2a09:4c2:4b:66::/64 dev eth11 proto kernel metric 256 pref medium
Route not installed and no ip route settings in frr are missing:
I expect following configuration in frr:
ip route 0.0.0.0/0 195.7.0.102 ipv6 route ::/0 2a09:4c2:4b:66::2
But it is missing.
When i do the manual way:
sudo /usr/bin/vtysh -c "conf t" -c "ip route 0.0.0.0/0 195.7.0.102" sudo /usr/bin/vtysh -c "conf t" -c "ipv6 route ::/0 2a09:4c2:4b:66::2"
Routes are installed probably into frr and routing table:
ip route show default nhid 29346 via 195.7.0.102 dev eth11 proto static metric 20 195.7.0.100/30 dev eth11 proto kernel scope link src 195.7.0.101
ip -6 route show 2a09:4c2:4b:66::/64 dev eth11 proto kernel metric 256 pref medium default nhid 29348 via 2a09:4c2:4b:66::2 dev eth11 proto static metric 20 pref medium