Mailinglist Archive: opensuse (1914 mails)

< Previous Next >
Re: [opensuse] preferred way to add a static route in OpenSuse?
  • From: Angel Alvarez <clist@xxxxxx>
  • Date: Tue, 11 Nov 2008 19:13:44 +0100
  • Message-id: <200811111913.44657.clist@xxxxxx>
El Martes 11 Noviembre 2008 Amedee Van Gasse escribió:
Hello,

I have added a static route that sends all traffic for a certain net
block over the wlan interface.

route add -net xxx.xxx.xxx.0 netmask 255.255.255.0 gw 192.168.1.1 dev wlan0

What is the preferred way in OpenSuse to:
a) make this static route permanent?
Yast/Network/network cards /wlan0/routes

b) make this static route only come up when wlan0 is up?
/etc/sysconfig/network/if-up.d custom script

c) delete the static route when wlan0 goes down?
/etc/sysconfig/network/if-down.d custom script


TIA,
Amedee



--
No imprima este correo si no es necesario. El medio ambiente está en nuestras
manos.
->>-----------------------------------------------
Clist UAH a.k.a Angel
---------------------------------[www.uah.es]-<<--
"Ninja: No Income, No Job, no Assets (Lo que viene siendo un muerto de hambre).
Hipotecas Subprime para Dummies"
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References