diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-23 11:51:09 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-23 11:51:09 +0200 |
| commit | 6e61f94862f07b46c7454157c40fbef6cc27ef4c (patch) | |
| tree | de8de520158a754aa1fef4de330055eddb300a4e | |
| parent | bf147771f75ac4dad43593ba319225379368da01 (diff) | |
| download | nixos-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.nix | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -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 | }; |
