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

RE: How to add persistent static routes?



You may put the command line in /etc/rc.local

Edwaldo Junior - Brazil.

-----Original Message-----
From: Ken Morley [mailto:ken jmtg com]
Sent: quarta-feira, 1 de outubro de 2003 09:45
To: 'redhat-list redhat com'
Subject: How to add persistent static routes?


I'm using RH7.3.

There are multiple paths off our network.  Besides the default gateway,
which points to the internet, we also have a router that connects the
company WAN to branch offices.

I can use the route statement to setup a static route as follows:
route add -net 10.184.0.0 netmask 255.255.0.0 gw 10.0.0.254 metric 1

However, this route doesn't stick when I reboot the system.

How do I make this route persistent so it will always be there (even after a
reboot)?

Thanks!


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




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