blade-{paris,tuvok}: add radvd

This commit is contained in:
Luke Granger-Brown 2021-03-29 23:04:26 +01:00
parent 878a457c83
commit 8236c7f698
2 changed files with 38 additions and 0 deletions

View file

@ -109,4 +109,23 @@ in {
virtualRouterId = 2;
};
};
services.radvd = {
enable = true;
config = ''
interface br-public {
AdvSendAdvert on;
MinRtrAdvInterval 30;
MaxRtrAdvInterval 100;
AdvRASrcAddress {
fe80::f00f;
};
prefix 2a09:a441:ffff:ffff::/64 {
AdvOnLink on;
AdvAutonomous on;
AdvRouterAddr off;
};
};
'';
};
}

View file

@ -144,4 +144,23 @@ in {
virtualRouterId = 2;
};
};
services.radvd = {
enable = true;
config = ''
interface br-public {
AdvSendAdvert on;
MinRtrAdvInterval 30;
MaxRtrAdvInterval 100;
AdvRASrcAddress {
fe80::f00f;
};
prefix 2a09:a441:ffff:ffff::/64 {
AdvOnLink on;
AdvAutonomous on;
AdvRouterAddr off;
};
};
'';
};
}