Page 1 of 1

Problems with Virtual Networking

Posted: 19. Aug 2016, 10:43
by Johnfdkldfghjiodfgj
I have a problem with four VMs. They're all Linux (CentOS 7), as is the host. In the VirtualBox settings, I have defined a private NAT network, and enabled port forwarding, as follows:

Code: Select all

ansible (192.168.1.10/24).  Port forwarding: 61022 --> 22
db1 (192.168.1.11/24).  Port forwarding 61122 --> 22
db2(192.168.1.12/24).  Port forwarding 61222 --> 22
mx  (192.168.1.13/24).  Port forwarding 61322 --> 22
www  (192.168.1.14/24).  Port forwarding 61422 --> 22
The purpose of the network is to learn ansible, as the server names indicate.

If I boot up ansible, no problem. If I boot up db1, again - no problem. As soon as I boot up db2, I can no longer access ansible, but can still access db1.

I've gone over the port forwarding rules with a fine tooth comb - and the same for the actual OS network settings.

What am I missing?

Many thanks.

Re: Problems with Virtual Networking

Posted: 30. Aug 2016, 20:48
by JSA
Did you ever get this figured out?

Where are you defining this mapping, in the guest Network / Advanced / Port Forwarding, (in the gui) or
via the command line or how?