From 1eee0c8e2c1bf7f2021f4a1a82e79626b88fada3 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 4 Jan 2026 00:36:04 +0200 Subject: Update content for html --- gemfeed/2025-07-14-f3s-kubernetes-with-freebsd-part-6.html | 8 +++++++- gemfeed/atom.xml | 10 ++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) (limited to 'gemfeed') diff --git a/gemfeed/2025-07-14-f3s-kubernetes-with-freebsd-part-6.html b/gemfeed/2025-07-14-f3s-kubernetes-with-freebsd-part-6.html index 470a19e7..8c00b326 100644 --- a/gemfeed/2025-07-14-f3s-kubernetes-with-freebsd-part-6.html +++ b/gemfeed/2025-07-14-f3s-kubernetes-with-freebsd-part-6.html @@ -983,18 +983,24 @@ paul@f1:~ % doas zfs list -t snapshot -r zdata/sink | grep zrepl | tail - First, we add the CARP configuration to /etc/rc.conf on both f0 and f1:

+Update: Sun 4 Jan 00:17:00 EET 2026 - Added advskew 100 to f1 so f0 always wins CARP elections when it comes back online after a reboot.
+
-
# The virtual IP 192.168.1.138 will float between f0 and f1
+
# On f0 - The virtual IP 192.168.1.138 will float between f0 and f1
 ifconfig_re0_alias0="inet vhid 1 pass testpass alias 192.168.1.138/32"
+
+# On f1 - Higher advskew means lower priority, so f0 wins elections
+ifconfig_re0_alias0="inet vhid 1 advskew 100 pass testpass alias 192.168.1.138/32"
 

Whereas:

  • vhid 1: Virtual Host ID - must match on all CARP members
  • +
  • advskew: Advertisement skew - higher value means lower priority (f1 uses 100, f0 uses default 0)
  • pass testpass: Password for CARP authentication (if you follow this, use a different password!)
  • alias 192.168.1.138/32: The virtual IP address with a /32 netmask

diff --git a/gemfeed/atom.xml b/gemfeed/atom.xml index 781298dd..a6cb7bb4 100644 --- a/gemfeed/atom.xml +++ b/gemfeed/atom.xml @@ -1,6 +1,6 @@ - 2026-01-04T00:05:40+02:00 + 2026-01-04T00:34:59+02:00 foo.zone feed To be in the .zone! @@ -7381,18 +7381,24 @@ paul@f1:~ % doas zfs list -t snapshot -r zdata/sink | grep zrepl | tail - First, we add the CARP configuration to /etc/rc.conf on both f0 and f1:

+Update: Sun 4 Jan 00:17:00 EET 2026 - Added advskew 100 to f1 so f0 always wins CARP elections when it comes back online after a reboot.
+
-
# The virtual IP 192.168.1.138 will float between f0 and f1
+
# On f0 - The virtual IP 192.168.1.138 will float between f0 and f1
 ifconfig_re0_alias0="inet vhid 1 pass testpass alias 192.168.1.138/32"
+
+# On f1 - Higher advskew means lower priority, so f0 wins elections
+ifconfig_re0_alias0="inet vhid 1 advskew 100 pass testpass alias 192.168.1.138/32"
 

Whereas:

  • vhid 1: Virtual Host ID - must match on all CARP members
  • +
  • advskew: Advertisement skew - higher value means lower priority (f1 uses 100, f0 uses default 0)
  • pass testpass: Password for CARP authentication (if you follow this, use a different password!)
  • alias 192.168.1.138/32: The virtual IP address with a /32 netmask

-- cgit v1.2.3