I have a route that I am manually adding at each reboot:
route add -net 192.168.126.0/24 gw 192.168.1.1 dev eth1
How can I make this route persistent?
I've seen quite a few articles online that suggest adding the following to /etc/networking/interfaces:
up route add -net 192.168.126.0/24 gw 192.168.1.1 dev eth1
but when I try this, the machine comes up without this route appearing in the routing table.
Thanks in advance.