-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Lawson, Jim wanted us to know:

>Can I add this to static-routes or should this be some where else. These a
>vlans on our network..

# Red Hat network configuration format
CONFIG="/etc/sysconfig/networking/devices/$1.route"
[ -f $CONFIG ] || exit 0
. $CONFIG

For example, this is called with 'ifup-routes eth0'.  If the route
you're adding is for device eth0, you'll need a file named
/etc/sysconfig/networking/devices/eth0.route and in it you put your
route commands.  That should take care of it.

Note that it's also compatible with the older format:
# Older format
if [ -f "/etc/sysconfig/network-scripts/route-$1" ]; then
 while read line; do
    /sbin/ip route add $line
 done < "/etc/sysconfig/network-scripts/route-$1"
fi

So for this format, you create an
/etc/sysconfig/network-scripts/route-eth0 and put in it everything after
the "route add" part.
- -- 
Blue skies...   Todd    Public key: http://www.mrball.net/todd.asc
The question is for how long that network would be around before it falls 
due to the same problem (dclue/dt < 0 on the part of those who run it)
                                                     --Alex on NANOG
Linux kernel 2.4.22-10mm.2mdk   1 user,  load average: 0.17, 0.10, 0.03
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: http://www.mrball.net/todd.asc

iD8DBQE/pYDpIBT1264ScBURAmifAJwMUwvohUnUGReBzzpOB3mIQSIvlACgox5e
YMqTnk6JjppB7A3aC2W3afU=
=R331
-----END PGP SIGNATURE-----

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to