TCP/IP Route Problem

View: New views
5 Messages — Rating Filter:   Alert me  

TCP/IP Route Problem

by Manfred Risser :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, i have tcp up and running. My problem is that it is not possible
to make a connection to my z/OS from any workstation on my home lan.
From the z/OS TSO i can't ping my internet router 192.168.0.1
I think i have a problem with the routing.


TCP/IP adress of workstation with installed
192.168.0.26
z/OS tcpip stack ip
192.168.18.1

TCP/IP z/OS Config

 DEVICE CTCHE    CTC         B00  
 LINK CTCHE1   CTC      0 CTCHE  
                                 
 HOME 192.168.18.1    CTCHE1      
BEGINRoutes                                                            
;                                                                      
;     Destination  Subnet Mask    FirstHop      Link   Size            
ROUTE 192.168.0.0  255.255.255.0      =         CTCHE1 MTU 1492        
ROUTE DEFAULT                     192.168.0.26  CTCHE1 MTU DEFAULTSIZE
ENDRoutes                                                              
The route add of my windows workstation
ROUTE  ADD 192.168.18.1  MASK 255.255.255.255  192.168.0.26

Hercules Config
# CTC LOOPBACK Adapters

0B00-0B01    3088    CTCI  -n 00-1A-6B-6C-D4-BD 192.168.18.1 0.0.0.0
#                          ____________________ _____________________
#                                   |                    |___________  Hercules IP Addresse
#                                   |________________________________  -n PC MAC Addresse

Thanks for help..



Re: TCP/IP Route Problem

by paoloG :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message





--- In hercules-390@..., "a1082x1" <manfred.risser@...> wrote:

>
> Hi, i have tcp up and running. My problem is that it is not possible
> to make a connection to my z/OS from any workstation on my home lan.
> From the z/OS TSO i can't ping my internet router 192.168.0.1
> I think i have a problem with the routing.
>
>
> TCP/IP adress of workstation with installed
> 192.168.0.26
> z/OS tcpip stack ip
> 192.168.18.1
>
> TCP/IP z/OS Config
>
>  DEVICE CTCHE    CTC         B00  
>  LINK CTCHE1   CTC      0 CTCHE  
>                                  
>  HOME 192.168.18.1    CTCHE1      
> BEGINRoutes                                                            
> ;                                                                      
> ;     Destination  Subnet Mask    FirstHop      Link   Size            
> ROUTE 192.168.0.0  255.255.255.0      =         CTCHE1 MTU 1492        
> ROUTE DEFAULT                     192.168.0.26  CTCHE1 MTU DEFAULTSIZE
> ENDRoutes                                                              
> The route add of my windows workstation
> ROUTE  ADD 192.168.18.1  MASK 255.255.255.255  192.168.0.26
>
> Hercules Config
> # CTC LOOPBACK Adapters
>
> 0B00-0B01    3088    CTCI  -n 00-1A-6B-6C-D4-BD 192.168.18.1 0.0.0.0
> #                          ____________________ _____________________
> #                                   |                    |___________  Hercules IP Addresse
> #                                   |________________________________  -n PC MAC Addresse
>
> Thanks for help..
>

I'm not on a very familiar ground as I (like the majority of people) am not allowed to run z/OS on Hercules; perhaps you know some secret hints to do that..;-)
Anyhow IMHO you should set your host IP in CTCI Hercules definition  in the same subnet as your workstation IP address (if your Workstation has IP 192.168.0.26 your Z/OS IP should be 192.168.0.nn).
Hoping to have been of some help.

Regards.




RE: Re: TCP/IP Route Problem

by Rocky-11 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The suggestion about the subnet sounds like a good starting point.
Most internet routers default the subnet to 255.255.255 which means that the first three sets of numbers have to be the same on the internal network - including the Z/OS machine.
I think you also have an issue with the default route. This should point to the router (in your case 192.168.0.1)

Finally while CTCI works fine, so does LCS and it’s a lot less complicated to understand and easier to configure.

In the TCPIP parameter file
All you really need is:

1) the device information
2) the route information
   In the example below xx is your router and yy is the host address. And replace 192.168.5 by your subnet address.
   BEGINROUTES                                        
      ROUTE 192.168.5.0 255.255.255.0 = ETH1 MTU 1492    →  for local addresses
      ROUTE DEFAULT 192.168.5.xx ETH1 MTU 1492             → everything else --- Points to internet router                
   ENDROUTES      
3) the host address information 192.168.5.yy  
4) the auto log information for the various servers.
5) and the reserved port information – be sure that the names and ports you reserve for FTP and TN3270 server appear next to the ports  in configuration –

There are other a few other parameters but the basics that you have should be fine.
BTW - I believe that Z/OS expects the parameters for tn3270 to be in the tn3270 configuration and not in the TCPIP configuration.

Roc                                  
________________________________________
From: hercules-390@... [mailto:hercules-390@...] On Behalf Of paoloG
Sent: Wednesday, November 04, 2009 20:23
To: hercules-390@...
Subject: [hercules-390] Re: TCP/IP Route Problem

 


--- In hercules-390@..., "a1082x1" <manfred.risser@...> wrote:

>
> Hi, i have tcp up and running. My problem is that it is not possible
> to make a connection to my z/OS from any workstation on my home lan.
> From the z/OS TSO i can't ping my internet router 192.168.0.1
> I think i have a problem with the routing.
>
>
> TCP/IP adress of workstation with installed
> 192.168.0.26
> z/OS tcpip stack ip
> 192.168.18.1
>
> TCP/IP z/OS Config
>
> DEVICE CTCHE CTC B00
> LINK CTCHE1 CTC 0 CTCHE
>
> HOME 192.168.18.1 CTCHE1
> BEGINRoutes
> ;
> ; Destination Subnet Mask FirstHop Link Size
> ROUTE 192.168.0.0 255.255.255.0 = CTCHE1 MTU 1492
> ROUTE DEFAULT 192.168.0.26 CTCHE1 MTU DEFAULTSIZE
> ENDRoutes
> The route add of my windows workstation
> ROUTE ADD 192.168.18.1 MASK 255.255.255.255 192.168.0.26
>
> Hercules Config
> # CTC LOOPBACK Adapters
>
> 0B00-0B01 3088 CTCI -n 00-1A-6B-6C-D4-BD 192.168.18.1 0.0.0.0
> # ____________________ _____________________
> # | |___________ Hercules IP Addresse
> # |________________________________ -n PC MAC Addresse
>
> Thanks for help..
>

I'm not on a very familiar ground as I (like the majority of people) am not allowed to run z/OS on Hercules; perhaps you know some secret hints to do that..;-)
Anyhow IMHO you should set your host IP in CTCI Hercules definition in the same subnet as your workstation IP address (if your Workstation has IP 192.168.0.26 your Z/OS IP should be 192.168.0.nn).
Hoping to have been of some help.

Regards.



RE: TCP/IP Route Problem

by fish-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

a1082x1 wrote:

> Hi, i have tcp up and running. My problem is that it
> is not possible to make a connection to my z/OS from
> any workstation on my home lan. From the z/OS TSO i
> can't ping my internet router 192.168.0.1 I think i
> have a problem with the routing.

A. What host operating system? Windows or Linux?

B. What is the subnet mask your PC is using?

C. Is your PC multi-homed? (Does it have multiple IP adapters?)


IF: the answer to question #A is: Windows, and the answer to question #B is:
255.255.255.0 (typical), and the answer to question #B is: No, then I
suggest the following:

1. Change your PC's subnet mask to: 255.255.0.0.

2. Change your z/OS Subnet Mask to: 255.255.0.0.

3. Change your z/OS ROUTE DEFAULT to: 192.168.0.1 (your internet router).

4. Remove the routing entry from your PC: "route delete 192.168.18.1"

5. Change your device statement to:

  0B00-0B01  CTCI  -n 00-1A-6B-6C-D4-BD  192.168.18.1  0.0.0.0


