Setting up static IP on Bridged mode kills internet and Guest VM Access

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Salai
Posts: 1
Joined: 8. Nov 2020, 01:38

Setting up static IP on Bridged mode kills internet and Guest VM Access

Post by Salai »

Helllo, Experts,

Hose: Windows7
Guest1: Oracle Linux 7
Guest2: Oracle Linux 7
Network Mode: Bridged

In a bridged mode with an automatic IP address assigned to the guest operating system, everything works like a dream.

Whenever I restart the computer, I needed to change the application configuration to work with the new IP. this is quite annoying, hence I decided to set the static IP. But when I set the static IP.
>Host to Guest connectivity broker.
>Guest VM to Guest VM connectivity broken
>Internet connectivity on Guest VM broken.

Please note, I set the IP in the same subnet where the Host computer was set.

Any valuable advice to solve this issue would really be appreciated.

Cheers
Salai
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Setting up static IP on Bridged mode kills internet and Guest VM Access

Post by scottgus1 »

I have had guests with static IP addresses Bridged to the host LAN for years without trouble.

We'll need to see your numbers.

Run these commands and post the outputs:

'ipconfig /all' on the host command prompt

'ifconfig' or 'ip address' in the guests' terminals when
--on dynamic ip and everything is working
--on your chosen static ip settings

Also, right-click each guest in the main Virtualbox window's guest list, choose Show in Explorer/Finder/File Manager. Zip the guest's .vbox file, and post the zip file, using the forum's Upload Attachment tab.

Are you using a typical house router for your LAN, or are you using a network-geeked LAN, or are you at a workplace with an IT department?
Post Reply