Skip to content
Branch: master
Find file Copy path
Find file Copy path
2 contributors

Users who have contributed to this file

@cppforlife @xiujiao
24 lines (16 sloc) 617 Bytes

Configuring network in 'Host-Only' mode for private networking

Set up a host-only VirtualBox network:

  1. Open VirtualBox
  2. Choose VirtualBox > Preferences > Network
  3. Create new network named vboxnet0.
  4. DHCP Server (tab) -> Uncheck Enable Server

Check that the vboxnet0 network is configured on the host:

$ VBoxManage list hostonlyifs
$ ifconfig

_...other entries..._
vboxnet0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	ether 0a:00:27:00:00:00
	inet netmask 0xffffff00 broadcast

Finally, make sure you can ping the IP address

You can’t perform that action at this time.