The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SCO
.
google unix.com



SCO Santa Cruz Operation (SCO) was a software company based in Santa Cruz, California which was best known for selling three UNIX variants for Intel x86.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Where are routes stored ? hcclnoodles SUN Solaris 5 10-16-2006 11:41 PM
Multiple Default routes rramanuj AIX 2 06-27-2005 08:35 AM
Setting Routes and such djsal Debian 2 06-17-2004 07:49 AM
newbie questions on ntp and routes jalburger Linux 1 06-15-2004 02:31 PM
How to add 2 gateway routes? cstovall UNIX for Dummies Questions & Answers 3 07-25-2003 11:09 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-31-2005
tayyabq8's Avatar
tayyabq8 tayyabq8 is offline Forum Advisor  
Moderator
  
 

Join Date: Nov 2004
Location: Bahrain
Posts: 578
Question how to add default routes in SCO

Hi,

I add following routes manually each time system reboots:

#route add 192.168.1.0 -gateway 192.168.0.90
#route add 192.168.200.0 -gateway 192.168.0.200

Is there any way in SCO 7.1.1 to automate this route add process? i.e. each time system reboots, it automatically adds these routes in its routing table?
I have gooogled and found /etc/route.conf file to be configured, but there is no such file in /etc? Any hint?

Regards,
Tayyab
  #2 (permalink)  
Old 08-31-2005
rm -r * rm -r * is offline
Registered User
  
 

Join Date: Feb 2004
Location: Dallas, Tx
Posts: 37
The system startup files are located in /etc/rc2.d. You can add a file to this directory with the routing entries you have made and each time the system boots, it will add the entries automatically.

I always use a filename that will appear at the bottom of the list in the /etc/rc2.d/directory: for example, "S99zed"

Create the file and using vi, make the following entries:

route add 192.168.1.0 -gateway 192.168.0.90
route add 192.168.200.0 -gateway 192.168.0.200

Each time the system boots it will read the S99zed file and add the routes.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:54 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0