Monday, 6 August 2018

VirtualBox Host-Only Static IP


To create a host-only connection in VirtualBox, start by opening the preferences in VirtualBox. Go to the "Network" tab, and addd a Host-only Network. 


To get the static IP address working temporarily, access the termainal on the client, and enter the following to assign a static IP to eth1. (I'm assuming 192.168.56.101 because that's VirtualBox's default. Make sure it matches the IP for your host-only adapter.)
ifconfig eth1 192.168.56.101 netmask 255.255.255.0 up

No comments:

Post a Comment

Number of Visitors