Bug #8729
closedIPv6 - FRR BGP issue with Redistribute connected networks
100%
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.
Updated by Jim Pingle almost 7 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.
Updated by Viktor Gurov about 5 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
Updated by Jim Pingle about 5 years ago
- Status changed from New to Pull Request Review
Updated by Renato Botelho about 5 years ago
- Status changed from Pull Request Review to Feedback
- % Done changed from 0 to 100
PR has been merged. Thanks!
Updated by Viktor Gurov about 5 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