Per "man 8 ip-route", if a protocol is not specified when adding a route:
"ip assumes protocol boot (i.e. it assumes the
route was added by someone who doesn't understand what
they are doing)."
Further, the "boot" protocol has this explanation:
boot - the route was installed during the bootup
sequence. If a routing daemon starts, it will
purge all of them.
Compare this to the "static" protocol:
static - the route was installed by the adminis‐
trator to override dynamic routing. Routing dae‐
mon will respect them and, probably, even adver‐
tise them to its peers.
I'm not 100% confident about this as I'm not exactly a routing expert, and the last bit about advertising routes to peers gives me a little pause, but it sounds like what we're trying to set up via this charm are most suitably installed as "protocol static" routes.
If there is a reason we are deliberately not providing a protocol field to these routes, that's fine, but I'm assuming we're unintentionally ending up with "boot" protocol routes, hence why I'm raising this ticket.
Per "man 8 ip-route", if a protocol is not specified when adding a route:
"ip assumes protocol boot (i.e. it assumes the route was added by someone who doesn't understand what they are doing)."
Further, the "boot" protocol has this explanation:
boot - the route was installed during the bootup sequence. If a routing daemon starts, it will purge all of them.
Compare this to the "static" protocol:
static - the route was installed by the adminis‐ trator to override dynamic routing. Routing dae‐ mon will respect them and, probably, even adver‐ tise them to its peers.
I'm not 100% confident about this as I'm not exactly a routing expert, and the last bit about advertising routes to peers gives me a little pause, but it sounds like what we're trying to set up via this charm are most suitably installed as "protocol static" routes.
If there is a reason we are deliberately not providing a protocol field to these routes, that's fine, but I'm assuming we're unintentionally ending up with "boot" protocol routes, hence why I'm raising this ticket.
Imported from Launchpad using lp2gh.
date created: 2021-03-18T03:21:03Z
owner: vultaire
assignee: None
the launchpad url