[EMAIL PROTECTED] (get yourself a real name) wrote: > > i currently have 2 route add -net statments in my inittab file.. > > Where is the corret place to save route setting. > > I have a number of routes that need to be permanent and must survive a > system resart. > > Gregory Machin > I learned that /etc/network/interfaces is the right place for it. Just add statements like
up route add -net 192.168.0.0 netmask 255.255.0.0 gw 1.2.3.4 into the same interface block the gateway address is in (indented with <tab>). all "up" commands are executed when the corresponding interface comes up. Theres also "pre-up", "down" and "post-down", which you don't need here. man 5 interfaces is your friend. Thomas