I've got a number of devices sharing routes via OSPF. VyOS/Mikrotiks/etc. The edge device for the network is an RC7 install.
After freshly rebooting the edge VyOS instance, the routing table on the internal devices looks like it should:
O>* 0.0.0.0/0 [110/10] via 10.253.253.1, eth0.253, 00:03:56 S 0.0.0.0/0 [220/0] via 10.253.253.1, eth0.253, 16:46:41 O 10.0.1.0/24 [110/20] via 10.253.253.1, eth0.253, 00:03:54
After a few hours, the routing table on one of the internal devices looks like this:
S>* 0.0.0.0/0 [220/0] via 10.253.253.1, eth0.253, 16:41:24 C * 10.0.1.0/24 is directly connected, eth0, 16:40:37
Obviously I've added a static route to cover for the deficiency. Rebooting the Edge VyOS instance fixes it for a while.
This is something I've noticed in a number of RCs, but forgot about because I created manual routes to cover for it. I just happened to notice the missing default route on my Mikrotiks and it reminded me.
Config on the edge device:
area 0 {
network 10.253.253.0/24
}
default-information {
originate {
always
metric 10
metric-type 2
}
}
log-adjacency-changes {
}
parameters {
abr-type cisco
router-id 10.254.255.1
}
redistribute {
connected {
metric-type 2
}
static {
metric-type 2
}
}As mentioned, it doesn't matter if the internal device is VyOS, Mikrotik, etc. After a few hours the default route ceases to get redistributed from the Edge device.