Centralize IPv6 GUA prefix configuration
This commit is contained in:
parent
f95617dfa4
commit
89516c5477
4 changed files with 181 additions and 172 deletions
|
@ -1,6 +1,5 @@
|
|||
{ ... }:
|
||||
{ config, ... }:
|
||||
let
|
||||
gua_pref = "2001:14ba:a090:39";
|
||||
v4_pref = "192.168.251";
|
||||
in
|
||||
{
|
||||
|
@ -8,12 +7,12 @@ in
|
|||
jool = {
|
||||
enable = true;
|
||||
siit.default = {
|
||||
global.pool6 = "${gua_pref}46::/96";
|
||||
global.pool6 = "${config.custom.gua_pref}46::/96";
|
||||
|
||||
# Explicit address mappings
|
||||
eamt = [
|
||||
{
|
||||
"ipv6 prefix" = "${gua_pref}d1:be24:11ff:fe42:dd76/128";
|
||||
"ipv6 prefix" = "${config.custom.gua_pref}d1:be24:11ff:fe42:dd76/128";
|
||||
"ipv4 prefix" = "${v4_pref}.1/32";
|
||||
}
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue