Partage
  • Partager sur Facebook
  • Partager sur Twitter

Mise en place du BGP avec Route Reflector

    24 février 2023 à 9:59:50

    Bonjour, 

    J'aimerais mettre en place une infra BGP avec le Route Reflector. J'ai configuré l'IBGP et l'EBGP et ça marche.

    Pour l'instant je me concentre sur l'AS 65001. Mon problème et que les routeurs C1_A et C1_B n'arrive pas a apprendre les routes du RR.

    Voici la configuration du routeur RR_C1. 

    Building configuration...
    
    Current configuration : 1440 bytes
    !
    ! Last configuration change at 07:12:14 UTC Fri Feb 24 2023
    version 15.1
    service timestamps debug datetime msec
    service timestamps log datetime msec
    no service password-encryption
    !
    hostname RR_C1
    !
    boot-start-marker
    boot-end-marker
    !
    !
    !
    no aaa new-model
    !
    no ipv6 cef
    ip source-route
    ip cef
    !
    !
    !
    !         
    !
    multilink bundle-name authenticated
    !
    crypto pki token default removal timeout 0
    !
    !
    license udi pid CISCO1921/K9 sn FCZ2034B0VB
    !
    !
    !
    !
    !
    !
    !
    !
    interface Loopback0
     ip address 100.0.5.1 255.255.255.255
    !
    interface Embedded-Service-Engine0/0
     no ip address
     shutdown
    !
    interface GigabitEthernet0/0
     ip address 192.168.1.3 255.255.255.0
     duplex auto
     speed auto
    !
    interface GigabitEthernet0/1
     no ip address
     shutdown
     duplex auto
     speed auto
    !
    router ospf 1
     router-id 5.5.5.5
     network 192.168.1.0 0.0.0.255 area 0
    !
    router bgp 65001
     bgp log-neighbor-changes
     neighbor 192.168.1.1 remote-as 65001
     neighbor 192.168.1.1 update-source Loopback0
     neighbor 192.168.1.1 route-reflector-client
     neighbor 192.168.1.2 remote-as 65001
     neighbor 192.168.1.2 route-reflector-client
    !
    ip forward-protocol nd
    !
    no ip http server
    no ip http secure-server
    !
    !
    !
    !
    !
    control-plane
    !
    !
    !
    line con 0
    line aux 0
    line 2
     no activation-character
     no exec
     transport preferred none
     transport input all
     transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
     stopbits 1
    line vty 0 4
     login
     transport input all
    !
    scheduler allocate 20000 1000
    end

    Conf C1_A :

    Building configuration...
    
    Current configuration : 1419 bytes
    !
    ! Last configuration change at 14:20:25 UTC Thu Feb 23 2023
    !
    version 15.4
    service timestamps debug datetime msec
    service timestamps log datetime msec
    no service password-encryption
    !
    hostname C1_A
    !
    boot-start-marker
    boot-end-marker
    !
    !
    !
    no aaa new-model
    !
    !
    !
    !
    !
    !         
    !
    !
    !
    !
    !
    !
    !
    !
    ip cef
    no ipv6 cef
    !
    multilink bundle-name authenticated
    !
    cts logging verbose
    !
    !
    license udi pid CISCO1921/K9 sn FCZ144392WN
    !
    !
    !
    redundancy
    !
    !         
    !
    !
    !
    ! 
    !
    !
    !
    !
    !
    !
    !
    !
    !
    interface Loopback0
     ip address 100.0.4.1 255.255.255.255
    !
    interface Embedded-Service-Engine0/0
     no ip address
     shutdown
    !
    interface GigabitEthernet0/0
     ip address 192.168.1.1 255.255.255.0
     ip ospf 1 area 0
     duplex auto
     speed auto
    !
    interface GigabitEthernet0/1
     no ip address
     shutdown
     duplex auto
     speed auto
    !
    router ospf 1
     router-id 1.1.1.1
     network 100.0.4.1 0.0.0.0 area 0
     network 192.168.1.0 0.0.0.255 area 0
    !
    router bgp 65001
     bgp log-neighbor-changes
     network 100.0.4.1 mask 255.255.255.255
     network 192.168.1.0
     neighbor 192.168.1.2 remote-as 65001
     neighbor 192.168.1.2 update-source Loopback0
    !
    ip forward-protocol nd
    !         
    no ip http server
    no ip http secure-server
    !
    !
    !
    !
    !
    control-plane
    !
    !
    !
    line con 0
    line aux 0
    line 2
     no activation-character
     no exec
     transport preferred none
     transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
     stopbits 1
    line vty 0 4
     login
     transport input none
    !         
    scheduler allocate 20000 1000
    !
    end
    

    Conf C1_B : 

    Building configuration...
    
    Current configuration : 1603 bytes
    !
    ! Last configuration change at 15:15:58 UTC Thu Feb 23 2023
    !
    version 15.4
    service timestamps debug datetime msec
    service timestamps log datetime msec
    no service password-encryption
    !
    hostname C1_B
    !
    boot-start-marker
    boot-end-marker
    !
    !
    !
    no aaa new-model
    !
    !
    !
    !
    !
    !         
    !
    !
    !
    !
    !
    !
    !
    !
    
    
    !
    !
    !
    !
    ip cef
    no ipv6 cef
    !
    multilink bundle-name authenticated
    !
    !
    cts logging verbose
    !
    !         
    license udi pid CISCO1921/K9 sn FHK1431728B
    license accept end user agreement
    license boot module c1900 technology-package datak9
    !
    !
    !
    redundancy
    !
    !
    !
    !
    !
    ! 
    !
    !
    !
    !
    !
    !
    !
    !
    !
    interface Loopback0
     ip address 100.0.3.1 255.255.255.255
    !
    interface Embedded-Service-Engine0/0
     no ip address
     shutdown
    !
    interface GigabitEthernet0/0
     ip address 192.168.1.2 255.255.255.0
     ip ospf 1 area 0
     duplex auto
     speed auto
    !
    interface GigabitEthernet0/1
     ip address 192.168.25.1 255.255.255.0
     ip ospf 1 area 2
     duplex auto
     speed auto
    !
    router ospf 1
     router-id 2.2.2.2
     network 100.0.5.1 0.0.0.0 area 0
     network 192.168.1.0 0.0.0.255 area 0
     network 192.168.25.0 0.0.0.255 area 2
    !
    router bgp 65001
     bgp log-neighbor-changes
     network 192.168.1.0
     network 192.168.25.0
     neighbor 192.168.1.1 remote-as 65001
     neighbor 192.168.1.1 next-hop-self
     neighbor 192.168.25.2 remote-as 65002
    !
    ip forward-protocol nd
    !
    no ip http server
    no ip http secure-server
    !
    !
    !
    !
    !
    control-plane
    !
    !
    !
    line con 0
    line aux 0
    line 2
     no activation-character
     no exec
     transport preferred none
     transport output lat pad telnet rlogin lapb-ta mop udptn v120 ssh
     stopbits 1
    line vty 0 4
     login
     transport input none
    !
    scheduler allocate 20000 1000
    !
    end
    





    Voici mon infra : 

    Merci d'avance pour votre aide

    Darkoos

    -
    Edité par Darkoos 24 février 2023 à 10:08:52

    • Partager sur Facebook
    • Partager sur Twitter

    Mise en place du BGP avec Route Reflector

    × Après avoir cliqué sur "Répondre" vous serez invité à vous connecter pour que votre message soit publié.
    × Attention, ce sujet est très ancien. Le déterrer n'est pas forcément approprié. Nous te conseillons de créer un nouveau sujet pour poser ta question.
    • Editeur
    • Markdown