On Fri, Mar 19, 2004 at 12:04:36PM +1100, [EMAIL PROTECTED] wrote:
> 
> have you tried adding the routes in
> 
> /etc/sysconfig/network-scripts/routes
> or
> 
> /etc/sysconfig/network-scripts/static-routes
> 
> I think the syntax is
> 
> -add net x.x.x.x netmask y.y.y.y gw z.z.z.z
> 

cd /etc/sysconfig
bash: cd: /etc/sysconfig: No such file or directory

Did you take note of the fact that Craig requested the method to
do this with Debian?

The way I do this in Debian is have a route start script and a route
stop script with all the necessary routing commands, which is run
by the networking scripts. For example, at the bottom of an interface
config block within /etc/network/interfaces:
    up /path/to/routing-up-script.sh
    down /path/to/routing-down-script.sh

More information and options can be found with 'man 5 interfaces'.

Hope this helps,

-- Jon Teh
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to