[LARTC] IFUP scripts

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--=-L6xobaUCVeyUOu3KBLav
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: quoted-printable

Le lun 18/08/2003 =E0 23:36, paul.walling@xxxxxxxxxxxx a =E9crit :
> Hi,
> can someone tell me the script to hook my routing commands=20
> into so that after my ethernet interface has gone down and
> subsequently been started again the routes are restored.

you can use the keyword : up
iface ...
     network
     up ip route add 192.168.1.0L/24 .....

more detail on "man interfaces" ;-)

> I have been looking at ifup in the /etc/sysconfig/network
> scripts directory.
>=20
> Many thanks

--=20
Eric Leblond
Gnufw is Not a User mode FireWall : http://www.gnufw.org

--=-L6xobaUCVeyUOu3KBLav
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQA/QU3pnxA7CdMWjzIRAqZkAJ9yHpYhRDndlBDpTKfJz3YV0yirWwCdFcUz
4zsCUI81bh0hNjkniljnr0s=
=6oku
-----END PGP SIGNATURE-----

--=-L6xobaUCVeyUOu3KBLav--


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux