aboutsummaryrefslogtreecommitdiffstats
path: root/egress.lua
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-16 16:57:46 +0000
committertv <tv@krebsco.de>2026-11-16 18:08:39 +0100
commitf17f88f1f53247ec86a472105cf94cfc664cd1b8 (patch)
treeeb7b564820fc3de989906865a4f2078bb287bc92 /egress.lua
parent2c37475d89b75d382728e7b33c01892770b15a26 (diff)
get guest addresses via DHCP, one tap device per VM
host.nix now makes a bridge fcbr0 with a number of tap devices (default 8) and runs a dnsmasq of its own for DHCP. The run script takes the first tap device it can lock and derives the guest MAC from its number. The guest uses DHCP, with the MAC as client identifier, as the machine-id (and thus the default DUID) is the same in every VM. host.nix now takes { user, taps ? 8 } instead of just the user.
Diffstat (limited to 'egress.lua')
0 files changed, 0 insertions, 0 deletions