blade-router: put radvd config in correct place
This commit is contained in:
parent
c5fc727f7a
commit
7de4d2690e
1 changed files with 18 additions and 18 deletions
|
@ -127,24 +127,24 @@ with lib;
|
||||||
virtualRouterId = 2;
|
virtualRouterId = 2;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
services.radvd = {
|
||||||
services.radvd = {
|
enable = true;
|
||||||
enable = true;
|
config = ''
|
||||||
config = ''
|
interface br-public {
|
||||||
interface br-public {
|
AdvSendAdvert on;
|
||||||
AdvSendAdvert on;
|
MinRtrAdvInterval 30;
|
||||||
MinRtrAdvInterval 30;
|
MaxRtrAdvInterval 100;
|
||||||
MaxRtrAdvInterval 100;
|
AdvRASrcAddress {
|
||||||
AdvRASrcAddress {
|
${config.my.blade-router.addresses.br-public-vip.v6-ll.addr};
|
||||||
${config.my.blade-router.addresses.br-public-vip.v6-ll.addr};
|
};
|
||||||
|
prefix ${config.my.blade-router.addresses.br-public-radvd-prefix.addr}/${toString config.my.blade-router.addresses.br-public-radvd-prefix.prefixLength} {
|
||||||
|
AdvOnLink on;
|
||||||
|
AdvAutonomous on;
|
||||||
|
AdvRouterAddr off;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
prefix ${config.my.blade-router.addresses.br-public-radvd-prefix.addr}/${toString config.my.blade-router.addresses.br-public-radvd-prefix.prefixLength} {
|
'';
|
||||||
AdvOnLink on;
|
};
|
||||||
AdvAutonomous on;
|
|
||||||
AdvRouterAddr off;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue