- Host
- Mac OS X 10.10.5
- Network: 192.168.99.0/24
- IP: 192.168.99.110 (Static IP)
- IP for Host communicate to guest: 192.168.56.99
- Guest(VM)
- Ubuntu 14.04
- IP for Host communicate: 192.168.56.100
- ssh has been installed
- VirtualBox: 5.0.3 R102467
-
Create a Host-only Adapter by VBoxManage by Terminal.
-
Configure IP for Host-only Adapter.
-
Check and confirm the IP for Host-only Adapter.
-
Setup guest(VM) using 2 network adapters on VirtualBox.
-
Configure the networking on Guest by editing /etc/network/interfaces.
sudoedit /etc/network/interfaces
-
Reboot Guest(VM).
Open terminal on Host and enter command to connect to Guest(VM) by ssh.









