Migrating from Parallels how to configure a NAT network

This is for discussing general topics about how to use VirtualBox.
Post Reply
pcvnes
Posts: 5
Joined: 23. Oct 2015, 18:19

Migrating from Parallels how to configure a NAT network

Post by pcvnes »

Hi,

I am trying Virtualbox as an alternative for Parallels (they removed advanced networking in their latest upgrade)

What i want is a virtual network where the virtual hosts can reside and see each other.
At the same time i would like to be able to let these VMs to connect to the internet using the Host network adapter.

When i create a nat network and setup a DHCP server like this;

# Create nat network with DHCP Server
VBoxManage natnetwork add --netname NatNetwork --network 10.211.55.0 --enable --dhcp on
VBoxManage dhcpserver add --netname NatNetwork --ip 10.211.55.0 --lowerip 10.211.55.1 --upperip 10.211.55.50 --netmask 255.0.0.0
VBoxManage dhcpserver modify --netname NatNetwork --enable

The guest does receive an IP address by i am not able to connect to the internet.
Is there any good instruction/documentation on natnetworks ? Or any hints how to resolve this issue ?

Cheers,
Peter
Post Reply