utmapp / UTM

Virtual machines for iOS and macOS
https://getutm.app
Apache License 2.0
27.14k stars 1.34k forks source link

No internet Connection Bridged Mode #6785

Closed JoaoMSacramento closed 1 week ago

JoaoMSacramento commented 2 weeks ago

Describe the issue
I had my Ubuntu 24.04.1 LTS running fine on UTM with Shared Network as Network Mode. However, for a work, I needed to change the Network Mode to bridge, what I did, and after start the VM I had no internet connection. Tried to change it back to Shared Network but there was no internet connection still.

My Network configuration right now is: Network Mode: Bridged (Advanced) Bridged Network: en0 Emulated Network Card: virtio-net-pci

Running ifconfig returns:

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 1338  bytes 106154 (106.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1338  bytes 106154 (106.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Running nmcli returns:

lo: connected (externally) to lo
        "lo"
        loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536
        inet4 127.0.0.1/8
        inet6 ::1/128

enp0s1: unmanaged
        "Red Hat Virtio"
        ethernet (virtio_net), 9A:7E:04:49:F7:4E, hw, mtu 1500

Use "nmcli device show" to get complete information about known devices and
"nmcli connection show" to get an overview on active connection profiles.

Consult nmcli(1) and nmcli-examples(7) manual pages for complete usage details.

Configuration

Debug log
debug.log

Upload VM
config.plist.zip