Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Network connection no longer passed through in Ubuntu 20.04 #2737

Closed
jempiere opened this issue Aug 11, 2021 · 3 comments
Closed

Network connection no longer passed through in Ubuntu 20.04 #2737

jempiere opened this issue Aug 11, 2021 · 3 comments

Comments

@jempiere
Copy link

Describe the issue
I recently set up a virtual Ubuntu v20.04 using UTM on my Macbook Pro M1. For the first several hours, and both turning on and off the vm entirely, network was passed through and I was still able to access browsers (I even watched a youtube video). However, as of today, with no changes to the Virtual Machine settings, it no longer has a network connection.

Configuration

  • UTM Version: 2.1.2
  • OS Version: Mac OS 11.4, Ubuntu 20.04
  • Intel or Apple Silicon? Apple Silicon

Debug log
debug.log

Upload VM
config.plist.txt

I had to upload it as a txt file, but there's my plist.

@conath
Copy link
Contributor

conath commented Aug 11, 2021

Did the internet connection of your MacBook Pro change between when internet was working and now? For example, did you go from one WiFi to another, go from work to home or something like that?

In that case I believe that your VM might not recognize the changed network and needs its DNS set to manual to it can continue to work on any network. https://phoenixnap.com/kb/ubuntu-dns-nameservers

@jempiere
Copy link
Author

@conath yes, that has happened, I didn't even think about that. I've read the tutorial, but I can't quite get how to resolve this issue in ubuntu. Is there a way to pass it through UTM itself? or do I set it up through the Network Proxy?

@conath
Copy link
Contributor

conath commented Aug 11, 2021

The cause of the problem is likely that one of your internet connections is IPv6 and the other is IPv4. The technical error is within a technology that UTM uses for network emulation, and should go away once UTM 2.2 is released, as that offers bridged networking. The issue is known for some time. So this is a duplicate of #2353 and/or #2429.

To work around it, you must change the DNS to manual within the guest. I always choose 1.1.1.1 as DNS server since that's a fast DNS provider.
Don't change any of the network settings in UTM - only in the guest.

@conath conath closed this as completed Aug 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants