Problems with Virtual Networking

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Johnfdkldfghjiodfgj
Posts: 1
Joined: 10. May 2016, 14:40

Problems with Virtual Networking

Post 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.
JSA
Posts: 26
Joined: 25. Aug 2016, 03:24
Primary OS: openSUSE
VBox Version: OSE other
Guest OSses: Windows Linux
Location: USA

Re: Problems with Virtual Networking

Post 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?
Post Reply