put it in /etc/sysconfig/network

your entry should look like this:
GATEWAY=217.5.98.32

you can put other routes in /etc/sysconfig/static-routes
like this:
eth0   host 216.148.218.160  gw 192.168.0.20
eth1   net 192.168.0.0       netmask 255.255.255.240
eth1   net 192.168.1.0       netmask 255.255.255.240  gw 192.168.0.100

everything clear?

-Oliver

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jochen Kaechelin
Sent: Tuesday, September 25, 2001 7:44 AM
To: [EMAIL PROTECTED]
Subject: Question about route add


I type:

        /sbin/route add default gw 217.5.98.32

        nslookup wa-p.de

everything is working fine!

But how can I make these setting permant!
After restarting network with

        /etc/rc.d/init.d/network restart

or after rebooting system the above settings are gone!



-- 
jochen



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to