Operating System - OpenVMS
1753823 Members
9434 Online
108805 Solutions
New Discussion юеВ

Re: "Show net" is showing wrong IP.

 
Debasis Bhar
Occasional Advisor

"Show net" is showing wrong IP.

==========
DEMO$ sho net

Product: DECNET Node: DEMO Address(es): 4.33
Product: TCP/IP Node: DEMO.TEST.COM Address(es): 155.135.59.80
DEMO$ tcpip sh int
Packets
Interface IP_Addr Network mask Receive Send MTU

LE0 155.135.79.111 255.255.254.0 81453743 26847197 1500
LO0 127.0.0.1 255.0.0.0 692242 692242 4096
DEMO$ tcpip sh confi int

Interface: LO0
IP_Addr: 127.0.0.1 NETWRK: 255.0.0.0 BRDCST:

Interface: LE0
IP_Addr: 155.135.79.111 NETWRK: 255.255.254.0 BRDCST: 155.135.83.255
DEMO$
===========
Any idea why it is showing wrong IP in show net command?
6 REPLIES 6
labadie_1
Honored Contributor

Re: "Show net" is showing wrong IP.

Hello

Do not invest too much on this command, I once had similar problems, and the answer was to ignore what "show net" was saying.

I guess
$ ucx sh interface
or
$ tcpip show interface
displays the correct addres, stick with it.
Joseph Huber_1
Honored Contributor

Re: "Show net" is showing wrong IP.

Not knowing if it is infuenced, but try:
@SYS$STARTUP:SYS$NET_SERVICES_TCPIP
and see if SHOW NETWORK reflects it.
Eventually do a SET VERIFY before to see where it gets the wrong address.
Also check the local host database for wrong entry.
http://www.mpp.mpg.de/~huber
Hoff
Honored Contributor

Re: "Show net" is showing wrong IP.

You could view:

$ HELP SET NETWORK

and then (when system operations are not at a critical point) you could try the obvious and brute-force fix.

Thomas Ritter
Respected Contributor

Re: "Show net" is showing wrong IP.

I think $ show net takes its values from the logicals tcpip$inet_* which could be anything.

John Gillings
Honored Contributor

Re: "Show net" is showing wrong IP.

SHOW NETWORK displays static values stored in SYS$NET_SERVICES logical names. See:

$ SHOW LOGICAL SYS$NET_SERVICES*

It's entirely possible the IP address was changed after the logical names were defined (with @SYS$STARTUP:SYS$NET_SERVICES_TCPIP).

As suggested by Joseph, you can re-execute the procedure at any time to update the TCPIP values, BUT you must provide the host name and host address, eg:

$ @SYS$STARTUP:SYS$NET_SERVICES_TCPIP "TCP/IP" DEMO 155.135.79.111

A crucible of informative mistakes
Pim van Velzen
Advisor

Re: "Show net" is showing wrong IP.

If you look at the logicals TCPIP$INET_*, is that information correct ?