Operating System - OpenVMS
1754419 Members
2764 Online
108813 Solutions
New Discussion юеВ

Seeing Default Gateway on a VAX

 
SOLVED
Go to solution
blaked97
Occasional Advisor

Re: Seeing Default Gateway on a VAX

Here's what I get:

RMVAX > ucx show interface
Packets
Interface IP_Addr Network mask Receive Send MTU

ZE0 170.4.80.10 255.255.0.0 7550623 4941312 1500
LO0 127.0.0.1 255.0.0.0 0 0 65535
RMVAX > ucx show route/perm

PERMANENT database

Type Destination Gateway

PN 0.0.0.0 170.4.80.10
PN 170.4.0.0 170.4.80.10
PN 192.1.11.0 170.4.80.1


So the box has IP 170.4.80.10
Apparently it doesn't have a default gateway set then, since it has its own IP next to 0.0.0.0?

What does the line:

PN 192.1.11.0 170.4.80.1

indicate? Like I said, I think 170.4.80.1 is the router it uses, but I don't know what that 192.1.11.0 before it is for.
RBrown_1
Trusted Contributor
Solution

Re: Seeing Default Gateway on a VAX

I am guessing that you don't have a gateway outward defined. Can you get out? To google for example?

To define a gateway try something like

UCX SET ROUTE /DEFAULT /GATEWAY=170.4.80.1 /PERMANENT

Hoff
Honored Contributor

Re: Seeing Default Gateway on a VAX

Translating those pesky cryptic letter codes...

N --- Network route
H --- Host route
A --- Active
P --- Permanent


The UCX> tool routing-related commands

SHOW ROUTE
SHOW ROUTE /FULL
SHOW ROUTE /FULL /PERMANENT

On those commands that support it, the /FULL qualifier can be key to figuring out what's up.

Establishing routes, or configuring as a router:
CREATE ROUTE ! creates (nukes) routing database
SET ROUTE ! adds a route
SET NOROUTE ! removes a route
START ROUTING ! starts up host-based routing
SET CONFIGURATION -
START [NO]ROUTING ! start routing when UCX starts
STOP ROUTING ! you guessed it...


Setting the gateway

SET ROUTE network_IP_address -
/GATEWAY="gateway" /NETWORK ! network route

SET ROUTE remote_host -
/GATEWAY="gateway" ! host route


The VAX/VMS box can itself (also) be configured as an IP router.


The titles of the two core (V4-vintage manuals are:

"DIGITAL TCP/IP Services for OpenVMS
Management Command Reference"

"DIGITAL TCP/IP Services for OpenVMS
Management"

And yes, if you Google, you can likely find V4.2 versions of these posted, and possibly other versions.
Steven Schweda
Honored Contributor

Re: Seeing Default Gateway on a VAX

> > $ SHOW NETWORK "TCP/IP"/FULL
>
> doesn't work. VMS will take
>
> $ SHOW NETWORK 'TCPIP'
>
> but not the /FULL and not "TCP/IP".

Apr 20, 2011 18:59:48 GMT

> At VMS V5.x, SHOW NETWORK provides only
> DECnet information.

I wasn't joking.

> However, SHOW NETWORK 'TCPIP' gives the
> same thing as SHOW NETWORK.

Not amazing, really.

alp $ x := SHOW NETWORK 'TCPIP'
alp $ write sys$output x
SHOW NETWORK


> [...] I'm trying to find the IP address of
> the router that the VAX communicates
> through.

Perhaps the only (useful) gateway/router it
knows is itself.


> What does the line:
>
> PN 192.1.11.0 170.4.80.1
>
> indicate?

Apparently, someone (once) told it to use
170.4.80.1 as the gateway to use to reach
192.1.11.0. (With no apparent netmask, and
with my ignorance of what 192.1.11.0 might
be, I don't know how useful that would be.)

> Like I said, I think 170.4.80.1 is the
> router it uses, but I don't know what that
> 192.1.11.0 before it is for.

That 192.1.11.0 is what it uses 170.4.80.1 as
a gateway to. Whether that makes any sense
is a different question.


Is there some particular gateway/router which
you would like it to use?

If there are useless-looking routes (which
you don't understand), then you might record
them, then delete them, and see what happens.

Is there some actual problem which you are
trying to solve?