utmapp / utmapp/UTM

MacOs Network Configuration diagnostic tool?

Open
#7,189 0 comments 6 reactions 0 assignees View on GitHub
enhancement
Dominant language
Swift
Stars
35.5k
Forks
1.8k
Avg merge
5d 5h
Merged PRs (30d)
7

Description

I'd all but given up on UTM, and then I spent a couple of days playing around with my bridge config.

When I added a NAT rule with pfctl my shared network suddenly jumped into life again, that is my guest on 192.168.64.14 could (once more) ping 192.168.64.1. UTM shared network was working when I first installed it, and then it stopped working. For a year. Regardless of re-installs. I was constantly looking out for the new UTM versions to try but none of them helped. Others seem to experience similar, I've seen this in the issues. I believe this is all about configuration of the bridge interfaces, bridge0, bridge100..

My 192.168.64.1 default DNS server (for shared network) is still not working, so I must override it with 8.8.8.8 or my external router address (192.168.0.1) in the guest, and then add any internal network DNS entries explicitly (either in the guest or router DNS) to make stuff work. It's a pain but not such a big deal, as I only have a finite number of internal hosts to deal with. One day maybe I'll figure out why DNS doesn't work for the interrnal DHCP supplied DNS server...

Back in previous versions of MacOs I recall the bridges were visible in system settings. I think now they are only available from the command-line, making it harder for people who aren't experts to figure out what's going on.

So the ask here, is to provide some kind of troubleshooting tool, that checks that all the MacOs config is in place for running UTM. It doesn't need to fix the problems, it just just needs to give an indication what they are. In comparison to linux, Macos networking is unfathomable for most people, and documentation and guides are not plentiful. Chat GPT is pretty useless, and often gets confused by the changes across MacOs versions, giving commands that might have worked in the past but don't in current macos versions.

See:
https://github.com/utmapp/UTM/issues/7121
https://github.com/utmapp/UTM/issues/6664
https://github.com/utmapp/UTM/issues/6525
https://github.com/utmapp/UTM/issues/6003
https://github.com/utmapp/UTM/issues/5313
https://github.com/utmapp/UTM/issues/5039
https://github.com/utmapp/UTM/issues/4587
https://github.com/utmapp/UTM/issues/3160
https://github.com/utmapp/UTM/issues/3802

Thanks for considering this!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.