-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
UTM Qemu VM: cannot set subnet, invalid parameter net #5128
Comments
I have the same problem when trying to specify a non-default subnet for a host-only interface.
** Debug log** Upload VM |
So far I've figured out that the subnet is anyhow defined in /Library/Preferences/SystemConfiguration/com.apple.vmnet.plist --- and this was the main reason why I even tried to change the subnet in UTM settings My workaround to the subnet problem is to change the subnet there manually, but this is not a permanent solution for this problem. Actually I'm not even sure if this problem is caused by UTM itself or caused by Apple's Virtualization.Framework itself, but I hope that on clever developer who is familiar to UTM could find a solution or fix for this :) |
Main issue is the syntax for the
With that fix wired up to the UI, specifying alternate subnets and etc will work as expected |
This topic should be treated as a bug since the UI needs an update to properly set the netdev. It is clear that the QEMU command line interface has changed between the updates and UTM needs to respect the adjusted settings. As a workaround I played around a bit with the settings and tried to add these parameters manually to the QEMU command - which did not work, since the id is missing (first complainment) and second there is already a netdev passed to QEMU via UTM - so I removed it and it seemed to work, since it fired up my VM and I saw on my host that the network bridge was created with the correct inet address (in my test scenario it was 192.168.66.1). |
Describe the issue
Unable to start QEMU when setting a specific Guest Network subnet (VM settings -> devices -> Network -> Shared Network -> advanced settings)
I am able to successfully change the settings, but when I try to start QEMU afterwards, I get an error message that QEMU was stopped because of the invalid parameter 'net'.
I don't know if I misconfigured something in the settings, so please inform me about what I did wrong and close this issue in case I did something wrong. I also took a look in the official documentation https://docs.getutm.app/settings-qemu/devices/network/network/ but did not find any information where I could have done a mistake.
Basically what I want to achieve is that my VM(s) always have the same subnet and that this does not randomly switch, as currently they do randomly from 192.168.65.0/24 to 192.168.67.0/24 and I hoped that I could prevent UTM from doing that using these settings...
Configuration
Crash log
No crash and therefore no crash log
Debug log
debug.log
Upload VM
config.plist.zip
The text was updated successfully, but these errors were encountered: