From 6e61f94862f07b46c7454157c40fbef6cc27ef4c Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 23 Apr 2018 11:51:09 +0200 Subject: Routers via dhcp from ymir on yggdrasil --- ymir.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ymir.nix b/ymir.nix index 7fe6ec62..45c0668b 100644 --- a/ymir.nix +++ b/ymir.nix @@ -920,8 +920,14 @@ in rec { { hostName = "hel"; ethernetAddress = "ee:10:15:9a:cc:1f"; ipAddress = "hel.midgard.yggdrasil"; } ]; extraConfig = '' + option rfc3442-classless-static-routes code 121 = array of integer 8; + option ms-classless-static-routes code 249 = array of integer 8; + subnet 10.141.0.0 netmask 255.255.0.0 { range 10.141.255.0 10.141.255.254; + + option rfc3442-classless-static-routes 24, 10, 141, 4, 10, 141, 1, 5, 24, 10, 141, 1, 10, 141, 1, 1; + option ms-classless-static-routes 24, 10, 141, 4, 10, 141, 1, 5, 24, 10, 141, 1, 10, 141, 1, 1; } ''; }; -- cgit v1.2.3