user-v2 network
⚡ Requirement | Lima >= 0.16.0 |
---|
user-v2 network provides a user-mode networking similar to the default user-mode network and also provides support for vm -> vm
communication.
To enable this network mode, define a network with mode: user-v2
in networks.yaml
By default, the below network configuration is already applied (Since v0.18).
...
networks:
user-v2:
mode: user-v2
gateway: 192.168.104.1
netmask: 255.255.255.0
...
Instances can then reference these networks from their lima.yaml
file:
limactl start --network=lima:user-v2
networks:
- lima: user-v2
An instance’s IP address is resolvable from another instance as lima-<NAME>.internal.
(e.g., lima-default.internal.
).
Note
- Enabling this network will disable the default user-mode network
Last modified February 18, 2025: docs/config/network: follow-up (c10c9a5)