Page 1 of 1

Trouble creating a NAT network

Posted: 23. Nov 2017, 11:38
by robertdawson
I want to use a NAT network to connect different VMs on my Mac 10.11.6's Virtual Box.
I copy-pasted the following command from the VirtualBox (version 5.1.30) :

Code: Select all

VBoxManage natnetwork add --netname natnet1 --network "192.168.15.0/24" --enable
This should create a NAT network named "natnet1", right ?
But I did not do it correctly, because no name appears in the "Network Settings" section :
explain1.png
explain1.png (44.05 KiB) Viewed 847 times
Any help appreciated.

Re: Trouble creating a NAT network

Posted: 23. Nov 2017, 14:40
by Perryg
Look in the pull down for the "attached to:" and see if you have "NAT network". That is what you configured and not NAT.

Re: Trouble creating a NAT network

Posted: 23. Nov 2017, 15:09
by robertdawson
Perryg wrote:Look in the pull down for the "attached to:" and see if you have "NAT network".
Indeed, it seems to work now :
explain2.png
explain2.png (23.42 KiB) Viewed 837 times
Thanks for your help.