From: heze54 (heze54_at_hezesoft.org)
Date: Wed Oct 04 2006 - 22:52:53 CEST
Date: Wed, 04 Oct 2006 22:52:53 +0200 From: heze54 <heze54@hezesoft.org> Message-ID: <op.tgw0afn4g9uou4@pec54.serced.net> Subject: [suse-sles-e] if-up and route add -net command
Hi,
I need to add several route add- net routes when the server re-starts,
starts or the interface becomes up(ip-up).
Like my opensuse, I add a bash file to /etc/sysconfig/network/if-up.d..
and then a bash file like this..
!/bin/bash
# this scripts is called with the name of the interface in
# parameter $1
# source configuration file
route add -net 192.168.158.0 netmask 255.255.255.0 gw 192.168.154.254
With suse 10 or open suse it works fine but... with my sles9, when I
restart the system, there are not route added they must be added manually..
Why? whatÅ› wrong?
best regards
heze54
Antes de imprimir piensa en tu responsabilidad y compromiso con el MEDIO AMBIENTE
---------------------------------------------------------------------
To unsubscribe, e-mail: suse-sles-e-unsubscribe@suse.com
For additional commands, e-mail: suse-sles-e-help@suse.com
This archive was generated by hypermail 2.1.7 : Wed Oct 04 2006 - 22:53:41 CEST