ahngb4nond2fjs4iv3chtuacfjmf4dgzileuxli7@yahoo.com [hercules-390]
2017-07-24 06:49:38 UTC
I have Hercules and z/Os running on an Ubuntu 17.04 machine.
I tried to clone the setup after another one that was working fine with Opensuse Leap 42.2
The z/os IP is 192.168.1.225
The TUN ip is 192.168.1.226
The ETH adapter ip is 192.168.1.48
The main router is 192.168.1.254
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 enp0s31f6
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 enp0s31f6
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 enp0s31f6
192.168.1.225 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
IPCONFIG:
enp0s31f6: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.48 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::98d5:c90a:6bdc:4a25 prefixlen 64 scopeid 0x20<link>
ether 2c:4d:54:d4:94:d7 txqueuelen 1000 (Ethernet)
RX packets 26566490 bytes 36586497357 (36.5 GB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 13511311 bytes 1733326728 (1.7 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 16 memory 0xdf300000-df320000
tun0: flags=81<UP,POINTOPOINT,RUNNING> mtu 1500
inet 192.168.1.226 netmask 255.255.255.255 destination 192.168.1.225
inet6 fe80::7c5a:214d:dbb2:3a60 prefixlen 64 scopeid 0x20<link>
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 500 (UNSPEC)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8 bytes 496 (496.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
I added a static route in the main router for target IP 192.168.1.225 (the zos ip) via gateway 192.168.1.48
I can PING from z/os to the main router and any outside world IP address. (for ex. 8.8.8.8)
I can not PING from z/os to any IP on my home network outside the Linux box.
I can PING from the Linux host to the z/os IP address
I can not PING from any other local network machine to the z/os IP address.
The Ubuntu firewall is disabled.
What am I missing ?
Thanks...Dani Kalmar
I tried to clone the setup after another one that was working fine with Opensuse Leap 42.2
The z/os IP is 192.168.1.225
The TUN ip is 192.168.1.226
The ETH adapter ip is 192.168.1.48
The main router is 192.168.1.254
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 enp0s31f6
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 enp0s31f6
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 enp0s31f6
192.168.1.225 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
IPCONFIG:
enp0s31f6: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.48 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::98d5:c90a:6bdc:4a25 prefixlen 64 scopeid 0x20<link>
ether 2c:4d:54:d4:94:d7 txqueuelen 1000 (Ethernet)
RX packets 26566490 bytes 36586497357 (36.5 GB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 13511311 bytes 1733326728 (1.7 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 16 memory 0xdf300000-df320000
tun0: flags=81<UP,POINTOPOINT,RUNNING> mtu 1500
inet 192.168.1.226 netmask 255.255.255.255 destination 192.168.1.225
inet6 fe80::7c5a:214d:dbb2:3a60 prefixlen 64 scopeid 0x20<link>
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 500 (UNSPEC)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8 bytes 496 (496.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
I added a static route in the main router for target IP 192.168.1.225 (the zos ip) via gateway 192.168.1.48
I can PING from z/os to the main router and any outside world IP address. (for ex. 8.8.8.8)
I can not PING from z/os to any IP on my home network outside the Linux box.
I can PING from the Linux host to the z/os IP address
I can not PING from any other local network machine to the z/os IP address.
The Ubuntu firewall is disabled.
What am I missing ?
Thanks...Dani Kalmar