I finally solved the issue and the new configuration works.
I deleted both natnetwork and dhcpserver and tried with a new IP address range:
Code: Select all
$ VBoxManage natnetwork add --netname 10.20.14-NAT --network "10.20.14.0/24" --enable
$ VBoxManage dhcpserver add --netname 10.20.14-NAT --ip 10.20.14.3 --netmask 255.255.255.0 --lowerip 10.20.14.200 --upperip 10.20.14.250 --enable
I found the above at the following link:
https://jekewa.com/blogs/index.php/weBl ... 3-adds-nat
Now everything is fine: both virtual machines see the internet and can see each other.
I have no idea why the previous configuration did not work, but something has to do with the choice of the IP address range, which at the same time has nothing to do with my home computer network configuration, since the network 10.10.10.0/24 has no meaning for me. Perhaps has some meaning to Virtualbox? No idea.
Thanks @Perryg anyway for your support.