Your problem is likely being caused by the fact that your z/OS system is in
a different subnet than your PC. There is rarely a valid reason for the
typical Hercules user to do so. It only complicates things. Instead, keep
things simple: place all your systems in the same subnet.

Secondly, the default route for your z/OS system should be the same as your
PC's default route. If your PC is defined with a default route of
192.168.0.1 (i.e. your router (typical)), then the default route for your
Hercules guest (z/OS) should be 192.168.0.1 (same).


- --
"Fish" (David B. Trout) - fish@...
Fight Spam! Join CAUCE! <http://www.cauce.org/>
7 reasons why HTML email is a bad thing
http://www.georgedillon.com/web/html_email_is_evil.shtml
PGP key fingerprints:
DH/DSS: 9F9B BAB0 BA7F C458 1A89 FE26 48F5 D7F4 C4EE 3E2A
RSA: 6B37 7110 7201 9917 9B0D 99E3 55DB 5D58 FADE 4A52





-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.8.0 (Build 2158)
Charset: us-ascii

wj8DBQFK8peKSPXX9MTuPioRAi/oAKCHtI4zae0nBjLEJOX33fO3pKM4xwCgtZ5Z
+fZ8JgVPbXJJqCjEkGsag/A=
=mw6b
-----END PGP SIGNATURE-----

Re: TCP/IP Route Problem

by Manfred Risser :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

thanks for help, I have found the problem. After change the
the z/OS ip address to the same sub network ( 192.168.0.50) now
i can do a connection from any workstation to the mvs



--- In hercules-390@..., "Fish" <fish@...> wrote:

>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> a1082x1 wrote:
>
> > Hi, i have tcp up and running. My problem is that it
> > is not possible to make a connection to my z/OS from
> > any workstation on my home lan. From the z/OS TSO i
> > can't ping my internet router 192.168.0.1 I think i
> > have a problem with the routing.
>
> A. What host operating system? Windows or Linux?
>
> B. What is the subnet mask your PC is using?
>
> C. Is your PC multi-homed? (Does it have multiple IP adapters?)
>
>
> IF: the answer to question #A is: Windows, and the answer to question #B is:
> 255.255.255.0 (typical), and the answer to question #B is: No, then I
> suggest the following:
>
> 1. Change your PC's subnet mask to: 255.255.0.0.
>
> 2. Change your z/OS Subnet Mask to: 255.255.0.0.
>
> 3. Change your z/OS ROUTE DEFAULT to: 192.168.0.1 (your internet router).
>
> 4. Remove the routing entry from your PC: "route delete 192.168.18.1"
>
> 5. Change your device statement to:
>
>   0B00-0B01  CTCI  -n 00-1A-6B-6C-D4-BD  192.168.18.1  0.0.0.0
>
>
> Your problem is likely being caused by the fact that your z/OS system is in
> a different subnet than your PC. There is rarely a valid reason for the
> typical Hercules user to do so. It only complicates things. Instead, keep
> things simple: place all your systems in the same subnet.
>
> Secondly, the default route for your z/OS system should be the same as your
> PC's default route. If your PC is defined with a default route of
> 192.168.0.1 (i.e. your router (typical)), then the default route for your
> Hercules guest (z/OS) should be 192.168.0.1 (same).
>
>
> - --
> "Fish" (David B. Trout) - fish@...
> Fight Spam! Join CAUCE! <http://www.cauce.org/>
> 7 reasons why HTML email is a bad thing
> http://www.georgedillon.com/web/html_email_is_evil.shtml
> PGP key fingerprints:
> DH/DSS: 9F9B BAB0 BA7F C458 1A89 FE26 48F5 D7F4 C4EE 3E2A
> RSA: 6B37 7110 7201 9917 9B0D 99E3 55DB 5D58 FADE 4A52
>
>
>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGP Desktop 9.8.0 (Build 2158)
> Charset: us-ascii
>
> wj8DBQFK8peKSPXX9MTuPioRAi/oAKCHtI4zae0nBjLEJOX33fO3pKM4xwCgtZ5Z
> +fZ8JgVPbXJJqCjEkGsag/A=
> =mw6b
> -----END PGP SIGNATURE-----
>