Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[frrcfgd] Add support for v6only option for unnumbered BGP peers #14955

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lukasstockner
Copy link
Contributor

Why I did it

This option is useful to force FRR to use unnumbered BGP peering despite an IPv4 address being configured on the interface.

How I did it

Added the option to the Jinja2 template and frrcfgd.

How to verify it

  • Configure unnumbered BGP peering on an interface
  • Observe that the peering is successful
  • Add an IPv4 address to the interface (e.g. 192.0.2.1/31)
  • Observe that FRR no longer tries to connect to the LLA IPv6 of the peer, but only to the peer IP it computes from the local IP (e.g. 192.0.2.0)
  • Enable v6only option for this peer
  • Observe that FRR uses unnumbered peering again

Which release branch to backport (provide reason below if selected)

None (it's a feature)

Tested branch (Please provide the tested image version)

  • 202111
  • 202205

Description for the changelog

Add support for v6only option for unnumbered BGP peers

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

Signed-off-by: Lukas Stockner <lukas.stockner@freenet.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant