In the above Networking Mode of virtualbox virtual hosts, the NAT mode is the simplest way to achieve Virtual Machine Internet access. You can understand that all data accessed by the Vhost to the network is provided by the host, the vhost does not actually exist in the network. The host and any machine in the network cannot view and access the existence of the Vhost.
Relationship between virtual machines and hosts: Only one-way access is allowed. virtual machines can access hosts through the network, and hosts cannot access virtual machines through the network.
Relationship between virtual machines and other hosts in the Network: Only one-way access is allowed. virtual machines can access other hosts in the network, while other hosts cannot access virtual machines through the network. Www.2cto.com
Relationship between virtual machines: they cannot access each other. They are completely independent from each other and cannot access each other through the network.
IP: 10.0.2.15
Gateway: 10.0.2.2
DNS: 10.0.2.3
Multiple NICs of a virtual machine can be configured with NAT. The first Nic is connected to the private network 10.0.2.0, and the second Nic is connected to the private network 10.0.3.0. The Default Client ip Address is 10.0.2.15, the Gateway is 10.0.2.2, And the DNS is 10.0.2.3.
All virtual machines are connected to the Internet by default after they are created.