Find the answer to your Linux question:
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 ...
  1. #1
    Just Joined!
    Join Date
    Feb 2008
    Posts
    2

    Post 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.

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,695

  3. #3
    Linux Newbie
    Join Date
    Feb 2009
    Posts
    99
    echo '10.0.0.0/16 via 10.0.0.1' >> /etc/sysconfig/network-scripts/route-eth0

  4. #4
    Just Joined!
    Join Date
    Feb 2008
    Posts
    2
    Thanks HROAdmin26,

    IT works for me and i solve my problem.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...