

Other Devices on Your Network Can See the Guest Machine You can also install a Web server in the guest machine and visit it from host machine. Just type the IP address of host machine in the browser address bar. I have installed Nginx Web server on my Ubuntu host, I can visit Nginx Web server from my openSUSE guest. The IP address after default via is the IP address of default gateway. Enter the following command in Virtualbox guest to find out the default gateway.

That means your home router allocates IP address to Virtualbox guest. In bridged networking mode, the default gateway of Virtualbox guest is your home router (If you have a home network). I can ping the guest from ubuntu host.Īnd I can ping the host from openSUSE guest. So the IP addresses of host machine and guest machine are in the same network range (192.168.1.0/24). You can see my Ubuntu host machine has the IP address of 192.168.1.101. Next, open a terminal on the host machine and type ifconfig command to find the IP address of host machine. You can see that the IP address of my openSUSE guest is 192.168.1.102.

Once it’s started, open a terminal and type ifconfig command to find the IP address of guest machine. In my case, my host is Ubuntu and guest is openSUSE. IP Address of Guest Machine in Bridged Networking Mode To change networking mode to bridged, click NAT and select Bridged Adapter from the list. Click the Network tab on the left pane.īy default only adapter 1 is enabled for guest machine and the default networking mode for adapter 1 is NAT. When the guest machine is shut off, open the settings dialog. But if you are looking to have more interaction between host machine and guest machine, like SSH into guest machine, visiting website developed in guest machine, allow other devices in your network to see the guest machine and enable guest machine to browse the Internet, the you can choose the bridged networking mode for your guest. It allows the guest machine to browse the Internet via a virtual router and that’s great for most people. The default networking mode in Virtualbox is NAT.
