I’m working with a Fedora 32 (F32) host with the KDE/Plasma spin. I’m writing some scripts where I’d like to save/restore the system’s routing tables. On other Linux systems I can use ip route commands to accomplish this:
$ sudo su - # ip route save table all > backup # ip route flush table all # ip route restore < backup
When I try this on my F32 host, the restore step always fails with the error message
Error: Invalid rtm_flags - can not contain DEAD or LINKDOWN.
Can anyone enlighten me as to why the restore step is failing? Or is this a bug?