Skip to content

Commit da0cd70

Browse files
committed
docs/config/network: add flowchart
Signed-off-by: Akihiro Suda <[email protected]>
1 parent d6e0573 commit da0cd70

File tree

1 file changed

+13
-1
lines changed
  • website/content/en/docs/Config/Network

1 file changed

+13
-1
lines changed

website/content/en/docs/Config/Network/_index.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,19 @@ title: Network
33
weight: 30
44
---
55

6-
## user-mode network (192.168.5.0/24)
6+
See the following flowchart to choose the best network for you:
7+
```mermaid
8+
flowchart
9+
connect_to_vm_via{"Connect to the VM via"} -- "localhost" --> default["Default"]
10+
connect_to_vm_via -- "IP" --> connect_from{"Connect to the VM IP from"}
11+
connect_from -- "Host" --> vm{"VM type"}
12+
vm -- "vz" --> vzNAT["vzNAT"]
13+
vm -- "qemu" --> shared["socket_vmnet (shared)"]
14+
connect_from -- "Other VMs" --> userV2["user-v2"]
15+
connect_from -- "Other hosts" --> bridged["socket_vmnet (bridged)"]
16+
```
17+
18+
## Default user-mode network (192.168.5.0/24)
719

820
By default Lima only enables the user-mode networking aka "slirp".
921

0 commit comments

Comments
 (0)