router03: enable VRRP
This commit is contained in:
parent
fa0ce6b7ef
commit
2555b97680
1 changed files with 2 additions and 10 deletions
|
@ -3,21 +3,13 @@
|
|||
krz-router = {
|
||||
enable = true;
|
||||
enablePrimary = true;
|
||||
routerId = 1;
|
||||
virtualRouterId = 1;
|
||||
vip = "129.199.146.230";
|
||||
rip = "129.199.146.231";
|
||||
trunkPort.macAddress = "92:E3:9C:CE:EF:14";
|
||||
};
|
||||
|
||||
# services.keepalived.enable = true;
|
||||
# services.keepalived.vrrpInstances.wan = {
|
||||
# interface = "swp";
|
||||
# state = "MASTER";
|
||||
# priority = 50;
|
||||
# virtualIps = [{ addr = "129.199.146.230"; }];
|
||||
# virtualRouterId = 1;
|
||||
# };
|
||||
|
||||
|
||||
# systemd.services."systemd-networkd".environment.SYSTEMD_LOG_LEVEL = "debug";
|
||||
environment.systemPackages = [ pkgs.tcpdump pkgs.wireguard-tools ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue