Gateway change in SCO Unix

Posted on 2001-07-11
Last Modified: 2013-12-05
How do I change the default gateway in SCO Unixware. I've heard that it is a dynamic change but that doesn't appear to be the case.
Question by:bombhead
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 10

Expert Comment

ID: 6273087
LVL 20

Accepted Solution

hes earned 100 total points
ID: 6274066
That link is for OpenServer but it is close to what you need to do for UnixWare

From the command prompt type in :
route add default (replace that with the real ip you want to be the default)

Now go the the /etc/rc2.d directory
Do a listing of all the files in that directory. In all my Unixware pc's the highest number is S80.
Create a file called something like S90dg. After the S90 you can put anything you want, But the S and the number are important.
In the file add the same as you typed in at the command prompt, in my example the file would contain
route add default

Now whenever you reboot it will process all the S files in order and will reestablish the default Gateway.
LVL 28

Expert Comment

ID: 6274542

Hes is correct,but I think you can also add the default route to /etc/tcp file rather than create a file in /etc/rc2.d .If you add a file in rc2.d just make sure the "S" is capital.
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users


Expert Comment

ID: 6713241
Hello all,
I am Computer101, a moderator from Experts-Exchange and also an expert within this topic area. This question has been open a long time.  What I am going to do is allow feedback from the questioner and experts.  If it is not resolved, I will delete or accept an answer based on the info I have been given, Experts, feel free to offer input.  I will monitor these questions for a period of 3-5 days and come back and evaluate.  I will have another moderator (who is also an expert in this topic area) look at the question also to ensure we do the right thing for this question.

Thank you
Community Support Moderator
LVL 10

Expert Comment

ID: 6713747
IMHO Hes deserves the points.

Expert Comment

ID: 6722674
Comment from hes accepted as answer.

Thank you
Community Support Moderator

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just about everyone has an old PC laying around.  Ask anyone in the IT industry, whether they are a professional or play in it as a hobby.  From outdated Desktops to cheap "throwaway" laptops, they are all around and not as hard to "fix up" as you m…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension ( This reminded me of questions tha…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Suggested Courses

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question