From b0f8dc2ad1be28ad2d4faee4b37863cb4e49566f Mon Sep 17 00:00:00 2001 From: Petru Paler Date: Wed, 22 Nov 2023 07:33:52 +0000 Subject: [PATCH] Set distinct VRIDs for keepalived. --- services/traefik.hcl | 1 + services/unifi.hcl | 1 + 2 files changed, 2 insertions(+) diff --git a/services/traefik.hcl b/services/traefik.hcl index 4a7d7f1..d0e03e7 100644 --- a/services/traefik.hcl +++ b/services/traefik.hcl @@ -135,6 +135,7 @@ EOH env { KEEPALIVED_INTERFACE = "eno1" KEEPALIVED_VIRTUAL_IPS = "192.168.1.100/24" + KEEPALIVED_ROUTER_ID = "52" # defaults to 51 KEEPALIVED_UNICAST_PEERS = "" KEEPALIVED_STATE = "MASTER" KEEPALIVED_VIRTUAL_ROUTES = "" diff --git a/services/unifi.hcl b/services/unifi.hcl index c9898b3..ea9f4ea 100644 --- a/services/unifi.hcl +++ b/services/unifi.hcl @@ -65,6 +65,7 @@ job "unifi" { KEEPALIVED_INTERFACE = "eno1" # To change this go to Settings > System > Advanced in unifi and set the Inform Host KEEPALIVED_VIRTUAL_IPS = "192.168.1.101/24" + KEEPALIVED_ROUTER_ID = "53" # defaults to 51 KEEPALIVED_UNICAST_PEERS = "" KEEPALIVED_STATE = "MASTER" KEEPALIVED_VIRTUAL_ROUTES = ""