You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 on lima0):
$ ip addr show dev eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 52:55:55:a9:bf:8d brd ff:ff:ff:ff:ff:ff
inet 192.168.5.15/24 metric 200 brd 192.168.5.255 scope global dynamic eth0
valid_lft 3529sec preferred_lft 3529sec
inet6 fe80::5055:55ff:fea9:bf8d/64 scope link
valid_lft forever preferred_lft forever
$ ip addr show dev lima0
3: lima0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 52:55:55:b9:10:e0 brd ff:ff:ff:ff:ff:ff
inet6 fd2c:49b2:7e20:a3c8:5055:55ff:feb9:10e0/64 scope global dynamic mngtmpaddr noprefixroute
valid_lft 2591944sec preferred_lft 604744sec
inet6 fe80::5055:55ff:feb9:10e0/64 scope link
valid_lft forever preferred_lft forever
On the host:
% ping 192.168.5.15
PING 192.168.5.15 (192.168.5.15): 56 data bytes
92 bytes from internetbox.home (192.168.1.1): Destination Net Unreachable
Vr HL TOS Len ID Flg off TTL Pro cks Src Dst
4 5 00 5400 5533 0 0000 40 01 9dac 192.168.1.106 192.168.5.15
% ifconfig | grep 192.168.
inet 192.168.1.106 netmask 0xffffff00 broadcast 192.168.1.255
inet 192.168.106.1 netmask 0xffffff00 broadcast 192.168.106.255
So there is no network device on 192.168.5 in the host.
The text was updated successfully, but these errors were encountered:
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: