Google Answers Logo
View Question
Q: UNIX easy question ( Answered,   2 Comments )
Subject: UNIX easy question
Category: Computers > Operating Systems
Asked by: apimed-ga
List Price: $10.00
Posted: 29 Aug 2002 11:10 PDT
Expires: 28 Sep 2002 11:10 PDT
Question ID: 59942
How do I re-configure the "default gateway" (i.e., change it to the
new default gateway) on a SCO UNIX 5.0 machine so that I can continue
to VPN into the server through a new firewall?
Subject: Re: UNIX easy question
Answered By: sycophant-ga on 29 Aug 2002 19:19 PDT
I don't have a SCO box at my disposal currently, however, I believe
the command that is used in SCO is 'route'.

Usage for what you are trying to do should be:

route add default [gateway IP]

Obviously, however if you already have a default route you will have
to delete it, you should be able to do this with:

route del default [old-gateway IP]

You should be able to like the existing routes with by just typing

Sorry if it's a bit ambigious, but it's been a while since I used SCO.

See this page also (
as you will need to make changes to configuration files to make your
route reboot-proof.

Check these references:

I hope this works for you...

Subject: Re: UNIX easy question
From: noodleroni-ga on 29 Aug 2002 14:29 PDT
On Linux, one would change the default gateway thus:

  # ip r d default
  # ip r a default via new.ip.address

I'm sure it is very different on SCO Unix, but there's my $0.02.

Subject: Re: UNIX easy question
From: sycophant-ga on 29 Aug 2002 19:21 PDT
Actually, SCO is almost exactly like earlier versions of Linux were
(before iproute2).

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  

Google Home - Answers FAQ - Terms of Service - Privacy Policy