Re: [FRnOG] [TECH] FRRouting - Routage BGP IPv6

2018-08-17 Par sujet Josué Tille
Bonjour,

Finalement c'était mon upstream qui n'avait pas mis à jours ses filtres.

Merci pour votre aide



Le 17.08.18 à 11:19, Xavier Lemaire a écrit :
> Bonjour
>
> Je viens de repêcher ce fil. Frrouting m'a un peu cassé la tếte il y a peu.
> Mais ça fonctionne en IPV6 aussi :)
>
> Quelle Version ?? perso je suis en frr3-3.03 c'est à mon avis le plus gros
> problème
>
> Ensuite  la commande "show ip bgp neighbors ivp6detonpeer" te donnera le
> detail complet de ta connection
>
> regarde les champs
>
> Nexthop:
> Nexthop global:
> Nexthop local:
> J'ai eu quelques problème avec ça
>
> En fonction des versions les solutions etaient :
>
> ajouter neighbor 2001:xxx next-hop-self force *dans tous les peer
> ipv6*
>
> Dans une autre version  neighbor 2001:xx next-hop-self *dans tous les
> peer ipv6 sinon ca casse.*
>
> J'espère que ça va t'aider.
>
>
>
> 2018-08-15 10:59 GMT+02:00 Josué Tille :
>
>> Bonjours,
>>
>> Je tente de mettre en place du routage BGP avec FRRouting. En IPv4 tout
>> fonctionne par contre en IPv6, je constate que mes routes ne sont pas
>> propagée.
>>
>> Les session BGP sont pourtant établies, voici le retour de FRR :
>>
>> # show bgp summary
>>
>> IPv4 Unicast Summary:
>> BGP router identifier 62.220.150.1, local AS number 200601 vrf-id 0
>> BGP table version 744802
>> RIB entries 1296692, using 188 MiB of memory
>> Peers 2, using 41 KiB of memory
>>
>> NeighborV AS MsgRcvd MsgSent   TblVer  InQ OutQ
>> Up/Down State/PfxRcd
>> 62.220.144.170  4   6893  136566  133346000
>> 01:04:17   709936
>> 2001:788:2:156::170 4   6893   28665   28250000
>> 01:04:17 NoNeg
>>
>> Total number of neighbors 2
>>
>> IPv6 Unicast Summary:
>> BGP router identifier 62.220.150.1, local AS number 200601 vrf-id 0
>> BGP table version 60780
>> RIB entries 104252, using 15 MiB of memory
>> Peers 2, using 41 KiB of memory
>>
>> NeighborV AS MsgRcvd MsgSent   TblVer  InQ OutQ
>> Up/Down State/PfxRcd
>> 2001:788:2:156::170 4   6893   28665   28250000
>> 01:04:1754874
>>
>> Total number of neighbors 1
>>
>> Voici aussi ma config FRRouting :
>>
>> # show  running-config
>> Building configuration...
>>
>> Current configuration:
>> !
>> frr version 5.0.1
>> frr defaults traditional
>> hostname SNN-Router1
>> log file /var/log/frr/frr.log
>> service integrated-vtysh-config
>> username cumulus nopassword
>> !
>> interface dummy0
>>  description lo0.router
>>  ip address 185.250.56.1/32
>>  ipv6 address 2a0a:db40::1/128
>> !
>> interface vmbr10
>>  description to lsn-prc-aju-01.r.saitis.net
>>  ip address 62.220.144.169/30
>> !
>> interface vmbr20
>>  description to lan publicLan1
>>  ip address 185.250.56.1/27
>>  ipv6 address 2a0a:db40::1/64
>> !
>> router bgp 200601
>>  bgp router-id 62.220.150.1
>>  neighbor 62.220.144.170 remote-as 6893
>>  neighbor 2001:788:2:156::170 remote-as 6893
>>  !
>>  address-family ipv4 unicast
>>   network 185.250.56.0/22
>>  exit-address-family
>>  !
>>  address-family ipv6 unicast
>>   network 2a0a:db40::/29
>>   neighbor 2001:788:2:156::170 activate
>>  exit-address-family
>> !
>> ip route 0.0.0.0/0 62.220.144.170 254
>> !
>> line vty
>> !
>> end
>>
>> Merci d'avance pour vos réponses.
>>
>>
>>
>>
>


