Operating System - OpenVMS
1748104 Members
4592 Online
108758 Solutions
New Discussion юеВ

Seeing Default Gateway on a VAX

 
SOLVED
Go to solution
blaked97
Occasional Advisor

Seeing Default Gateway on a VAX

Hello, I was wondering if someone could tell me how to see what the default gateway is assigned to on a VAX?

Thanks.
13 REPLIES 13
blaked97
Occasional Advisor

Re: Seeing Default Gateway on a VAX

VAX/VMS v5.5-2H4

If that's relevant.
Volker Halle
Honored Contributor

Re: Seeing Default Gateway on a VAX

Hi,

if you're talking about the defaultTCP/IP gateway, it depends on the TCP/IP stack that's installed.

For the DEC/Compaq/HP UCX/TCPIP product, it's:

$ UCX SHOW ROUTE/PERM

and look at the entry for PN 0.0.0.0

Volker.
RBrown_1
Trusted Contributor

Re: Seeing Default Gateway on a VAX

Assuming VMS and UCX

$ UCX SHOW ROUTE

On the other hand you could tell us what OS, version, and IP stack and get an exact answer. Try

$ SHOW SYSTEM/NOPROCESS
$ SHOW NETWORK
$ SHOW NETWORK "TCP/IP"/FULL
RBrown_1
Trusted Contributor

Re: Seeing Default Gateway on a VAX

Obviously I type too slowly. :-(
blaked97
Occasional Advisor

Re: Seeing Default Gateway on a VAX

Yes I'm talking about the TCP/IP gateway.

The IP next to PN 0.0.0.0 is the IP address of the VAX. (At least, it's the IP address that shows up when I try and ping that VAX from elsewhere in the network).

Maybe I'm asking the wrong question. I'm trying to find the IP address of the router that the VAX communicates through.

Here's what I get:
RMVAX > ucx show route

DYNAMIC database

Type Destination Gateway

AH 127.0.0.1 127.0.0.1
AN 0.0.0.0 170.4.80.10
AN 192.1.11.0 170.4.80.1
AN 170.4.0.0 170.4.80.10

RMVAX > show network
VAX/VMS Network status for local node 5.35 RMVAX on 20-APR-2011 13:51:26.15

The next hop to the nearest area router is node 5.511 RMROUT.


Node Links Cost Hops Next Hop to Node

5.35 RMVAX 0 0 0 (Local) -> 5.35 RMVAX
5.40 STEEL 0 4 1 ISA-0 -> 5.43 CASTER
5.41 BFVAX 1 4 1 ISA-0 -> 5.41 BFVAX
5.42 BOP 0 4 1 ISA-0 -> 5.42 BOP
5.43 CASTER 0 4 1 ISA-0 -> 5.43 CASTER
5.44 BROWNS 0 4 1 ISA-0 -> 5.44 BROWNS
5.45 BMVAX 0 4 1 ISA-0 -> 5.45 BMVAX
5.46 CAVS 0 4 1 ISA-0 -> 5.46 CAVS
5.405 BLMCAS 1 4 1 ISA-0 -> 5.405 BLMCAS
5.511 RMROUT 0 4 1 ISA-0 -> 5.511 RMROUT
5.615 VXRDFC 0 4 1 ISA-0 -> 5.615 VXRDFC

Total of 11 nodes.


Sorry, I know some networking networking, but none really in VMS. I don't really understand what those results mean. Any light you can shed for me would be appreciated.
Hoff
Honored Contributor

Re: Seeing Default Gateway on a VAX

This box uses 170.4.80.10 as the IP designated router.
Steven Schweda
Honored Contributor

Re: Seeing Default Gateway on a VAX

> VAX/VMS v5.5-2H4

> $ SHOW NETWORK
> $ SHOW NETWORK "TCP/IP"/FULL

At VMS V5.x, SHOW NETWORK provides only
DECnet information.
Volker Halle
Honored Contributor

Re: Seeing Default Gateway on a VAX

You can find the IP address of the VAX with:

$ UCX SHOW INTERFACE

And if the IP address shown for AN 0.0.0.0 is the IP address of the VAX, then I guess, that it does NOT have a default gateway defined...

Check with $ UCX SHOW ROUTE/PERM

If there is no default gateway defined, you shouldn't be able to ping that VAX from outside the 170.4.x.x network.

Volker.
blaked97
Occasional Advisor

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". However, SHOW NETWORK 'TCPIP' gives the same thing as SHOW NETWORK.


Also, the 170.4.80.10 is the IP of the box, not any router. I don't know why that comes up next to AN 0.0.0.0 There is a router with the IP 170.4.80.1 and that comes up next to AN 192.1.11.0 when I do a UCX SHOW ROUTE. I suspect 170.4.80.1 is the router it goes through. Why wouldn't this be listed next to AN 0.0.0.0?