Solved

How do I add a default gateway in System V, Release 4 UNIX?

Posted on 2004-04-14
6
1,424 Views
Last Modified: 2013-12-23
Hello,
I need to set a default gateway in my old UNIX box. The OS is System 5, Release 4.
My UNIX is pretty weak and any ideas would be greatly appreciated.
0
Comment
Question by:MikeB_30
6 Comments
 
LVL 21

Expert Comment

by:tfewster
ID: 10827056
http://www.experts-exchange.com/Networking/Unix_Networking/Q_20592425.html

Without a better idea of the OS version, e.g. Supplier, output of uname -a,  it's hard to give any more detailed info on the syntax of the `route` command or how to set it permanently.
0
 

Author Comment

by:MikeB_30
ID: 10827490
uname -a gives me (my company name) 4.0 3.0 3360, 3430 Pentium
This was originally an NCR server. I believe it is version 3.0

0
 

Author Comment

by:MikeB_30
ID: 10827657
OK, when I enter "cat /etc/.relid it gives the following:
040694 RELEASE 020300 Version 01 OS

Hope that helps...
0
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!

 
LVL 21

Expert Comment

by:tfewster
ID: 10828546
I've never touched NCR Unix, but from http://bhami.com/rosetta.html#networking - The file /etc/inet/defaultrouter should contain the details of the default router;  The page also implies that the tcpconfig command can be used to set this info, if you don't want to edit the file directly.

It's worth checking the man pages for "route", "tcpconfig" and "defaultrouter" to see if there is a full explanation. Online documentation for MP-RAS is available at http://www.info.ncr.com/eCRM-OSHW-BrowseBy-Results.cfm?pl=&PID=&title=&release=&pl=Software%20-%20MP-RAS&sbrn=3 - Personally, I'd download the lot and browse it for info. A quick scan through some of those docs suggests that there is a system admin utility that allows you to do a lot of the configuration, but info on networking is sketchy
0
 
LVL 62

Expert Comment

by:gheist
ID: 10836441
/sbin/route add 0 1.2.3.4
in addition to setting the default in config files (replace 1.2.3.4 with your gateway 0 means all the world outside my subnet)
0
 
LVL 10

Accepted Solution

by:
Mercantilum earned 125 total points
ID: 10849965
route add default gw IP_of_your_default_gateway
0

Featured Post

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!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Changing password for HP switch 5 73
Connection Dropouts to Database on Windows Server 2008 R2 DFS 12 42
Applying Computer Settings 12 96
Hidden network 2 43
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

730 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