0xD5E068C6DFA8681D.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: [FRnOG] [TECH] FRRouting - Routage BGP IPv6

2018-08-17 Par sujet Xavier Lemaire
Bonjour

Je viens de repêcher ce fil. Frrouting m'a un peu cassé la tếte il y a peu.
Mais ça fonctionne en IPV6 aussi :)

Quelle Version ?? perso je suis en frr3-3.03 c'est à mon avis le plus gros
problème

Ensuite  la commande "show ip bgp neighbors ivp6detonpeer" te donnera le
detail complet de ta connection

regarde les champs

Nexthop:
Nexthop global:
Nexthop local:
J'ai eu quelques problème avec ça

En fonction des versions les solutions etaient :

ajouter neighbor 2001:xxx next-hop-self force *dans tous les peer
ipv6*

Dans une autre version  neighbor 2001:xx next-hop-self *dans tous les
peer ipv6 sinon ca casse.*

J'espère que ça va t'aider.



2018-08-15 10:59 GMT+02:00 Josué Tille :

> Bonjours,
>
> Je tente de mettre en place du routage BGP avec FRRouting. En IPv4 tout
> fonctionne par contre en IPv6, je constate que mes routes ne sont pas
> propagée.
>
> Les session BGP sont pourtant établies, voici le retour de FRR :
>
> # show bgp summary
>
> IPv4 Unicast Summary:
> BGP router identifier 62.220.150.1, local AS number 200601 vrf-id 0
> BGP table version 744802
> RIB entries 1296692, using 188 MiB of memory
> Peers 2, using 41 KiB of memory
>
> NeighborV AS MsgRcvd MsgSent   TblVer  InQ OutQ
> Up/Down State/PfxRcd
> 62.220.144.170  4   6893  136566  133346000
> 01:04:17   709936
> 2001:788:2:156::170 4   6893   28665   28250000
> 01:04:17 NoNeg
>
> Total number of neighbors 2
>
> IPv6 Unicast Summary:
> BGP router identifier 62.220.150.1, local AS number 200601 vrf-id 0
> BGP table version 60780
> RIB entries 104252, using 15 MiB of memory
> Peers 2, using 41 KiB of memory
>
> NeighborV AS MsgRcvd MsgSent   TblVer  InQ OutQ
> Up/Down State/PfxRcd
> 2001:788:2:156::170 4   6893   28665   28250000
> 01:04:1754874
>
> Total number of neighbors 1
>
> Voici aussi ma config FRRouting :
>
> # show  running-config
> Building configuration...
>
> Current configuration:
> !
> frr version 5.0.1
> frr defaults traditional
> hostname SNN-Router1
> log file /var/log/frr/frr.log
> service integrated-vtysh-config
> username cumulus nopassword
> !
> interface dummy0
>  description lo0.router
>  ip address 185.250.56.1/32
>  ipv6 address 2a0a:db40::1/128
> !
> interface vmbr10
>  description to lsn-prc-aju-01.r.saitis.net
>  ip address 62.220.144.169/30
> !
> interface vmbr20
>  description to lan publicLan1
>  ip address 185.250.56.1/27
>  ipv6 address 2a0a:db40::1/64
> !
> router bgp 200601
>  bgp router-id 62.220.150.1
>  neighbor 62.220.144.170 remote-as 6893
>  neighbor 2001:788:2:156::170 remote-as 6893
>  !
>  address-family ipv4 unicast
>   network 185.250.56.0/22
>  exit-address-family
>  !
>  address-family ipv6 unicast
>   network 2a0a:db40::/29
>   neighbor 2001:788:2:156::170 activate
>  exit-address-family
> !
> ip route 0.0.0.0/0 62.220.144.170 254
> !
> line vty
> !
> end
>
> Merci d'avance pour vos réponses.
>
>
>
>


