File tree 1 file changed +8
-6
lines changed
website/content/en/docs/Config/Network 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -219,13 +219,17 @@ user-v2 network provides a user-mode networking similar to the [default user-mod
219
219
> **Warning**
220
220
> This network mode is experimental
221
221
222
- To enable this network mode, define a network with `mode : user-v2` in networks.yaml
222
+ To enable this network mode, define a network with `mode : user-v2` in networks.yaml
223
+
224
+ By default, the below network configuration is already applied (Since v0.18).
223
225
224
226
` ` ` yaml
225
227
...
226
228
networks:
227
- example- user-v2:
229
+ user-v2:
228
230
mode: user-v2
231
+ gateway: 192.168.104.1
232
+ netmask: 255.255.255.0
229
233
...
230
234
` ` `
231
235
@@ -234,19 +238,17 @@ Instances can then reference these networks from their `lima.yaml` file:
234
238
{{< tabpane text=true >}}
235
239
{{% tab header="CLI" %}}
236
240
` ` ` bash
237
- limactl start --network=lima:example- user-v2
241
+ limactl start --network=lima:user-v2
238
242
` ` `
239
243
{{% /tab %}}
240
244
{{% tab header="YAML" %}}
241
245
` ` ` yaml
242
246
networks:
243
- - lima: example- user-v2
247
+ - lima: user-v2
244
248
` ` `
245
249
{{% /tab %}}
246
250
{{< /tabpane >}}
247
251
248
252
_Note_
249
253
250
254
- Enabling this network will disable the [default user-mode network](#user-mode-network--1921685024-)
251
- - 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
252
-
You can’t perform that action at this time.
0 commit comments