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

bgpd: fix ipv6 nexthop-local unchanged #17037

Merged
merged 4 commits into from
Oct 11, 2024

Commits on Oct 9, 2024

  1. Revert "bgpd: Exclude case for remote prefix w/o link-local"

    This reverts commit 5f6a61f.
    
    Signed-off-by: Louis Scalbert <[email protected]>
    louis-6wind committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    38ad215 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2024

  1. bgpd: do not insert link-local with local unchanged

    Do not add an IPv6 link-local nexthop if the originating peer does not
    provide one and the nexthop-local unchanged setting is enabled.
    
    Signed-off-by: Louis Scalbert <[email protected]>
    louis-6wind committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    34c1dd0 View commit details
    Browse the repository at this point in the history
  2. bgpd: reset ipv6 invalid link-local nexthop

    If the "nexthop-local unchanged" setting is enabled, it preserves the
    IPv6 link-local nexthop from the originating peer. However, if the
    originating and destination peers are not on the same network segment,
    the originating peer's IPv6 link-local address will be unreachable from
    the destination peer.
    
    In such cases, reset the IPv6 link-local nexthop, even if "nexthop-local
    unchanged" is set on the destination peer.
    
    Signed-off-by: Louis Scalbert <[email protected]>
    louis-6wind committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    5bb99cc View commit details
    Browse the repository at this point in the history
  3. topotests: add bgp_nexthop_ipv6

    Add bgp_nexthop_ipv6 to check the ipv6 link-local nexthop conformity in
    several situations.
    
    Signed-off-by: Louis Scalbert <[email protected]>
    louis-6wind committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    6dc4d95 View commit details
    Browse the repository at this point in the history