-- 


FR 00 33 222 06 41 02
ES 00 34 951 820 240
ES 00 34 683 14 39 64

xav...@amassi-network.com

Ce message et ses pieces jointes peuvent contenir des informations
confidentielles ou privilegiees et ne doivent donc

pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu
ce message par erreur, veuillez le signaler

a l'expediteur et le detruire ainsi que les pieces jointes. Les messages
electroniques etant susceptibles d'alteration,

Amassi-network decline toute responsabilite si ce message a ete altere,
deforme ou falsifie. Merci.



This message and its attachments may contain confidential or privileged
information that may be protected by law;

they should not be distributed, used or copied without authorisation.

If you have received this email in error, please notify the sender and
delete this message and its attachments.

As emails may be altered, Amassi-network is not liable for messages that
have been modified, changed or falsified.

Thank you.

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


Re: [FRnOG] [TECH] FRRouting - Routage BGP IPv6

2018-08-15 Par sujet Alarig Le Lay
On mer. 15 août 14:07:38 2018, Josué Tille wrote:
> Merci pour l'aide.
> 
> Il me semble pourtant que mon préfixe est annoncé :
> 
> |# vtysh -c "show bgp neighbors 2001:788:2:156::170 advertised-routes" |
> grep "2a0a:db"||
> ||*> 2a0a:db40::/29   ::   0 32768 i||

Dans ce cas, regarde avec tcpdump si l’annonce est bien envoyée. Si
c’est le cas, c’est que ton upstream n’a pas mis à jour ses filtres,
sinon c’est que c’est un bug dans frr.

-- 
alarig


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


Re: [FRnOG] [TECH] FRRouting - Routage BGP IPv6

2018-08-15 Par sujet Josué Tille
||
||Le 15. 08. 18 à 13:43, Alarig Le Lay a écrit :
> On mer. 15 août 13:30:05 2018, Josué Tille wrote:
>> Oui les ping et telnet passent.
> Ah oui, je suis bête, c’est marqué plus haut que la session est établie…
> Tu as essayé de voir avec show ipv6 bgp neighbors ${peer}
> advertised-routes si tu annonçais bien le préfixe à ton upstream ?
>
Merci pour l'aide.

Il me semble pourtant que mon préfixe est annoncé :

|# vtysh -c "show bgp neighbors 2001:788:2:156::170 advertised-routes" |
grep "2a0a:db"||
||*> 2a0a:db40::/29   ::   0 32768 i||
|



0xD5E068C6DFA8681D.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: [FRnOG] [TECH] FRRouting - Routage BGP IPv6

2018-08-15 Par sujet Alarig Le Lay
On mer. 15 août 13:30:05 2018, Josué Tille wrote:
> Oui les ping et telnet passent.

Ah oui, je suis bête, c’est marqué plus haut que la session est établie…
Tu as essayé de voir avec show ipv6 bgp neighbors ${peer}
advertised-routes si tu annonçais bien le préfixe à ton upstream ?

-- 
alarig


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


Re: [FRnOG] [TECH] FRRouting - Routage BGP IPv6

2018-08-15 Par sujet Josué Tille

Le 15. 08. 18 à 13:21, Alarig Le Lay a écrit :
> On mer. 15 août 13:18:28 2018, Josué Tille wrote:
>> Hello,
>>
>> Merci pour la réponse. Je savais pas trop si c'était vraiment nécessaire
>> cette option. Du coup je l'ai mis mais ça marche toujours pas.
> Dans ce cas, regarde si tu peux pinguer 2001:788:2:156::170 depuis la
> machine qui fait tourner le quagga, et si tu peux telnet
> 2001:788:2:156::170 179.
>
> Si tu ne peux pas, c’est que le problème n’est pas dans ta conf frr.
>
Oui les ping et telnet passent.

