Can't connect changing networks (windows guest/ubuntu host)

Discussions about using Windows guests in VirtualBox.
Post Reply
Gaddone
Posts: 1
Joined: 4. Nov 2016, 22:37

Can't connect changing networks (windows guest/ubuntu host)

Post by Gaddone »

i'm having a strange issue : if i try to access to my VM with ubuntu server and i'm connected to my home wifi connection there's no problem otherwise at work i can't .
after looking around on the internet i think that other information are superfluous btw i'm using windows10 and when i'm at work during the boot it stops for 5 minutes on
"A start job is running for raise network interfaces" then typing ifconfig i can't have an ip6 address to connect to via putty for example.
i think this is really easy to solve this problem , i hope :-P.

best regards
BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Can't connect changing networks (windows guest/ubuntu host)

Post by BillG »

Are you using bridge mode? If you do your network config will change when you change networks.

Set up a host only adapter in the guest and use its 192.168.56.x IP address to access your server from the host. This IP will not change when you change networks.
Bill
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Can't connect changing networks (windows guest/ubuntu host)

Post by socratis »

Gaddone wrote: think this is really easy to solve this problem
I think it might be difficult, if possible, with your current setup. Here's the typical answer I've been giving for some time now. Please note the last part, in bold:
socratis wrote:Bridged and wireless don't always play nice. Bridged networking is outside the WLAN specification. It may or may not work. Some combinations of Routers/Access Points, WLAN cards and drivers work, some don't. See: Bridging & Wifi - Supported hardware and add your experience. For example, it works fine in my home, but not in my office. Same laptop, same VM. Try to see if it works either with wired bridged or with NAT.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply