Discussion:
[hercules-390] tun0 device showing incorrect host address
Renaud Giot renaud.giot@gmail.com [hercules-390]
2018-10-10 21:07:44 UTC
Permalink
Hi group,

My Hercules configuration file contains the following statement:
0E20-0E21 CTCI -n /dev/tun0 10.0.0.70 10.0.0.5
Hercules generates the following message at startup:

HHC00901I 0:0E20 CTCI: Interface tun0, type TUN opened

So far so good!

But an ifconfig tun0 returns this:

tun0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1500

inet 10.0.0.5 --> 129.255.255.255 netmask 0xff000000

open (pid 670)


The guest address is matching the one defined on the config file but the
host address is not!


Host OS: Max OS X version 10.14

Hercules version: Fish's sdl hyperion cloned and built on October 9th 2018.


Any idea what could cause this?


Thanks for your help,

Renaud.
peter_j_jansen@yahoo.com [hercules-390]
2018-10-11 08:54:53 UTC
Permalink
Renaud,

In the past during some MacOS X testing of mine (10.13 though), I also discovered that not all Hercules' TUN/TAP modifications are working, which could be because of differences with other Linux-es which are as of yet not catered for in SDL-Hyperion (or other Hercules versions). As a problem circumvention for the TUN device, you could try to modify it manually (or via a Hercules HAO script), after Hercules startup, but prior to IPL-ing your OS, e.g. by doing a :
sudo ifconfig tun0 10.0.0.5/8 10.0.0.70
(assuming a default netmask of 255.0.0.0 for your 10. network). I'd be interested to know if this would fix your problem.



Cheers,


Peter

Loading...