Routing Question

Craig White plug-discuss@lists.plug.phoenix.az.us
13 Mar 2003 18:37:25 -0700


On Thu, 2003-03-13 at 17:34, George Gambill wrote:
> On a Linux work station I edited /etc/init.d/network and added at the bottom
> just before the last "exit 0", the following
> 
> route add -net 192.168.100.0 netmask 255.255.255.0 dev eth0
> 
> when I restart the network (/etc/init.d/network restart) I get the message
> "SIOCADDRT: File exists"
> 
> It works but is there a better place to be doing this???
> 
-----
how about /etc/sysconfig/static-routes ?

you might want to delete /etc/init.d/network~

Craig