Hello!
FRR follows multiple other vendors in regard of AFI activation. By default IPv4 unicast is enabled for every neighbour. Thus you need to deactivate it for every pure IPv6 peer like
address-family ipv4 unicast
no neighbor 2a02:db8::1 activate
On the other hand you can get rid of this default behavior with 'no bgp default ipv4-unicast'. In this case though you need to explicitly activate IPv4 unicast AFI for every IPv4 peer.
Dears,
we are struggeling with a setup, where we have a BGP setup with our carrier and IPv4 works just fine (two endpoints on our side, two on theirs) on the same two connections we are also trying to advertise IPv6 prefixes, however, in that case the carrier router spits out this error message. The FRR is running on a pfsense on our side, however, there is no need to use the ui to do the configuration, we did that already on the CLI.
BGP_NLRI_MISMATCH: bgp_process_caps: mismatch NLRI with 2001:xxxx:x:x:x:x:xx:xxxx (External AS 1xxxx): peer: <inet-unicast inet6-unicast>(17) us: <inet6-unicast>(16) (instance master)
Which tells me that we are offering IPv6 and IPv4 but they only want ipv6, correct ?
The configuration on our side is as follows
frr version 7.5.1frr defaults traditionalhostname XXXXXXservice integrated-vtysh-config!password some_password!ip router-id 62.xx.xx.x!router bgp 1xxxxbgp router-id 62.xx.xx.xxbgp log-neighbor-changesno bgp network import-checkneighbor 62.x.x.x remote-as 3xxxneighbor 62.x.x.x description Lumen peerneighbor 62.x.x.x bfdneighbor 62.x.x.x password PASSWORDneighbor 62.x.x.x update-source 62.xx.xx.xxneighbor 2001:xxxx:x:x:x:x:x:xxxx remote-as 3xxxneighbor 2001:xxxx:x:x:x:x:x:xxxx description Lumen Circuit 1 - IPv6neighbor 2001:xxxx:x:x:x:x:x:xxxx bfdneighbor 2001:xxxx:x:x:x:x:x:xxxx password PASSWORDneighbor 2001:xxxx:x:x:x:x:x:xxxx update-source 2001:xxxx:x:x:x:x:xx:xxxx!address-family ipv4 unicastnetwork 62.x.x.xxx/25 route-map ALLOW-ALLnetwork 212.x.x.x/29 route-map ALLOW-ALLneighbor 62.x.x.x route-map ALLOW-ALL inneighbor 62.x.x.x route-map ALLOW-ALL outexit-address-family!address-family ipv6 unicastnetwork 2001:XXXX:XXXX:X::/64 route-map ALLOW-ALLnetwork 2001:XXXX:XXXX::/48 route-map ALLOW-ALLneighbor 2001:1900:x:x:x:x:x:xxxx activateno neighbor 2001:1900:x:x:x:x:x:xxxx send-communityneighbor 2001:1900:x:x:x:x:x:xxxx route-map ALLOW-ALL inneighbor 2001:1900:x:x:x:x:x:xxxx route-map ALLOW-ALL outexit-address-family!route-map ALLOW-ALL permit 100description Match any route!line vty!bfdpeer 62.x.x.x local-address 62.xx.xx.xx interface vtnet0no shutdown!!
any help on how to continue with this is very much appreciated. We have no idea what to do here
CheersSoeren