VM loses network connectivity on Emulated VLAN after some time
- Dominant language
- Swift
- Stars
- 35.5k
- Forks
- 1.8k
- Avg merge
- 5d 5h
- Merged PRs (30d)
- 7
Description
**Describe the issue**
I'm experiencing network problems when using `Emulated VLAN` for a forwarded port for ssh.
It works fine for some time, but then it becomes unresponsive. Network fails. Ping normally works, but then stops working:
```
ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data.
From 10.0.2.15 icmp_seq=1 Destination Host Unreachable
From 10.0.2.15 icmp_seq=2 Destination Host Unreachable
From 10.0.2.15 icmp_seq=3 Destination Host Unreachable
```
and incoming ssh connections fail.
Sometimes the VM also becomes unresponsive. Ubuntu still renders the cursor on mouse movement, but the window doesn't respond to mouse or keyboard input.
Restarting the VM usually solves the problem, but occasionally the problem is immediately apparent.
**Edit: Possible workaround**
After a lot of experimentation, I noticed that the screen would turn black, and possibly caused by power saving settings.
Perhaps this is solved by explicitly disabling power saving (in KDE Plasma):
Edit 2:
Still suffers from the UI crashing, but the VM is responding over ssh.
**Configuration**
* UTM Version: 4.4.5
* macOS Version: 14.3
* Mac Chip (Intel, M1, ...): M1
I've tried removing VirtFS and Display.
Using QEMU (not Virtualization Framework).
**Crash log**
**Debug log**
**Upload VM**
Contributor guide
Assessment
This issue has not been assessed yet.