Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

Need to change the default gateway

SOLVED
Go to solution
Chaim Budnick
Regular Advisor

Need to change the default gateway

Using TCPIP

How do I change the default gateway?

Chaim
6 REPLIES
Peter Clarke
Regular Advisor
Solution

Re: Need to change the default gateway

TCPIP> SET ROUTE destination /GATEWAY=host /Perm

Regards

Pete
Kris Clippeleyr
Honored Contributor

Re: Need to change the default gateway

Chaim,

Within TCP/IP:

$ TCPIP SET ROUTE /DEFAULT /GATEWAY= /PERMANENT

Greetz,

Kris (aka Qkcl)
I'm gonna hit the highway like a battering ram on a silver-black phantom bike...
Chaim Budnick
Regular Advisor

Re: Need to change the default gateway

THANKS !!!!!!
Chaim Budnick
Regular Advisor

Re: Need to change the default gateway

I just noticed that when I do a

$tcpip sho route

I see both the old and the new gateway?

Chaim

Peter Clarke
Regular Advisor

Re: Need to change the default gateway

Chaim,

You can do a :

TCPIP>SET NOROUTE /DEFAULT/GATEWAY="host"/PERM

If you wish to remove it....

Reg

Pete

Bojan Nemec
Honored Contributor

Re: Need to change the default gateway

Chaim,

You can remove old routes with:
TCPIP> SET NOROUTE /CONFIRM destination
or for the default
TCPIP> SET NOROUTE /CONFIRM /DEFAULT

Add the /PERMANENT qualifier to delete form the permanent database. You will be prompted for each route to delete and you can ansawer with Y or N. To see the routes use:
TCPIP> SHOW ROUTE
and
TCPIP> SHOW ROUTE /PERMANENT
for the permanent database.

Bojan