I built VyOS with ./configure --architecture amd64 --build-type release --version 1.2.0 --custom-packages vnstat
, basically following this build guide, but I seem to be having a bug with default routes. Setting a default IPv4 route to a table and committing it often the route doesn’t actually land in the routing table until reboot. I’m having the same problem with v6, only that the routes never actually land in the routing table, even after a reboot. Here’s an example.
user@vyos# show protocols static table 100
interface-route XX.XX.9.0/25 {
next-hop-interface eth1.80 {
}
}
interface-route XX.XX.9.128/28 {
next-hop-interface eth1.05 {
}
}
interface-route XX.XX.9.144/28 {
next-hop-interface eth1.75 {
}
}
interface-route XX.XX.9.160/28 {
next-hop-interface eth1.60 {
}
}
interface-route 10.0.0.0/24 {
next-hop-interface eth1.10 {
}
}
interface-route 10.1.1.0/24 {
next-hop-interface eth1 {
}
}
interface-route 10.1.3.0/24 {
next-hop-interface eth1.40 {
}
}
interface-route 10.2.2.0/24 {
next-hop-interface eth1.50 {
}
}
interface-route6 XXXX:XXXX:4994:bad::/64 {
next-hop-interface eth1.80 {
}
}
interface-route6 XXXX:XXXX:4994:c0de::/64 {
next-hop-interface eth1.05 {
}
}
interface-route6 XXXX:XXXX:4994:d00b::/64 {
next-hop-interface eth1.60 {
}
}
interface-route6 XXXX:XXXX:4994:da7a::/64 {
next-hop-interface eth1.75 {
}
}
route 0.0.0.0/0 {
next-hop XX.XX.9.177 {
}
}
route6 ::/0 {
next-hop XXXX:XXXX:49de::1 {
}
}
[edit]
user@vyos# ip -6 route show table 100
XXXX:XXXX:4994:bad::/64 dev eth1.80 proto static metric 20 pref medium
XXXX:XXXX:4994:c0de::/64 dev eth1.05 proto static metric 20 pref medium
XXXX:XXXX:4994:d00b::/64 dev eth1.60 proto static metric 20 pref medium
XXXX:XXXX:4994:da7a::/64 dev eth1.75 proto static metric 20 pref medium
[edit]
Did I miss something while building, or is this a common bug ?