Project

General

Profile

Actions

Bug #8729

closed

IPv6 - FRR BGP issue with Redistribute connected networks

Added by Marc Planquart over 5 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
FRR
Target version:
-
Start date:
08/01/2018
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:

Description

Environment: FRR BGP with pfSense 2.4.3_1
Use Case: Redistribute IPv6 networks (/64 networks from a /48 subnet).
The IPv6 networks to redistribute are directly connected to pfSense.

Bug:
Selecting Yes to "Redistribute connected network" is not picking up those IPv6 networks.
If the networks are added manually to Networks to Distribute, everything works fine.

Actions #1

Updated by Jim Pingle over 5 years ago

Looks like FRR assumes the globally declared option to be IPv4 only.

In bgpd.conf:

router bgp 65506
  redistribute connected
  address-family ipv4 unicast
   network 10.6.0.0/16

But when viewing the running configuration from vtysh:

router bgp 65506
 ...
 address-family ipv4 unicast
  network 10.6.0.0/16
  redistribute connected
 exit-address-family

So it looks like we may need to change the current No/Yes options to allow None, IPv4, IPv6, or Both, and then put the directives in the appropriate address-family block.

Actions #2

Updated by Viktor Gurov about 4 years ago

This PR allow to select No/IPv4/IPv6/IPv4+IPv6 in the Redistribute drop-down menu (where 'IPv4+IPv6' is 'yes' for backward compatibility with previous configs)
It also fix creating 'address-family' entries in bgpd.conf, by doing this in more accurate way:
https://github.com/pfsense/FreeBSD-ports/pull/774

Actions #3

Updated by Jim Pingle about 4 years ago

  • Status changed from New to Pull Request Review
Actions #4

Updated by Renato Botelho about 4 years ago

  • Status changed from Pull Request Review to Feedback
  • % Done changed from 0 to 100

PR has been merged. Thanks!

Actions #5

Updated by Viktor Gurov about 4 years ago

  • Status changed from Feedback to Resolved

tested on 2.5.0.a.20200305.2255 with frr 0.6.4_2

works as expected - address family sections now looks good

Actions

Also available in: Atom PDF