From 0990d120940d11e9e997f86a50df0d2f896f1f27 Mon Sep 17 00:00:00 2001 From: Ember 'n0emis' Keske Date: Thu, 21 Jul 2022 09:53:52 +0200 Subject: [PATCH] add route to telephony-networks via yate --- hosts/dns/zones/db.bula22.de | 3 ++- hosts/monitoring/configuration.nix | 1 + hosts/router/10-net-services.nix | 3 +++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/hosts/dns/zones/db.bula22.de b/hosts/dns/zones/db.bula22.de index 768f07e..7057b07 100644 --- a/hosts/dns/zones/db.bula22.de +++ b/hosts/dns/zones/db.bula22.de @@ -2,7 +2,7 @@ $ORIGIN bula22.de. $TTL 3600 bula22.de. IN SOA dns.bula22.de. hostmaster.bula22.de. ( - 2022071501 + 2022072101 10800 3600 604800 @@ -45,6 +45,7 @@ pre-router.bula22.de. IN A 10.42.10.25 IN AAAA 2a01:4f8:1c0c:8221::25 nixdeploy.bula22.de. IN A 10.42.10.245 IN AAAA 2a01:4f8:1c0c:8221::245 +omm.bula22.de. IN A 10.42.132.2 ; External Services vcp-bula-mon.bula22.de. IN AAAA 2a01:4f8:c0c:15f1::8105 diff --git a/hosts/monitoring/configuration.nix b/hosts/monitoring/configuration.nix index 167aeca..5d8a9fd 100644 --- a/hosts/monitoring/configuration.nix +++ b/hosts/monitoring/configuration.nix @@ -208,6 +208,7 @@ with lib; "nerd.bula22.de" "pre-router.bula22.de" "nixdeploy.bula22.de" + "omm.bula22.de" ]; labels = { "module" = "icmp4"; diff --git a/hosts/router/10-net-services.nix b/hosts/router/10-net-services.nix index d563f4f..1fca1cc 100644 --- a/hosts/router/10-net-services.nix +++ b/hosts/router/10-net-services.nix @@ -17,6 +17,9 @@ { address = "2a01:4f8:1c0c:8221::1"; prefixLength = 64; } { address = "2a01:4f8:1c0c:8221::2"; prefixLength = 64; } ]; + networking.interfaces.net-services.ipv4.routes = [ + { address = "10.42.132.0"; prefixLength = 23; via = "10.42.10.6"; } + ]; services.radvd.config = '' interface net-services {