nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Permanent Route entry in RHEL 5

This is a discussion on Permanent Route entry in RHEL 5 within the Networking, Firewalls and Security forums, part of the Mastering Servers category; I am using RHEL 5. I have already configured my eth0 interface with all the details I have added the ...


Go Back   nixCraft Linux Forum > Mastering Servers > Networking, Firewalls and Security

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 03-17-2008, 09:54 PM
Junior Member
User
 
Join Date: Mar 2008
My distro: Red Hat
Posts: 1
Rep Power: 0
santoshdhumal is on a distinguished road
Default Permanent Route entry in RHEL 5

I am using RHEL 5. I have already configured my eth0 interface with all the details
I have added the route for default gateway.

But when I am restarting the m/c, the default route entry gets removed.

Please suggest me how to make the default route as permanent route.

Thanks
Santosh
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 03-17-2008, 11:12 PM
rockdalinux's Avatar
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 581
Rep Power: 7
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
Default

Open /etc/sysconfig/network and setup GATEWAY=YOUR-ROUTER-IP. The following will set gateway to 10.1.2.200
Code:
GATEWAY=10.1.2.200
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
No route to host csvinayak Linux hardware 8 04-07-2008 06:44 PM
No Route to Host zakaferoz Mail Servers 1 11-18-2007 09:20 AM
How to make bash prompt permanent? vaibhav.kanchan Getting started tutorials 1 07-19-2007 12:46 AM
Default Route puppen Linux software 2 04-27-2006 12:33 AM
Static Route in Linux, permanent puppen Linux software 3 04-13-2006 10:06 PM


All times are GMT +5.5. The time now is 02:46 AM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36