Et voila un traceroute :

|# traceroute6 -s 2a0a:db40::1 2001:41d0:1:613f:: -n||
||traceroute to 2001:41d0:1:613f:: (2001:41d0:1:613f::), 30 hops max, 80
byte packets||
|| 1  2001:788:2:156::170  0.174 ms  0.191 ms  0.160 ms||
|| 2  * * *||
|| 3  * * *||
|| 4  * * *||
|| 5  * * *||
|| 6  * * *||
|



0xD5E068C6DFA8681D.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: [FRnOG] [TECH] FRRouting - Routage BGP IPv6

2018-08-15 Par sujet Alarig Le Lay
Salut,

On mer. 15 août 10:59:59 2018, Josué Tille wrote:
> ||router bgp 200601||
> || bgp router-id 62.220.150.1||
> || neighbor 62.220.144.170 remote-as 6893||
> || neighbor 2001:788:2:156::170 remote-as 6893||

Il te manque un no neighbor 2001:788:2:156::170 activate ici

> || !||
> || address-family ipv4 unicast||
> ||  network 185.250.56.0/22||
> || exit-address-family||
> || !||
> || address-family ipv6 unicast||
> ||  network 2a0a:db40::/29||
> ||  neighbor 2001:788:2:156::170 activate||
> || exit-address-family||

PS : je sais pas comment t’arrives à lire efficacement une conf avec des
doubles pipes au début et à la fin de chaque ligne

-- 
alarig


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


Re: [FRnOG] [TECH] FRRouting - Routage BGP IPv6

2018-08-15 Par sujet David Ponzone


T’as pas d’IPv6 sur ton interface wan, c’est normal ?
Je vois mal comment tu contactes le neighbor v6...

David Ponzone



> Le 15 août 2018 à 09:59, Josué Tille  a écrit :
> 
> Bonjours,
> 
> Je tente de mettre en place du routage BGP avec FRRouting. En IPv4 tout 
> fonctionne par contre en IPv6, je constate que mes routes ne sont pas 
> propagée.
> 
> Les session BGP sont pourtant établies, voici le retour de FRR :
> 
> # show bgp summary 
> 
> IPv4 Unicast Summary:
> BGP router identifier 62.220.150.1, local AS number 200601 vrf-id 0
> BGP table version 744802
> RIB entries 1296692, using 188 MiB of memory
> Peers 2, using 41 KiB of memory
> 
> NeighborV AS MsgRcvd MsgSent   TblVer  InQ OutQ  Up/Down 
> State/PfxRcd
> 62.220.144.170  4   6893  136566  133346000 01:04:17  
>  709936
> 2001:788:2:156::170 4   6893   28665   28250000 01:04:17 
> NoNeg
> 
> Total number of neighbors 2
> 
> IPv6 Unicast Summary:
> BGP router identifier 62.220.150.1, local AS number 200601 vrf-id 0
> BGP table version 60780
> RIB entries 104252, using 15 MiB of memory
> Peers 2, using 41 KiB of memory
> 
> NeighborV AS MsgRcvd MsgSent   TblVer  InQ OutQ  Up/Down 
> State/PfxRcd
> 2001:788:2:156::170 4   6893   28665   28250000 01:04:17  
>   54874
> 
> Total number of neighbors 1
> Voici aussi ma config FRRouting :
> 
> # show  running-config 
> Building configuration...
> 
> Current configuration:
> !
> frr version 5.0.1
> frr defaults traditional
> hostname SNN-Router1
> log file /var/log/frr/frr.log
> service integrated-vtysh-config
> username cumulus nopassword
> !
> interface dummy0
>  description lo0.router
>  ip address 185.250.56.1/32
>  ipv6 address 2a0a:db40::1/128
> !
> interface vmbr10
>  description to lsn-prc-aju-01.r.saitis.net
>  ip address 62.220.144.169/30
> !
> interface vmbr20
>  description to lan publicLan1
>  ip address 185.250.56.1/27
>  ipv6 address 2a0a:db40::1/64
> !
> router bgp 200601
>  bgp router-id 62.220.150.1
>  neighbor 62.220.144.170 remote-as 6893
>  neighbor 2001:788:2:156::170 remote-as 6893
>  !
>  address-family ipv4 unicast
>   network 185.250.56.0/22
>  exit-address-family
>  !
>  address-family ipv6 unicast
>   network 2a0a:db40::/29
>   neighbor 2001:788:2:156::170 activate
>  exit-address-family
> !
> ip route 0.0.0.0/0 62.220.144.170 254
> !
> line vty
> !
> end
> 
> Merci d'avance pour vos réponses.
> 
> 
> <0xD5E068C6DFA8681D.asc>
> <0xD5E068C6DFA8681D.asc>

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


