logo       

Re: making routes permanent: msg#00179

Subject: Re: making routes permanent
Vinod wrote:

> i tried putting 
> any net 10.0.3.0 255.255.255.0 gw 10.0.0.10
> in my /etc/sysconfig/static-routes but still it didnt
> show up as a permanent route.

Did you restart the networking? That file is only read when networking
is started or a new interface is enabled.

Note: the easiest way to restart the networking is a reboot; the next
easiest is switching to single-user mode ("telinit 1") then switching
back to multi-user mode ("telinit 3", or "telinit 5" if you also want
X).

Just running "/etc/rc.d/init.d/network restart" probably won't work
right, is it will typically interfere with networking daemons.

-- 
Glynn Clements <glynn.clements@xxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



<Prev in Thread] Current Thread [Next in Thread>