From b4c7fbd0e87f59afa08499352b2abfc781cef757 Mon Sep 17 00:00:00 2001 From: oddlama Date: Sun, 17 Dec 2023 20:56:42 +0100 Subject: [PATCH] chore: use macvlan for container guests --- hosts/ward/net.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hosts/ward/net.nix b/hosts/ward/net.nix index 4006e6a..58e249f 100644 --- a/hosts/ward/net.nix +++ b/hosts/ward/net.nix @@ -14,14 +14,14 @@ in { }; # Create a MACVTAP for ourselves too, so that we can communicate with - # other taps on the same interface. + # our guests on the same interface. systemd.network.netdevs."10-lan-self" = { netdevConfig = { Name = "lan-self"; - Kind = "macvtap"; + Kind = "macvlan"; }; extraConfig = '' - [MACVTAP] + [MACVLAN] Mode=bridge ''; }; @@ -36,7 +36,7 @@ in { linkConfig.RequiredForOnline = "carrier"; extraConfig = '' [Network] - MACVTAP=lan-self + MACVLAN=lan-self ''; }; "10-wan" = {