In order to implement L3VPN for IPv4 & IPv6, BGP should supports VPNv4 & VPNv6 Address Families.
Description
Details
- Version
- -
- Is it a breaking change?
- Unspecified (possibly destroys the router)
- Issue type
- Feature (new functionality)
Related Objects
- Mentioned In
- rVYOSONEXda453ff4a810: bgp: T2771: adjust verify() logic to common coding style for validation
rVYOSONEXf4f081cefcc5: bgp: xml: T2771: add filter-list building block
rVYOSONEX100614ab3a96: bgp: xml: T2771: remove duplicated XML nodes
rVYOSONEX1733ebf10aed: bgp: T2771: add vpn, multicast, flowspec address families
Event Timeline
Bellow a sample of how BGP VPNv4 and VPNv6 AF configuration looks like:
router bgp 65000
bgp router-id 11.11.11.11
bgp log-neighbor-changes
neighbor 55.55.55.55 remote-as 65000
neighbor 55.55.55.55 update-source Loopback0
!
address-family vpnv4
neighbor 55.55.55.55 activate neighbor 55.55.55.55 send-community extended
exit-address-family
!
address-family vpnv6
neighbor 55.55.55.55 activate neighbor 55.55.55.55 send-community extended
exit-address-family
!
address-family ipv4 vrf CLIENT-A
redistribute ospf 10
exit-address-family
I have successfully added a *ton* of address families in my build. I will PR it, but we also have found an error. The error that we have found is an FRR error at this link here.
https://github.com/FRRouting/frr/issues/8246
Once I finish up and verifying all of my work I will be putting a PR this week to add address families inside of BGP. Please note, they will be incomplete.....as we'll add more over time. But they do seemingly work otherwise.
FRR coder Donald Sharp kicked ass and fixed it here...
https://github.com/FRRouting/frr/pull/8275
Once this PR is into FRR then we should be able to put in my PR for BGP.
I put in a PR for this:
https://github.com/vyos/vyos-1x/pull/806
We still have problems though as the bug is still not fixed yet in FRR. I checked on this bug and unfortunately the PR that was supposed to fix it did not. I'm still bugging Donald Sharp on it. When it is fixed we'll merge.