summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-23 11:51:09 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-23 11:51:09 +0200
commit6e61f94862f07b46c7454157c40fbef6cc27ef4c (patch)
treede8de520158a754aa1fef4de330055eddb300a4e
parentbf147771f75ac4dad43593ba319225379368da01 (diff)
downloadnixos-6e61f94862f07b46c7454157c40fbef6cc27ef4c.tar
nixos-6e61f94862f07b46c7454157c40fbef6cc27ef4c.tar.gz
nixos-6e61f94862f07b46c7454157c40fbef6cc27ef4c.tar.bz2
nixos-6e61f94862f07b46c7454157c40fbef6cc27ef4c.tar.xz
nixos-6e61f94862f07b46c7454157c40fbef6cc27ef4c.zip
Routers via dhcp from ymir on yggdrasil
-rw-r--r--ymir.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/ymir.nix b/ymir.nix
index 7fe6ec62..45c0668b 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -920,8 +920,14 @@ in rec {
920 { hostName = "hel"; ethernetAddress = "ee:10:15:9a:cc:1f"; ipAddress = "hel.midgard.yggdrasil"; } 920 { hostName = "hel"; ethernetAddress = "ee:10:15:9a:cc:1f"; ipAddress = "hel.midgard.yggdrasil"; }
921 ]; 921 ];
922 extraConfig = '' 922 extraConfig = ''
923 option rfc3442-classless-static-routes code 121 = array of integer 8;
924 option ms-classless-static-routes code 249 = array of integer 8;
925
923 subnet 10.141.0.0 netmask 255.255.0.0 { 926 subnet 10.141.0.0 netmask 255.255.0.0 {
924 range 10.141.255.0 10.141.255.254; 927 range 10.141.255.0 10.141.255.254;
928
929 option rfc3442-classless-static-routes 24, 10, 141, 4, 10, 141, 1, 5, 24, 10, 141, 1, 10, 141, 1, 1;
930 option ms-classless-static-routes 24, 10, 141, 4, 10, 141, 1, 5, 24, 10, 141, 1, 10, 141, 1, 1;
925 } 931 }
926 ''; 932 '';
927 }; 933 };