Created
May 13, 2014 05:18
-
-
Save jrhea/e8e0f325c5b67e81f13f to your computer and use it in GitHub Desktop.
Create a sub-net between the host and guest OS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo Creating host-guest internal network | |
VBoxManage hostonlyif remove "VirtualBox Host-Only Ethernet Adapter" | |
VBoxManage hostonlyif create | |
VBoxManage hostonlyif ipconfig "VirtualBox Host-Only Ethernet Adapter" --ip 192.168.56.1 --netmask 255.255.255.0 | |
VBoxManage dhcpserver add --ifname "VirtualBox Host-Only Ethernet Adapter" --ip 192.168.56.1 --netmask 255.255.255.0 --lowerip 192.168.56.1 --upperip 192.168.56.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment