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

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!




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