Page 1 of 1

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

Posted: 4. Nov 2016, 22:46
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

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

Posted: 5. Nov 2016, 07:44
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.

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

Posted: 5. Nov 2016, 08:35
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.