Operating System - OpenVMS
1823942 Members
3628 Online
109667 Solutions
New Discussion юеВ

Find the IP address of TNA printer

 
Alon Jacob
Frequent Advisor

Find the IP address of TNA printer

When I try to find the IP address of a TNA printer-line I can't seem to find it.
When trying "$ sh term TNASxxx" only gives-away the terminal characteritstics, and using "TELNET> sh dev tna108" resaults : "Remote: ::a86d:e57a:0:0:9100" which I can't resolve as an IP address.

Any ideas?
21 REPLIES 21
Volker Halle
Honored Contributor

Re: Find the IP address of TNA printer

Alon,

could this be a hexadecimal representation of the IP address ?

A8 6D E5 7A = 168.109.229.122

Volker.
Alon Jacob
Frequent Advisor

Re: Find the IP address of TNA printer

I thought it was, but A: I should expect VMS to display it "normaly", and B: that's not the correct address (I happend to know this because I created that line.
Volker Halle
Honored Contributor

Re: Find the IP address of TNA printer

Alon,

then it becomes a question of which TCPIP product you are using and which version/patch level.

It works fine with TCPIP T5.5:

AXPVMS $ telnet/create 10.20.30.50 9100
%TELNET-S-CRSES, Session created on TNA36
TELNET> sho dev tna36
TNA36: BG32545: Outgoing Local: axpvms:61171
Remote: 10.20.30.50:9100

Volker.
Alon Jacob
Frequent Advisor

Re: Find the IP address of TNA printer

I'm using TCP v5.3. I guess that means I can't get the IP address in the "normal" way such xxx.xxx.xxx.xxx ?
Volker Halle
Honored Contributor

Re: Find the IP address of TNA printer

Alon,

here is the output from a TCPIP V5.3 ECO 2 system (of an interactive TELNET terminal):

TELNET> sho dev tna52
TNA52: BG5251: Temporary Local: xxxxxx:23
Remote: xxx.4.0.180:32927

Which ECO are you running ?

Volker.
Alon Jacob
Frequent Advisor

Re: Find the IP address of TNA printer

I'm using V5.3 ECO 2.

The output is as follow :
TELNET> sh dev tna105
TNA105: Outgoing Local: (none)
Remote: ::28d4:fa7b:0:0:9100

when I know the real address is 192.168.5.196
Volker Halle
Honored Contributor

Re: Find the IP address of TNA printer

Alon,

is IPv6 involved ?

Volker.
Alon Jacob
Frequent Advisor

Re: Find the IP address of TNA printer

Not that I'm aware.
Volker Halle
Honored Contributor

Re: Find the IP address of TNA printer

Alon,

the address representation shown in your example looks like an IPv6 address (note the ':' instead of the '.'). So - for whatever reason - TCPIP is formatting this address according to IPv6 format.

What does ANAL/SYS report ?

SDA> tcpip sho dev tna105

Do you get these 'unusually formatted' addresses for all your TNA devices ? On this system only or also on other systems ?

Volker.
Alon Jacob
Frequent Advisor

Re: Find the IP address of TNA printer

The output for that is "Terminal TNA105: outgoing raw". I also tried adding "/full" but an IP address in nowhere to be found.

How can I tell if I'm working at IPv6?
Volker Halle
Honored Contributor

Re: Find the IP address of TNA printer

Alon,

a correct output for SDA> TCPIP SHO DEV TNAx
looks like this:

Terminal Type Pro Network Host/Port

TNA42 Outgoing Raw NotConn 10.20.30.50 port 9100

Is this problem specific to this one TNA device on your system or are ALL TNA devices affected in the same way ?

I've no experience with IPv6, but you could check for SYS$SYSTEM:TCPIP*6*.* for any .CONF files.

Volker.
Bojan Nemec
Honored Contributor

Re: Find the IP address of TNA printer

Hi,

Have you try vhat is the TT_ACCPORNAM of this terminal. This is the command:

$ write sys$output f$getdvi("TNAxxx","TT_ACCPORNAM")

This should give you an IP:PORT.

Bojan
Alon Jacob
Frequent Advisor

Re: Find the IP address of TNA printer

I tried it, but the response is an empty line.
Volker Halle
Honored Contributor

Re: Find the IP address of TNA printer

Alon,

you've never answered the question, whether this problem affects ALL TNA devices on your system or just this outgoing TELNET device.

It may just have been some spurious error in TCPIP. It looks like you can find the remote IP address inside the TNA UCB:

$ ANAL/SYS
SDA> SHOW DEV TNA105
SDA> EXA UCB+3F4 ! offset for TCPIP T5.5
SDA> EXA UCB+344 ! offset for TCPIP V5.3 ECO 2

The address is stored in a longword, e.g. 44332211 would map to IP address 17.34.51.68

Volker.
Alon Jacob
Frequent Advisor

Re: Find the IP address of TNA printer

Hello Volker.

That problem afects ALL tna lines.
Volker Halle
Honored Contributor

Re: Find the IP address of TNA printer

Alon,

so this is a problem on exactly this system. Do you have other systems, that are also affected ?

We have ruled out a generic TCPIP V5.3 ECO 2 problem, as it works on my system with that same patch level. Are there any old TCPIP images in SYS$SPECIFIC: ?

Did you try the SDA commands ?

It looks like it's something special with your configuration. You might have to raise a call with HP TCPIP support, if this needs to be resolved.

Volker.
Wim Van den Wyngaert
Honored Contributor

Re: Find the IP address of TNA printer

::a86d:e57a:0:0:9100 is short hand for
0:0:0:0:a86d:e57a:0:0:9100
So it must be UPv6

Wim
Wim
Antoniov.
Honored Contributor

Re: Find the IP address of TNA printer

Yes, you are runing IPV6.
I guess typing
$ TCPIP SH INTERFACE
you see TCP/IP addresses in same format.

Antonio Vigliotti

Antonio Maria Vigliotti
Alon Jacob
Frequent Advisor

Re: Find the IP address of TNA printer

Sorry, but when I write TCPIP SH INTERFACE I get the data "normaly" as such -
Interface IP_Addr Network mask
IE0 192.1.2.100 255.255.255.0
Antoniov.
Honored Contributor

Re: Find the IP address of TNA printer

hmm interesting,
HP says IPV4 and IPV6 can run in parallel
http://h71000.www7.hp.com/wizard/wiz_5669.html so I guess you can see old IPV4 interface and new IPV6 addresses.
The weird answer is IVP6 address because ::a86d:e57a:0:0:9100 is not mapped for IPV4; see IPV6 documentation http://h71000.www7.hp.com/doc/73final/6645/6645pro.html
If I understand HP IVP6 guide, IPV6 of your printer might be ::FFFF:C0A8:05C4 (assumed 9100 as printer port).
Reading IPV6 guide I can guess your IPV4 address might be a MAC address 00-00-7A-E5-6D-A8; arp command may help for this possibility.
If you have IPV6 you could see interface using command ifconfig inet6 wher you can see tunnelling between ipv4 and ipv6 network.

Antonio Vigliotti
Antonio Maria Vigliotti
Willem Grooters
Honored Contributor

Re: Find the IP address of TNA printer

Alon,

This is an IP6 address (usage of ":" and "::" to denote a string of zeros, and hexadecimal values)

Give a check in the MAC address of the interface. IP6 will assign this (in a slightly modified format) as the lower 64 bits (8 bytes) of the address - as descibed in the IP6 documentation. This is done when IP6 has explicitly been enbabled on that interface.

If you look to the network interface on your Alpha:

$ tcpip ifconfig -a
$ tcpip show interface

(I don't recall which one, I have no such machine available at the moment)

you'll see whether this is true, or not.

Do you have an IP6-enabled router in your network? That could trigger this behaviour (but I agree that is IP6 is not enabled, VMS should disable this type of display)

Willem
Willem Grooters
OpenVMS Developer & System Manager