PDA

View Full Version : Static Route in Enigma, how?



imish
12-07-15, 15:36
Is there a way to set static routes in Enigma

What is the format and as I would like to to be persistent is there a file that I need to save it in.

Tried various permutations via command line however don't see it appear in the routing table.

Regards

birdman
13-07-15, 02:09
You could always write a startup shell script to run the relevant route commands and drop it into /etc/rc3.d (named S02routes, or similar - it would have to run after S01networking).
Then add that to the list of backup files so it persists over updates.

Alternatively you could edit the /etc/network/interfaces file (which is the "official" way to do it) to add the route commands there. You should also back this file up. See:
http://unix.stackexchange.com/questions/84552/set-persistent-routing-table-on-debianwhich is for Debian, but obtains here too.