On Mon, Jan 28, 2019 at 04:21:18PM +0000, Duchet Rémy wrote:
> Bonjour la liste,
> 
>  
> 
> Nous avons décidé de nous lancer sur du RS pour collecter toutes nos routes.
> Nous avons donc nos serveurs installé et UP-TO-DATE avec FRR.
> 
> Pour la partie IPv4 tout roule. 
> 
> Pour la partie IPv6, ça ne fonctionne pas du tout, la session BGP est reset.
> 
> 
> Coté routeur, c’est du Cisco ASR, avec rien d’exotique (à mon sens) dans la
> config :
> 
>  
> 
> router bgp XXXXX
> 
> bgp router-id XXX.XXX.XXX.XXX
> 
> no bgp enforce-first-as
> 
> bgp log-neighbor-changes
> 
> neighbor XXXX:XXXX::XX remote-as XXXXX
> 
>  
> 
> address-family ipv6
> 
>   network XXXX:XXXX::XX::/32
> 
>   neighbor XXXX:XXXX::XX activate
> 
>   neighbor XXXX:XXXX::XX next-hop-self
> 
>   neighbor XXXX:XXXX::XX allowas-in
> 
>   neighbor XXXX:XXXX::XX soft-reconfiguration inbound
> 
> exit-address-family
> 
>  
> 
> Coté FRR : 
> 
> router bgp XXXXX view route-server 
> 
>  bgp router-id XXX.XXX.XXX.XXX
> 
> neighbor XXXX:XXXX::XX remote-as XXXXX
> 
> !
> 
> address-family ipv6 unicast
> 
>   neighbor XXXX:XXXX::XX activate
> 
>   neighbor XXXX:XXXX::XX as-override
> 
>   neighbor XXXX:XXXX::XX soft-reconfiguration inbound
> 
>   neighbor XXXX:XXXX::XX route-server-client
> 
>   neighbor XXXX:XXXX::XX attribute-unchanged next-hop
> 
> exit-address-family
> 
>  
> 
> Extrait de logs de FRR : 
> 
>  
> 
> 2019/01/28 15:21:06 BGP: u903:s941 add peer XXXX:XXXX::XX
> 
> 2019/01/28 15:21:06 BGP: XXXX:XXXX::XX: Interface not set appropriately to
> handle this some attributes
> 
> 2019/01/28 15:21:06 BGP: XXXX:XXXX::XX: Attribute MP_REACH_NLRI, parse error
> - treating as withdrawal
> 
> 2019/01/28 15:21:06 BGP: XXXX:XXXX::XX rcvd UPDATE with errors in attr(s)!!
> Withdrawing route.
> 
> 2019/01/28 15:21:06 BGP: XXXX:XXXX::XX [Error] Update packet error (wrong
> prefix length 64 for afi 1)
> 

Tu as essayé d'ajouter "version 4+" à ta conf neighbor de FRR ?

> 2019/01/28 15:21:06 BGP: XXXX:XXXX::XX [Error] Error parsing NLRI
> 
> 2019/01/28 15:21:06 BGP: bgp_process_packet: BGP UPDATE receipt failed for
> peer: XXXX:XXXX::XX
> 
> 2019/01/28 15:21:06 BGP: XXXX:XXXX::XX remove from all update group
> 
> 2019/01/28 15:21:06 BGP: delete subgroup u903:s941
> 
> 2019/01/28 15:21:06 BGP: delete update group 903
> 
> 2019/01/28 15:21:21 BGP: bind to interface route-server failed, errno=1
> 
> 2019/01/28 15:21:21 BGP: XXXX:XXXX::XX unrecognized capability code: 70 -
> ignored
> 
> 2019/01/28 15:21:21 BGP: create update group 904
> 
> 2019/01/28 15:21:21 BGP: create subgroup u904:s942
> 
> 2019/01/28 15:21:21 BGP: u904:s942 add peer XXXX:XXXX::XX
> 
> 2019/01/28 15:21:21 BGP: XXXX:XXXX::XX: Interface not set appropriately to
> handle this some attributes
> 
> 2019/01/28 15:21:21 BGP: XXXX:XXXX::XX: Attribute MP_REACH_NLRI, parse error
> - treating as withdrawal
> 
> 2019/01/28 15:21:21 BGP: XXXX:XXXX::XX rcvd UPDATE with errors in attr(s)!!
> Withdrawing route.
> 
> 2019/01/28 15:21:21 BGP: XXXX:XXXX::XX [Error] Update packet error (wrong
> prefix length 64 for afi 1)
> 
> 2019/01/28 15:21:21 BGP: XXXX:XXXX::XX [Error] Error parsing NLRI
> 
> 2019/01/28 15:21:21 BGP: bgp_process_packet: BGP UPDATE receipt failed for
> peer: XXXX:XXXX::XX
> 
> 2019/01/28 15:21:21 BGP: XXXX:XXXX::XX remove from all update group
> 
> 2019/01/28 15:21:21 BGP: delete subgroup u904:s942
> 
> 2019/01/28 15:21:21 BGP: delete update group 904
> 
>  
> 
> J’ai regardé sur le « unrecognized capability code: 70 » qui semble être ça
> https://github.com/FRRouting/frr/issues/2864 , mais rien de sûr. 
> 
> Du coup, comme j’imagine que d’autre ont déjà en prod du FRR avec IPv6 et du
> CISCO, peut-être que l’un de la liste aurais une idée.
> 
> Je précise que j’ai déjà essayé avec 0 options sur le FRR + ASR (as-override
> , soft-reconfig, attribute-unchanged etc..)
> 


>  
> 
> Merci pour vos lumières,
> 
>  
> 
> Rémy
> 
>  
> 



---------------------------
Liste de diffusion du FRnOG
http://www.frnog.org/

Répondre à