Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1990 connectés 

  FORUM HardWare.fr
  Systèmes & Réseaux Pro
  Réseaux

  Problème OSPF - BGP - IPv6

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Problème OSPF - BGP - IPv6

n°111279
loicdudu
Posté le 31-05-2013 à 08:30:32  profilanswer
 

Bonjour, je suis en examen de fin d'apprentissage, je dois réaliser un projet et il ne me reste plus que le petit problème suivant à résoudre pour terminer mon projet, D'après moi il doit me manquer une toute petite configuration pour que ça fonctionne mais c'est une matière toute nouvelles et je ne trouve pas.. S'il vous plaît aidez-moi !  
 
Mon réseau fonctionne avec OSPF sous IPv6, il y a deux domaines (domaine 1 -> R_Backbone_D1 et R_ASBR_D1, domaine 2 -> R_ASBR_D2 et R_Backbone_D2) Une interconnexion BGP relie ceux deux domaines via les routeurs R_ASBR_S1 et R_ASBR_D2.  
 
Petit "schéma" :  
 
R_Backbone_D1 <-> R_ASBR_D1 <-> Interconnexion BGP <-> R_ASBR_D2 <-> R_Backbone_D2  
 
Le problème est que les paquets envoyé depuis le routeur R_Backbone_D1 n'atteignent pas le routeur R_Backbone_D2. Ces paquets passent pourtant l'interconnexion BGP et atteignent le routeur R_ASBR_D2, mais ne passent pas la dernière liaison. Je pense que le problème est par rapport au redistribution OSPF / BGP..  
 
Configuration des routeurs :  

Code :
  1. R_Backbone_D1
  2. hostname R_Backbone_D1
  3. !
  4. ipv6 unicast-routing
  5. ipv6 cef
  6. !
  7. interface FastEthernet0/0
  8. no ip address
  9. duplex auto
  10. speed auto
  11. ipv6 address 2001:DB8:2:2::1/64
  12. ipv6 enable
  13. ipv6 ospf 10 area 0
  14. !
  15. ipv6 router ospf 10
  16. router-id 1.1.1.1
  17. log-adjacency-changes
  18. !
  19. end


Code :
  1. R_ASBR_D1
  2. hostname R_ASBR_D1
  3. !
  4. no ipv6 source-route
  5. ipv6 unicast-routing
  6. ipv6 cef
  7. !
  8. interface GigabitEthernet0/0
  9. no ip address
  10. duplex auto
  11. speed auto
  12. ipv6 address 2001:DB8:2:2::2/64
  13. ipv6 enable
  14. ipv6 ospf 10 area 0
  15. !
  16. interface GigabitEthernet0/1
  17. no ip address
  18. duplex auto
  19. speed auto
  20. ipv6 address 2001:DB8:6:1::1/64
  21. ipv6 enable
  22. !
  23. router bgp 100
  24. bgp router-id 1.1.1.2
  25. no bgp default ipv4-unicast
  26. bgp log-neighbor-changes
  27. neighbor 2001:DB8:6:1::2 remote-as 100
  28. !
  29. address-family ipv6
  30.   neighbor 2001:DB8:6:1::2 activate
  31.   redistribute connected
  32.   redistribute ospf 10 match internal external 1 external 2
  33. exit-address-family
  34. !
  35. ipv6 router ospf 10
  36. router-id 1.1.1.2
  37. redistribute bgp 100
  38. log-adjacency-changes
  39. !
  40. end


Code :
  1. R_ASBR_D2
  2. hostname R_ASBR_D2
  3. !
  4. no ipv6 source-route
  5. ipv6 unicast-routing
  6. ipv6 cef
  7. !
  8. interface GigabitEthernet0/0
  9. no ip address
  10. duplex auto
  11. speed auto
  12. ipv6 address 2001:DB8:4:2::2/64
  13. ipv6 enable
  14. ipv6 ospf 10 area 0
  15. !
  16. interface GigabitEthernet0/1
  17. no ip address
  18. duplex auto
  19. speed auto
  20. ipv6 address 2001:DB8:6:1::2/64
  21. ipv6 enable
  22. !
  23. router bgp 100
  24. bgp router-id 2.1.1.2
  25. no bgp default ipv4-unicast
  26. bgp log-neighbor-changes
  27. neighbor 2001:DB8:6:1::1 remote-as 100
  28. !
  29. address-family ipv6
  30.   neighbor 2001:DB8:6:1::1 activate
  31.   redistribute connected
  32.   redistribute ospf 10 match internal external 1 external 2
  33. exit-address-family
  34. !
  35. ipv6 router ospf 10
  36. router-id 2.1.1.2
  37. redistribute bgp 100
  38. log-adjacency-changes
  39. !
  40. end


