FRR | BFD config wrong with HA sync on backup host

Aperta
#5,957 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
php
Ambito
networking

Direzione di ricerca

Start in the FRR plugin under net/frr in the plugins repo, where the BFD configuration is written into the FRR template and then HA-synced; find the code that emits the BFD peer stanzas and the sync path that copies the primary host's addresses. Reproduce on a backup node by triggering HA sync and comparing show bfd peers there against the primary. Done means backup sessions use the backup node's own source address and configured timers, or BFD is deliberately excluded from sync.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

support

When using HA synchronization to a backup host, the FRR BFD configuration is synchronized with the IP addresses of the primary host.

The BFD sessions are established successfully. However, if non-default BFD timers are configured, the sessions on the backup host use the default timer values instead.

Diagnostics on the backup host show two BFD sessions for each session configured on the primary host:

  • One session using the primary host's IP address with the configured timer values.
  • One session using the backup host's IP address with the default timer values.
    A possible solution would be to exclude the BFD configuration from FRR HA synchronization, as manual changes are overwritten during each synchronization.

A better solution would be to allow the source interface to be specified instead of a static source IP address, so that each HA node automatically uses its own local interface IP address.

Lingua principale
PHP
Stelle
1.2k
Fork
926
Merge medio
1g 10h
PR unite (30g)
25

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di opnsense/plugins

Tutte le issue di opnsense/plugins

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.