开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

QETH connectivity with z/OS 3.1 on Ubuntu


 

Hi,
I am using Hercules 4.8 Development branch on Ubuntu 20.04 LTS and Guest OS is z/OS 3.1.
Following configuration works well, however OSA1500 interface gets disconnected in few hours complaining that Inactive Data device. I did implemented fix on MIH as recommended by .
?
Has anyone implemented OSA networking in z/OS 3.1 with Ubuntu, please help.
?
hercules.cnf
1500.3 QETH chpid F0 iface /dev/net/tun ipaddr 192.168.100.1 netmask 255.255.255.255 hwaddr 02-00-00-11-10-04 mtu 1500
?
K2.TCPPARMS(PROFILE) content:
?
IPCONFIG NOCHECKSUMOFFLOAD
INTERFACE OSA1500?
?DEFINE IPAQENET?
?IPADDR 192.168.100.2
?PORTNAME OSAFE?
?INBPERF DYNAMIC?
?PRIROUTER?
;?
PRIMARYINTERFACE OSA1500?
;
BEGINROUTES?
ROUTE 192.168.100.2 ?255.255.255.255 ? = OSA1500 MTU ? ?1492
ROUTE DEFAULT 192.168.100.1 ? ? ? OSA1500 MTU ? ?1492?
ENDROUTES?
;?
START OSA1500?
?
Defined port forwarding on host ubuntu linux with:
iptables -t nat -A PREROUTING -p tcp --dport 23 -j DNAT --to 192.168.100.2:23
?


 

> "... complaining that Inactive Data device."
?
What was complaining? z/OS? Hercules? Both? What was the message number and text of the complaint, or complaints? Have you referred to the message manual(s)?


 

Hi Ian,
?
Looks like the connectivity is stable now, for the past two days. I shall let you know once I have any issue with all supporting messages.
?
Thank you.
Gaurav.


 

Hi Bhoopal,
?
Would you be kind to please share your definition of the QETH device in your hercules configuration file? And if that would be not too much to ask, maybe you can share your tun/tap device definition in the ubuntu operating system (using the ifconfig or ip command)?
?
I have tried without success to enable the tcpip connectivity for my hercules emulation, seems I'm not that good using Ubuntu...
?
Thanks in advance!
?
Best regards,
Marco Cruz