Skip to main content

Module network

Module network 

Source

Functionsยง

bridge_ensure
Ensure the br-mvm bridge exists with IP and NAT configured. Idempotent.
bridge_teardown
Remove the bridge and associated NAT rules.
setup
Set up TAP networking, IP forwarding, and NAT inside the Lima VM.
tap_create
Create a TAP device for a VM slot and attach it to the bridge.
tap_destroy
Remove a TAP device for a VM slot.
teardown
Tear down TAP device and iptables rules.