os-frr: BGP neighbor "update-source" is ignored for IPv6 neighbors

Aperta Adatta ai principianti
#5,918 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
70/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
php
Ambito
networking

Direzione di ricerca

Inizia dalla generazione della configurazione dei neighbor BGP nel plugin os-frr e confronta come i neighbor IPv4 e IPv6 gestiscono l’impostazione salvata «Update-Source Interface». Riproduci il problema aggiungendo un neighbor IPv6 con questa impostazione e controllando la configurazione in esecuzione. Il lavoro è completato quando la configurazione generata include la riga update-source del neighbor per IPv6, come avviene per IPv4.

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

Descrizione

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

Describe the bug
When the "Update-Source Interface" is set on a IPv6 BGP neighbor, the option never reaches the generated FRR configuration. There is no error or warning, the setting is saved in the GUI but the neighbor

update-source line is missing from the config. For IPv4 neighbors the same setting works as expected.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Routing -> BGP -> Neighbors
  2. Add a neighbor with a IPv6 address, set "Update-Source Interface" to Loopback
  3. Check the generated config under Routing -> Diagnostics -> General -> Running configuration
  4. The expected update-source line is missing

Expected behavior
update-source is rendered for IPv6 neighbors in the same way as for IPv4 neighbors:

Screenshots
If applicable, add screenshots to help explain your problem.

Relevant log files
If applicable, information from log files supporting your claim.

Additional context
Add any other context about the problem here.

Environment
OPNsense 26.7.9
I could also reproduce the issue on OPNsense 26.1.11

Lingua principale
PHP
Stelle
1.2k
Fork
909
Merge medio
1g 23h
PR unite (30g)
17

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.