

When the Guest VM tries to make an outbound connection such as accessing the internet, VirtualBox will translate the IPv4 packets and from the Guest VM and forwards it to its destination and also translates response packet back to the Guest VM.

In this mode VirtualBox uses its built-in DHCP server to assign the IP address 10.0.2.15 to VMs network adapter. NAT (Network Address Translation) is the default networking mode used when you create a new VM. In this mode, the network adapter will behave as if no Ethernet cable is attached to it - which means no connection. You select the networking mode by selecting one of the options from the "Attached to" drop-down list. Networking Modes defines the connection between - a Guest Virtual Machine and Host machine, different Guest VMs on the same Virtual Box, Guest VM and other machines on the network and Guest VMs connection to the internet.
