Results 1 to 4 of 4
Hi,
I am using RHEL4 server in my network. I have configured VLAN in my network. i am using two gatways to access my Network. I also add two gateways ...
- 02-09-2009 #1Just Joined!
- Join Date
- Feb 2008
- Posts
- 2
making route in RHEL4 permanent
Hi,
I am using RHEL4 server in my network. I have configured VLAN in my network. i am using two gatways to access my Network. I also add two gateways to both the network. but only one gateways will work. Then I added a route for the other netowrk. but when i restart my computer my route is deleted.
i used this command to add the route
route add -net 10.0.0.0 netmask 255.255.0.0 gw 10.0.0.1
what i should do that my route should remain permanent either i restart my computer.
- 02-09-2009 #2Linux Guru
- Join Date
- Nov 2007
- Posts
- 1,695
Google > add static route redhat
- 02-11-2009 #3Linux Newbie
- Join Date
- Feb 2009
- Posts
- 99
echo '10.0.0.0/16 via 10.0.0.1' >> /etc/sysconfig/network-scripts/route-eth0
- 02-12-2009 #4Just Joined!
- Join Date
- Feb 2008
- Posts
- 2
Thanks HROAdmin26,
IT works for me and i solve my problem.


Reply With Quote