Solved

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

Posted on 2004-04-14
6
1,419 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 20

Expert Comment

by:tfewster
Comment Utility
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
Comment Utility
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
Comment Utility
OK, when I enter "cat /etc/.relid it gives the following:
040694 RELEASE 020300 Version 01 OS

Hope that helps...
0
Give your grad a cloud of their own!

With up to 8TB of storage, give your favorite graduate their own personal cloud to centralize all their photos, videos and music in one safe place. They can save, sync and share all their stuff, and automatic photo backup helps free up space on their smartphone and tablet.

 
LVL 20

Expert Comment

by:tfewster
Comment Utility
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 61

Expert Comment

by:gheist
Comment Utility
/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
Comment Utility
route add default gw IP_of_your_default_gateway
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

This is an article about my experiences with remote access to my clients (so that I may serve them) and eventually to my home office system via Radmin Remote Control. I have been using remote access for over 10 years and have been improving my metho…
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

772 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now