[FRnOG] [TECH] FRRouting - Routage BGP IPv6

2018-08-15 Par sujet Josué Tille
Bonjours,

Je tente de mettre en place du routage BGP avec FRRouting. En IPv4 tout
fonctionne par contre en IPv6, je constate que mes routes ne sont pas
propagée.

Les session BGP sont pourtant établies, voici le retour de FRR :

|# show bgp summary ||
||
||IPv4 Unicast Summary:||
||BGP router identifier 62.220.150.1, local AS number 200601 vrf-id 0||
||BGP table version 744802||
||RIB entries 1296692, using 188 MiB of memory||
||Peers 2, using 41 KiB of memory||
||
||Neighbor    V AS MsgRcvd MsgSent   TblVer  InQ OutQ 
Up/Down State/PfxRcd||
||62.220.144.170  4   6893  136566  133346    0    0    0
01:04:17   709936||
||2001:788:2:156::170 4   6893   28665   28250    0    0    0
01:04:17 NoNeg||
||
||Total number of neighbors 2||
||
||IPv6 Unicast Summary:||
||BGP router identifier 62.220.150.1, local AS number 200601 vrf-id 0||
||BGP table version 60780||
||RIB entries 104252, using 15 MiB of memory||
||Peers 2, using 41 KiB of memory||
||
||Neighbor    V AS MsgRcvd MsgSent   TblVer  InQ OutQ 
Up/Down State/PfxRcd||
||2001:788:2:156::170 4   6893   28665   28250    0    0    0
01:04:17    54874||
||
||Total number of neighbors 1|

Voici aussi ma config FRRouting :

|# show  running-config ||
||Building configuration...||
||
||Current configuration:||
||!||
||frr version 5.0.1||
||frr defaults traditional||
||hostname SNN-Router1||
||log file /var/log/frr/frr.log
||service integrated-vtysh-config||
||username cumulus nopassword||
||!||
||interface dummy0||
|| description lo0.router||
|| ip address 185.250.56.1/32||
|| ipv6 address 2a0a:db40::1/128||
||!||
||interface vmbr10||
|| description to lsn-prc-aju-01.r.saitis.net||
|| ip address 62.220.144.169/30||
||!||
||interface vmbr20||
|| description to lan publicLan1||
|| ip address 185.250.56.1/27||
|| ipv6 address 2a0a:db40::1/64||
||!||
||router bgp 200601||
|| bgp router-id 62.220.150.1||
|| neighbor 62.220.144.170 remote-as 6893||
|| neighbor 2001:788:2:156::170 remote-as 6893||
|| !||
|| address-family ipv4 unicast||
||  network 185.250.56.0/22||
|| exit-address-family||
|| !||
|| address-family ipv6 unicast||
||  network 2a0a:db40::/29||
||  neighbor 2001:788:2:156::170 activate||
|| exit-address-family||
||!||
||ip route 0.0.0.0/0 62.220.144.170 254||
||!||
||line vty||
||!||
||end|

Merci d'avance pour vos réponses.





0xD5E068C6DFA8681D.asc
Description: application/pgp-keys


0xD5E068C6DFA8681D.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature