LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-08-2009, 02:31 AM   #1
arfal
Member
 
Registered: Aug 2009
Posts: 30

Rep: Reputation: 0
route add at linux start up


Hi,

Newbie here, I'm using SLES 10, using 2 different network, each time reboot the machine I have to add route to add new gateway, how to make it run at start up so I don't need to add it manually?? I put the command to /etc/init.d/boot.local but it doesn't work.

Regards,
Arfal
 
Old 10-08-2009, 06:12 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Run yast2 network. There is a tab to add routes. You can instead edit the /etc/sysconfig/routes file directly.
 
Old 10-08-2009, 11:14 PM   #3
arfal
Member
 
Registered: Aug 2009
Posts: 30

Original Poster
Rep: Reputation: 0
I see, let me try it first

Last edited by arfal; 10-08-2009 at 11:15 PM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add the permanent route in linux fedora core 6 cmx08 Linux - Networking 7 09-01-2010 12:00 PM
How to add a persistent route in Debian Linux LotharIrausquin Linux - Networking 11 03-11-2008 09:18 AM
noob: ip route add vs route add jCash Linux - Networking 1 07-19-2007 11:12 AM
I am not able to add a new route to my route table using route command prashanth s j Linux - Networking 2 09-03-2005 04:34 AM
Route add in Linux 8.0 aviraje2000 Linux - Newbie 1 03-02-2004 06:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration