From 3b29bb9aaf3e88610f26bdc0a66d15d4b455870d Mon Sep 17 00:00:00 2001 From: clerie Date: Wed, 20 Jul 2022 18:11:49 +0200 Subject: [PATCH] pre-router: find way to router --- hosts/pre-router/configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/pre-router/configuration.nix b/hosts/pre-router/configuration.nix index 2c28df9..adf69f9 100644 --- a/hosts/pre-router/configuration.nix +++ b/hosts/pre-router/configuration.nix @@ -48,6 +48,12 @@ networking.interfaces.ens19.ipv4.addresses = [ { address = "10.42.10.25"; prefixLength = 24; } ]; + networking.interfaces.ens19.ipv6.routes = [ + { address = "fd00:10:42::"; prefixLength = 48; via = "fd00:10:42:10::1"; } + ]; + networking.interfaces.ens19.ipv4.routes = [ + { address = "10.42.0.0"; prefixLength = 16; via = "10.42.10.1"; } + ]; networking.wireguard = { enable = true;