Solved

Gateway change in SCO Unix

Posted on 2001-07-11
6
3,490 Views
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.
0
Comment
Question by:bombhead
[X]
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
6 Comments
 
LVL 10

Expert Comment

by:tonnybrandt
ID: 6273087
0
 
LVL 20

Accepted Solution

by:
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 192.9.200.250 (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 192.9.200.250

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

Expert Comment

by:vinnyd79
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.
0
Technology Partners: 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!

 
LVL 1

Expert Comment

by:Computer101
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
Computer101
Community Support Moderator
0
 
LVL 10

Expert Comment

by:tonnybrandt
ID: 6713747
IMHO Hes deserves the points.
0
 
LVL 1

Expert Comment

by:Computer101
ID: 6722674
Comment from hes accepted as answer.

Thank you
Computer101
Community Support Moderator
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
In this article we will discuss all things related to StageFright bug, the most vulnerable bug of android devices.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

734 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