You are on page 1of 2

How to Network Two Virtual Machines With VirtualBox

Networking two VMs is just a matter of selecting the right network mode per your specific requirements
in the VM settings and setting up the VM as you would a real machine.

Here's how you can quickly set up your VMs for networking using the NAT Network mode.

1. Open the VirtualBox Network Manager by heading to File > Tools > Network Manager.
Alternatively, you can also use the Ctrl + H keyboard shortcut.
2. Open the NAT Network tab, then click Create at the top to create a new network. Fill out the
required information here, such as the network name and IPv4 prefix, and ensure the Enable
DHCP option is checked

3. Click the Apply button to save your network.


4. Now head over to your VM settings, click the Network tab, and in the Attached to dropdown,
select NAT Network.
5. Select the NAT network we just created in the Name dropdown.
6. Click OK to save your settings.

Repeat steps four to six for as many VMs as you want on your NAT network, and you're good to go. The
next time you boot any of these VMs, or if they're already booted up, you'll be connected to this new NAT
network and can communicate with other VMs on the same network.

You might also like