Skip to content

Commit f15d17f

Browse files
committed
docs: add socketfilterfw --unblock /usr/libexec/bootpd for vmnet issues
Signed-off-by: Akihiro Suda <[email protected]>
1 parent f661122 commit f15d17f

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,7 @@ The current default spec:
327327
- [Networking](#networking)
328328
- ["Cannot access the guest IP 192.168.5.15 from the host"](#cannot-access-the-guest-ip-192168515-from-the-host)
329329
- ["Ping shows duplicate packets and massive response times"](#ping-shows-duplicate-packets-and-massive-response-times)
330+
- ["IP address is not assigined for vmnet networks"](#ip-address-is-not-assigined-for-vmnet-networks)
330331
- [Filesystem sharing](#filesystem-sharing)
331332
- ["Filesystem is slow"](#filesystem-is-slow)
332333
- ["Filesystem is not writable"](#filesystem-is-not-writable)
@@ -470,6 +471,13 @@ PING google.com (172.217.165.14): 56 data bytes
470471

471472
For more details, see [Documentation/Networking](https://wiki.qemu.org/Documentation/Networking#User_Networking_.28SLIRP.29).
472473

474+
#### "IP address is not assigined for vmnet networks"
475+
Try the following commands:
476+
```bash
477+
/usr/libexec/ApplicationFirewall/socketfilterfw --add /usr/libexec/bootpd
478+
/usr/libexec/ApplicationFirewall/socketfilterfw --unblock /usr/libexec/bootpd
479+
```
480+
473481
### Filesystem sharing
474482
#### "Filesystem is slow"
475483
Try virtiofs. See [`docs/mount.md`](./docs/mount.md)

docs/network.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,13 @@ The network daemon is started automatically when the first instance referencing
141141
and will stop automatically once the last instance has stopped. Daemon logs will be stored in the
142142
`$LIMA_HOME/_networks` directory.
143143

144+
The IP address is automatically assigned by macOS's bootpd.
145+
If the IP address is not assigned, try the following commands:
146+
```bash
147+
/usr/libexec/ApplicationFirewall/socketfilterfw --add /usr/libexec/bootpd
148+
/usr/libexec/ApplicationFirewall/socketfilterfw --unblock /usr/libexec/bootpd
149+
```
150+
144151
#### Unmanaged
145152
For Lima >= 0.12:
146153
```yaml

0 commit comments

Comments
 (0)