Code :
  1. R_Backbone_D2
  2. hostname R_Backbone_D2
  3. !
  4. no ipv6 source-route
  5. ipv6 unicast-routing
  6. ipv6 cef
  7. !
  8. interface GigabitEthernet0/0
  9. no ip address
  10. duplex auto
  11. speed auto
  12. ipv6 address 2001:DB8:4:2::1/64
  13. ipv6 enable
  14. ipv6 ospf 10 area 0
  15. !
  16. ipv6 router ospf 10
  17. router-id 2.1.1.1
  18. log-adjacency-changes
  19. !
  20. end


 
Je suis au votre disposition si mes explications n'ont pas assez été clair, merci d'avance !!

mood
Publicité
Posté le 31-05-2013 à 08:30:32  profilanswer
 

n°111339
gillesss
Posté le 03-06-2013 à 03:35:30  profilanswer
 

C'est pas très claire tous ca, un les confs sont pas complete.
en tous cas j'ai reproduit ca en modifier juste l'AS pour ASBR_D2, ce qui parait beaucoup plus logique que d'utiliser le meme AS pour 2 peer BGP.
 
D'abord un schema recapitulatif ca aide a mieux visualiser :  
http://img15.hostingpics.net/pics/630363841.png
 
Ensuite les conf completes, ATTENTION les interfaces sont differentes dans mon cas:
 
R_BACKBONE_D1

Code :
  1. version 12.4
  2. service timestamps debug datetime msec
  3. service timestamps log datetime msec
  4. no service password-encryption
  5. !
  6. hostname R_Backbone_D1
  7. !
  8. boot-start-marker
  9. boot-end-marker
  10. !
  11. no aaa new-model
  12. ip cef
  13. !
  14. ipv6 unicast-routing
  15. ipv6 cef
  16. !
  17. multilink bundle-name authenticated
  18. !
  19. interface GigabitEthernet1/0
  20. no ip address
  21. negotiation auto
  22. ipv6 address 2001:DB8:2:2::1/64
  23. ipv6 ospf 10 area 0
  24. !
  25. no ip http server
  26. no ip http secure-server
  27. !
  28. ipv6 router ospf 10
  29. router-id 1.1.1.1
  30. log-adjacency-changes
  31. !
  32. end


 
R_ASBR_D1

Code :
  1. version 12.4
  2. service timestamps debug datetime msec
  3. service timestamps log datetime msec
  4. no service password-encryption
  5. !
  6. hostname R_ASBR_D1
  7. !
  8. boot-start-marker
  9. boot-end-marker
  10. !
  11. no aaa new-model
  12. ip cef
  13. !
  14. ipv6 unicast-routing
  15. ipv6 cef
  16. !
  17. interface GigabitEthernet1/0
  18. no ip address
  19. negotiation auto
  20. ipv6 address 2001:DB8:2:2::2/64
  21. ipv6 ospf 10 area 0
  22. !
  23. interface GigabitEthernet2/0
  24. no ip address
  25. negotiation auto
  26. ipv6 address 2001:DB8:6:1::1/64
  27. ipv6 enable
  28. !
  29. router bgp 100
  30. bgp router-id 1.1.1.2
  31. no bgp default ipv4-unicast
  32. bgp log-neighbor-changes
  33. neighbor 2001:DB8:6:1::2 remote-as 200
  34. !
  35. address-family ipv6
  36. neighbor 2001:DB8:6:1::2 activate
  37. redistribute connected
  38. redistribute ospf 10
  39. no synchronization
  40. exit-address-family
  41. !
  42. ipv6 router ospf 10
  43. router-id 1.1.1.2
  44. log-adjacency-changes
  45. redistribute bgp 100
  46. !
  47. end


 
R_ASBR_R2

Code :
  1. version 12.4
  2. service timestamps debug datetime msec
  3. service timestamps log datetime msec
  4. no service password-encryption
  5. !
  6. hostname R_ASBR_D2
  7. !
  8. boot-start-marker
  9. boot-end-marker
  10. !
  11. no aaa new-model
  12. ip cef
  13. !
  14. ipv6 unicast-routing
  15. !
  16. interface GigabitEthernet1/0
  17. no ip address
  18. negotiation auto
  19. ipv6 address 2001:DB8:6:1::2/64
  20. !
  21. interface GigabitEthernet2/0
  22. no ip address
  23. negotiation auto
  24. ipv6 address 2001:DB8:4:2::2/64
  25. ipv6 ospf 10 area 0
  26. !
  27. router bgp 200
  28. bgp router-id 2.1.1.2
  29. no bgp default ipv4-unicast
  30. bgp log-neighbor-changes
  31. neighbor 2001:DB8:6:1::1 remote-as 100
  32. !
  33. address-family ipv6
  34. neighbor 2001:DB8:6:1::1 activate
  35. redistribute connected
  36. redistribute ospf 10
  37. no synchronization
  38. exit-address-family
  39. !
  40. ipv6 router ospf 10
  41. router-id 2.1.1.2
  42. log-adjacency-changes
  43. redistribute bgp 200
  44. !
  45. end


 
R_BACKBONE_D2

Code :
  1. version 12.4
  2. service timestamps debug datetime msec
  3. service timestamps log datetime msec
  4. no service password-encryption
  5. !
  6. hostname R_Backbone_D2
  7. !
  8. boot-start-marker
  9. boot-end-marker
  10. !
  11. !
  12. no aaa new-model
  13. ip cef
  14. !
  15. ipv6 unicast-routing
  16. !       
  17. interface GigabitEthernet1/0
  18. no ip address
  19. negotiation auto
  20. ipv6 address 2001:DB8:4:2::1/64
  21. ipv6 ospf 10 area 0
  22. !
  23. ipv6 router ospf 10
  24. router-id 2.1.1.1
  25. log-adjacency-changes
  26. !
  27. end


 
Petite vérification de la table de routage de R_BCK_D1 :  

Code :
  1. R_Backbone_D1#sh ipv6 route                 
  2. IPv6 Routing Table - 4 entries
  3. Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
  4.        U - Per-user Static route, M - MIPv6
  5.        I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
  6.        O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
  7.        ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
  8.        D - EIGRP, EX - EIGRP external
  9. C   2001:DB8:2:2::/64 [0/0]
  10.      via ::, GigabitEthernet1/0
  11. L   2001:DB8:2:2::1/128 [0/0]
  12.      via ::, GigabitEthernet1/0
  13. OE2  2001:DB8:4:2::/64 [110/1]
  14.      via FE80::C805:34FF:FE12:1C, GigabitEthernet1/0
  15. L   FF00::/8 [0/0]
  16.      via ::, Null0
  17. R_Backbone_D1#


 
Et d'un ping de R_BCK_D1 vers R_BCK_D2:

Code :
  1. R_Backbone_D1#ping ipv6 2001:DB8:2:2::1     
  2. Type escape sequence to abort.
  3. Sending 5, 100-byte ICMP Echos to 2001:DB8:2:2::1, timeout is 2 seconds:
  4. !!!!!
  5. Success rate is 100 percent (5/5), round-trip min/avg/max = 0/1/4 ms


 
 
Sinon plutot que d'utiliser une redistribution, pourquoi ne pas simplement utiliser la commande network dans BGP ? Redistribuer prend tout son sens s'il y a plusieurs reseau.


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Systèmes & Réseaux Pro
  Réseaux

  Problème OSPF - BGP - IPv6

 

Sujets relatifs
problème avec l'interface web de mon fortigate 60CProblème internet
Problème de partage de fichier/utilisation de fichierProblème de HA sur Netasq F200
Problème VPN pptp debian 6 OpenVZ[resolu] problème de création d'un profil temporaire
Problème de réplication DNS/ADProblème avec mon serveur FTP
Problème de compaibilité avec RDS - Hyper-v3 - [ Résolu ] 
Plus de sujets relatifs à : Problème OSPF - BGP - IPv6


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR