Operating System - OpenVMS
1753765 Members
5697 Online
108799 Solutions
New Discussion юеВ

Re: DECNET/SNARJE TCPIP connection problem

 
Hans-Olof Stolt
Occasional Advisor

DECNET/SNARJE TCPIP connection problem

Hi
I am trying to setup SNARJE on an IA64 OpenVMS 8.3 server, but I can't get the communication up to the mainframe where the Gatway is running (MGO)

Anybody hwho has experience to set up SNARJE with TCPIP ?
This is wat I get when trying to start the workstation.
SNARJE> set work/state=on
%SNARJE-E-GWYKERREW, error establishing workstation
-SNA-E-FAIESTLIN, failed to establish a communication link to the Gateway
SNARJE>
10 REPLIES 10
Robert Gezelter
Honored Contributor

Re: DECNET/SNARJE TCPIP connection problem

Hans-Olof,

My normal checklist for such questions starts with:
- can you ping the remote host
- do you have WireShark to trace the connection attempt
- have used used TCPDUMP to trace the connection attempt

- Bob Gezelter, http://www.rlgsc.com
Hans-Olof Stolt
Occasional Advisor

Re: DECNET/SNARJE TCPIP connection problem

Hi,

Yes it is possible to reach the server on port 9108 which is the port the mainfram is listening on.
Yes I have used TCPDUMP to try to trace the connection to the gateway server, BUT there is no communication from the OpenVMS server to the Mainframe server :-(
Must be someting I need to configure in SNARJE, I have defined the Mainfram IP as Gateway and redifined port from 108 to 9108.
SNAGM$GATEWAY" = "xx.xx.xx.xx" (with correct ip)
"SNA_TCP_PORT" = "#9108"
"SNA_TRANSPORT_ORDER"= "nolocal,nodecnet,tcp
This is what pappens :
SNARJE> use rmt451
SNARJE> SET WORK/server=frah02/acc=m451tro/logon=decrje
SNARJE> assign snarje$reader rd1
SNARJE> assign $1$DGA2896:[sna.pr1] pr1
SNARJE> assign $1$DGA2896:[sna.pu1] pu1
SNARJE> set work/state=on
%SNARJE-E-GWYKERREW, error establishing workstation
-SNA-E-FAIESTLIN, failed to establish a communication link to the Gateway
SNARJE>

Regards
Hans-Olof
Robert Gezelter
Honored Contributor

Re: DECNET/SNARJE TCPIP connection problem

Hans-Olof,

What does TCPDUMP show on the conversation with the gateway?

- Bob Gezelter, http://www.rlgsc.com
Hans-Olof Stolt
Occasional Advisor

Re: DECNET/SNARJE TCPIP connection problem

Hi Bob
Below the commands and outp from TCPDUMP

SNARJE>
SNARJE> use rmt451
SNARJE> SET WORK/GATEWAY=199.42.85.5 /server=frah02/acc=m451tro/logon=decrje
SNARJE> assign snarje$reader rd1
SNARJE> assign $1$DGA2896:[sna.pr1] pr1
SNARJE> assign $1$DGA2896:[sna.pu1] pu1
SNARJE> set work/state=on
"" This when the communications lines appears on the TCPDUMP screen""
%SNARJE-E-GWYKERREW, error establishing workstation
-SNA-E-FAIESTLIN, failed to establish a communication link to the Gateway
SNARJE>


$ tcpdump "-n" host 199.42.85.5
tcpdump: Filtering in user process
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on IE0, link-type EN10MB (Ethernet), capture size 96 bytes

19:38:35.812280 IP 134.46.11.13.49231 > 199.42.85.5.9108: S 1792530869:1792530869(0) win 61440

19:38:35.815280 IP 199.42.85.5.9108 > 134.46.11.13.49231: R 0:0(0) ack 1792530870 win 0


I don not know what the last line indicate but I was told by the mainframe guy that no communication came thru to the MGO.

Regards
Hans-Olof
Jeremy Begg
Trusted Contributor

Re: DECNET/SNARJE TCPIP connection problem

Hi Hans-Olof,

19:38:35.812280 IP 134.46.11.13.49231 > 199.42.85.5.9108: S 1792530869:1792530869(0) win 61440

19:38:35.815280 IP 199.42.85.5.9108 > 134.46.11.13.49231: R 0:0(0) ack 1792530870 win 0

Assuming that 134.46.11.13 is your OpenVMS system and 199.42.85.5 is the SNA Gateway, the first line shows VMS attempting to open a TCP connection to the gateway, and the second line shows the gateway rejecting it. (This is basic TCP networking.)

My guess is that the gateway is not listening on port 9108, or that it is applying some sort of access control at the TCP session level. For example, it might be configured to accept connections from a small number of specified IP addresses and to reject all others.

Regards,
Jeremy Begg
Hans-Olof Stolt
Occasional Advisor

Re: DECNET/SNARJE TCPIP connection problem

Hi all

Thanks for voluntary to support me with the SNARJE to MGO problem.

But now the Mainframe team has finally got the MGO configured right and then the SNA communication works OK ├п

Again thanks a lot

Hans-Olof
Hans-Olof Stolt
Occasional Advisor

Re: DECNET/SNARJE TCPIP connection problem

Thanks

Hans-Olof
Jeremy Begg
Trusted Contributor

Re: DECNET/SNARJE TCPIP connection problem

How about some points? :-)
Hans-Olof Stolt
Occasional Advisor

Re: DECNET/SNARJE TCPIP connection problem

Sorry I forgot that :-( fixed now :-)