FRR | BFD config wrong with HA sync on backup host

Abierto
#5,957 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
45/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
php
Área
networking

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
PHP
Estrellas
1.2k
Forks
926
Merge medio
1 d 10 h
PR fusionados (30 d)
25

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de opnsense/plugins

Todos los issues de opnsense/plugins

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.