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
Copy file name to clipboardExpand all lines: docs/network.md
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -193,3 +193,33 @@ networks:
193
193
The range of the IP address is not specifiable.
194
194
195
195
The "vzNAT" network does not need the `socket_vmnet` binary and the `sudoers` file.
196
+
197
+
## Lima user-v2 network
198
+
199
+
user-v2 network provides a user-mode networking similar to the [default user-mode network](#user-mode-network--1921685024-) and also provides support for `vm -> vm` communication.
200
+
201
+
> **Warning**
202
+
> This network mode is experimental
203
+
204
+
To enable this network mode, define a network with `mode: user-v2` in networks.yaml
205
+
206
+
```yaml
207
+
...
208
+
networks:
209
+
example-user-v2:
210
+
mode: user-v2
211
+
...
212
+
```
213
+
214
+
Instances can then reference these networks from their `lima.yaml` file:
215
+
216
+
```yaml
217
+
networks:
218
+
- lima: example-user-v2
219
+
```
220
+
221
+
_Note_
222
+
223
+
- Enabling this network will disable the [default user-mode network](#user-mode-network--1921685024-)
224
+
- Subnet used for this network is 192.168.5.0/24 with 192.168.5.2 used for host connection and 192.168.5.3 used for DNS resolution
0 commit comments