Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 28 Aug 2006 20:24:53 +0400
From: Solar Designer <>
Subject: Re: static-route

On Mon, Aug 28, 2006 at 04:43:21PM +0200, Stanislav wrote:
> is it correct that 
> root:~# cat /etc/sysconfig/static-routes  
> any net x.x.x.x netmask x.x.x.x gw x.x.x.x
> should add a static route entry ?


> Neither /etc/sysconfig/network-scripts/ifup-routes
> nor /etc/rc.d/init.d/network use it !?

They do, but:

1. /etc/rc.d/init.d/network in older versions of Owl had a typo that
prevented this from working.  The bug was fixed over a year ago:

* Tue May 24 2005 (GalaxyMaster) <> 0.24-owl1
- Fixed a typo in /etc/rc.d/init.d/network which used to break the static
routes logic. Thanks to DaNuk <noc at> for pointing it out.

You didn't mention what version of Owl you're using, but I am guessing
that it's an old one.

2. /etc/sysconfig/network-scripts/ifup-routes only takes care of routes
that are specific to a particular network interface.  Your example route
would be setup by the "network" script rather than by "ifup-routes".

Alexander Peslyak <solar at>
GPG key ID: B35D3598  fp: 6429 0D7E F130 C13E C929  6447 73C3 A290 B35D 3598 - bringing security into open computing environments

Was I helpful?  Please give your feedback here:

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.