Project

General

Profile

Actions

Regression #12582

closed

RADVD can be started on both HA nodes when configured with an IPv6 link-local address

Added by Viktor Gurov almost 3 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Viktor Gurov
Category:
DHCP (IPv6)
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
22.05
Release Notes:
Default
Affected Version:
2.5.2
Affected Architecture:

Description

If IPv6 link-local address is used as `rainterface`, the status of the CARP VIP is not checked (get_carp_interfaces_status())

related to #11103


Related issues

Related to Feature #11103: Use virtual link local IP address as RA source address for HA environmentsResolvedRenato Botelho11/25/2020

Actions
Actions #1

Updated by Viktor Gurov almost 3 years ago

  • Related to Feature #11103: Use virtual link local IP address as RA source address for HA environments added
Actions #3

Updated by znerol znerol almost 3 years ago

Theory

It is in fact expected behavior that radvd is starting on both hosts. radvd is supposed to send RAs for a given interface iff the link-local address configured in AdvRASrcAddress is present on the interface.

Practice

This works well in Linux because Keepalived makes sure that the virtual link-local address is configured on one node only. In BSD/CARP however, a virtual CARP address is always configured on all nodes. It is just flaged with MASTER/BACKUP.

Regrettably radvd is not aware of the address flags in BSD. Thus, it will send RAs regardless of whether a link-local address is flagged with MASTER or BACKUP. I intended to report that upstream, but honestly forgot about it.

Summary

Thus, I agree that we need a workaround in pfSense until upstream radvd is patched to respect MASTER/BACKUP address flags on BSDs.

Actions #5

Updated by Jim Pingle almost 3 years ago

  • Status changed from New to Pull Request Review
  • Assignee set to Viktor Gurov
  • Target version set to CE-Next
  • Plus Target Version set to Plus-Next
Actions #6

Updated by Viktor Gurov almost 3 years ago

  • Status changed from Pull Request Review to Feedback
  • % Done changed from 0 to 100
Actions #7

Updated by Jim Pingle over 2 years ago

  • Target version changed from CE-Next to 2.7.0
  • Plus Target Version changed from Plus-Next to 22.05
Actions #8

Updated by Jim Pingle over 2 years ago

  • Subject changed from RADVD can be started on both HA nodes if IPv6 link-local address is used to RADVD can be started on both HA nodes when configured with an IPv6 link-local address

Updating subject for release notes.

Actions #9

Updated by Jim Pingle over 2 years ago

  • Status changed from Feedback to Resolved

Seems to be OK. With radvd set to use an LL VIP I still only see radvd running on the node with master status on its VIPs.

Actions

Also available in: Atom PDF