lima-vm / lima-vm/lima

Unable to ping VM host (lima/colima)

Open
#686 6 comments 0 reactions 0 assignees View on GitHub
component/network/vmnet
Dominant language
Go
Stars
21.9k
Forks
957
Avg merge
2d 6h
Merged PRs (30d)
53

Description

### Description

I setup networking for lima/colima a few weeks ago and it had been working fine, but today, even after some troubleshooting, I can not ping the colima VM from my host. I have updated lima, colima, and macOS with patch releases lately, so that might be related, but I am not really sure what to check at this point.

On the mac I can see this:

```
bridge100: flags=8a63 mtu 1500
options=3
ether 16:7d:da:6a:3e:64
inet 192.168.105.1 netmask 0xffffff00 broadcast 192.168.105.255
inet6 fe80::147d:daff:fe6a:3e64%bridge100 prefixlen 64 scopeid 0x14
inet6 fdce:1812:ad25:915f:834:c0bf:f47f:b16e prefixlen 64 autoconf secured
Configuration:
id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
ipfilter disabled flags 0x0
member: vmenet0 flags=3
ifmaxaddr 0 port 19 priority 0 path cost 0
nd6 options=201
media: autoselect
status: **active**
```

but I can not ping `192.168.105.1`

One the `colima` VM, I can see this:

```
lima0 Link encap:Ethernet HWaddr 52:55:55:74:18:4D
inet addr:192.168.105.2 Bcast:0.0.0.0 Mask:255.255.255.0
inet6 addr: fdce:1812:ad25:915f:5055:55ff:fe74:184d/64 Scope:Global
inet6 addr: fe80::5055:55ff:fe74:184d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:158 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:42873 (41.8 KiB) TX bytes:1720 (1.6 KiB)
```

and I can ping both `192.168.105.2` and `192.168.105.1`

I'm not sure exactly what the next step would be in figuring out what bit is likely broken.

Pointers would be much appreciated.

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.