Hello,
I have upgraded our vyos instance from 1.2 LTS to VyOS 1.3-rolling-202012271303 and we have seen some strange behavior with static routes
We have two provider so I am using PBR to select traffic to be forwarded to ISP1 or ISP2
bellow my configuration
show policy route FW_OUT
rule 1 {
description "Mark OpenVPN Packets"
protocol udp
set {
table 5
}
source {
port 1100-1299
}
}
show protocols static table 5
route 0.0.0.0/0 {
next-hop 92.103.x.x {
}
}In addition to that, I have a default route which is installed in the main table
show protocols static route 0.0.0.0/0
next-hop 195.200.x.x {
}The issue is that each time I reboot the firewall, two static route are installed in the main table with the same cost
S>* 0.0.0.0/0 [1/0] via 92.103.x.x, bond1.100, weight 1, 00:01:55 * via 195.200.x.x, bond1.101, weight 1, 00:01:55
When I have checked FRR, I found the route in table 5 in the config and I have workaround by deleting the route with vtysh
Another abnormal behavior is that the table 5 contains the two static routes
ip route show table 5
default nhid 204 proto static metric 20
nexthop via 92.103.x.x dev bond1.100 weight 1
nexthop via 195.200.x.x dev bond1.101 weight 1