You want to lookup man interfaces. The file /etc/network/interfaces is the network setup file of Debian and is the place to use post-up rules or a specialized option its name I can't remember right now.
Baruch On 26 Sep 2010 17:29, "eliyahu cohen" <[email protected]> wrote: I want to set a permanent route on my Debian box. Initially I ran the following from the command line: route add -host x.x.x.x gw 10.0.1.1 dev eth0:1 but when I try to make it permanent by adding the following to /etc/network/interfaces I get a 'Failed to bring up eth0.' when restarting the network. up route add -host x.x.x.x gw 10.0.1.1 dev eth0:1 I've googled around and haven't found any syntax that works. I could just add this to rc.local, but I'm sure there's a better way. Can someone point me to a working example of setting permanent routes in Debian? Thanks, Eli _______________________________________________ Linux-il mailing list [email protected] http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
_______________________________________________ Linux-il mailing list [email protected] http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
