Hallo,
I have OS/2 running as a guest under Virtualbox on a Win 10 machine. Within that virtual machine I want to run ICAT in UDP mode.
Then I have a MUT which is running native OS/2 with the debug kernel.
The 2 machines are connected to my router, both use WIFI. The router has IP address 192.168.178.1.
1) the MUT has a statically assigned IP address of 192.168.178.120.
2) the MUT needs to run KDBNET.SYS t so that you can connect via UDP and KDBNET.SYS needs to know the MUTs IP address and a netmask. I have set up IP address 192.168.178.120 and netmask 255.255.255.0.
3) the OS/2 guest is using DHCP. In the past I had also configured with a static IP address in the 192.168.178.x range but occasionally I want to connect to another WIFI access point than my home network in which case this approach will fail (at least I don't know how to make that work).
4) ICAT (executing in the OS/2 guest) requires a target IP address (of the MUT) and a port for correct operation. In the past, I had been using "bridged networking" for the OS/2 guest and I specified 192.168.178.120 as the IP address and port 1000 (the default) which worked fine. Note that port 1001 is also used for the KBDNET connection.
Bridged networking works very unreliably with a WIFI connection and often fails in requesting an IP address via DHCP. Therefore I switched to NAT.
The OS/2 guest now has good network connectivity, but the IP address of my OS/2 guest now is in the range of 10.0.2.x. That results in ICAT failing to connect to the MUT.
What do I have to set up where in order for the connection to succeed ? Do I need to specify some port forwarding for the NAT and if yes which one ?
Or do I need to specify some routes ? If yes, where, in the OS/2 guest or in the MUT ?
Lars