-
Notifications
You must be signed in to change notification settings - Fork 621
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
Unable to ping VM from host with vzNAT network, lima0
has no IPv4 address
#3100
Comments
eth0 is the special user networking 192.168.5.15 which is not accessible from the host. This is used for accessing the lima builtin dhcp server.
Yes, this is expected. The issue is the vzNAT - you should have an ip address in the guest on lima0. This is how it works on macOS 15.2:
This worked also on 14.7 with lima 1.0 and earlier. |
@nirs Thanks, your example worked for me on macOS 14.7.2 as well. And now it works for my other VM as well. Maybe re-starting the VM fixed it, now |
Discussed in #3094
Originally posted by jrajahalme January 6, 2025
Description
limactl version 1.0.3
macOS 14.7.2 / Macbook Pro M3
According to the docs (https://lima-vm.io/docs/config/network/) vzNAT network should be able to "Connect to the VM IP from Host". I have a Ubuntu 22.04 VM running with the vz driver and vzNAT network.
In the VM, the only IP address that looks like it could be routable (locally) is on
eth0
(no IPv4 address onlima0
):On the host:
So there is no network device on 192.168.5 in the host.
The text was updated successfully, but these errors were encountered: