Ip route save and restore

At the moment I have some legacy scripts that edit the routing table with “ip route” commands. Like iptables there is a save/restore CLI option… But I want the configuration to persist after reboots. But since ClearLinux is so advanced I’d imagine that there is a “service” just like the iptables.

Or is there another preferred method?


systemd-networkd supports setting route table.
But in 2018 we switched to networkmanager which I don’t think has this feature.

I tried testing my scripts to nmcli and that worked but would not survive a reboot.