-
Notifications
You must be signed in to change notification settings - Fork 612
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
Upgrade 0.22.0 to 1.0.2 (macOS 15.1.1): host VPN does not work within vzNAT VM (but slirp does) #2984
Comments
@marcelbeumer One of the changes since 0.22 preferring the additional network over the builtin user network, you can try this. You probably see something like this in
To have the same setup of 0.22, you can change metric: 100 for the vzNAT interface:
This will bring back the issues in 0.22 when install k8s when having 2 default routes with the same default metric, but maybe these issues are not affecting what you do. Start the vm, you will see now:
Does it change anything? |
Yes, with Thanks a lot. What should we do with this GH issue? |
Great that it works, let keep the issue open for now. If this issue is very common maybe we need to change the default metric to keep the old behavior. |
@jandubois do you think we should change the metric to the default value to keep 0.22 behavior? We assumed that adding additional network means you want to use it, so it should be preferred. But it seems that some features work only with the user network, so maybe lima is not ready for preferring the additional network. For the use case of multiple k8s clusters using shared network using custom metric works fine, so using default metric is fine. We have only one report so far, so I'm not sure it is worth a change. And we also need to understand why this case is solved by using non-optimal configuration of 2 default routes with same metric. |
I'm not keen of changing behaviour, and then changing it back, unless it is absolutely necessary. It would be better to understand first why this is breaking some scenarios, and to figure out if there is a different way to make them work again automatically. |
@marcelbeumer is it possible to reproduce this on another machine without your corporate VPN/HTTP proxy? If you and find how to reproduce it, we can try to understand why it does not work with the default confguration. Also maybe you try add a note in the relevant docs about this issue with the solution? |
Description
Description
Host macOS 15.1.1 (24B91) with VPN from corporate that uses HTTP proxy.
With 0.22.0 vzNAT worked fine in combination with VPN+proxy.
default networking works:
vzNAT does not work:
The text was updated successfully, but these errors were encountered: