Les Forums
Les forums sont fermés. Ils restent présent pour consultation et archivage.
Vous pouvez désormais poser vos questions directement dans les commentaires en bas de chaque page du site.
Alors n'hésitez pas à participer
Configuration MPLS VPN
Bonsoir, Voici ma configuration MPLS VPN: [url=http://www.flickr.com/photos/math43/5661788175/][img:c16d8f6b29]http://farm6.static.flickr.com/5223/5661788175_5f15176fa2_z.jpg [url=http://www.flickr.com/photos/math43/5661788175/]MPLS VPN[/url] par [url=http://www.flickr.com/people/math43/]Math43[/url], sur Flickr Configs: R4-CE1 [code:1:c16d8f6b29]hostname R4-CE1 ! ! interface Loopback0 ip address 10.4.4.1 255.255.255.0 ! interface fastEthernet0/0 ip address 14.0.0.4 255.255.255.0 frame-relay interface-dlci 401 ! ! router bgp 100 no synchronization bgp log-neighbor-changes network 10.4.4.0 mask 255.255.255.0 network 14.0.0.0 mask 255.255.255.0 neighbor 14.0.0.1 remote-as 123 no auto-summary[/code:1:c16d8f6b29] R1-PE [code:1:c16d8f6b29] hostname R1-PE1 ! ip subnet-zero ip cef ! ! no ip dhcp use vrf connected ! ! ip vrf VPN_A rd 10:20 route-target export 100:200 route-target import 100:200 ! no ip domain lookup no ip ips deny-action ips-interface ! interface Loopback0 ip address 100.100.100.1 255.255.255.255 ! interface FastEthernet0/0 ip vrf forwarding VPN_A ip address 14.0.0.1 255.255.255.0 duplex auto speed auto ! interface FastEthernet0/1 ip address 13.0.0.1 255.255.255.0 duplex auto speed auto mpls ip ! router ospf 1 log-adjacency-changes network 13.0.0.1 0.0.0.0 area 0 network 100.100.100.1 0.0.0.0 area 0 ! router bgp 123 no synchronization bgp log-neighbor-changes neighbor 100.100.100.2 remote-as 123 neighbor 100.100.100.2 update-source Loopback0 no auto-summary ! address-family vpnv4 neighbor 100.100.100.2 activate neighbor 100.100.100.2 send-community both exit-address-family ! address-family ipv4 vrf VPN_A neighbor 14.0.0.4 remote-as 100 neighbor 14.0.0.4 activate neighbor 14.0.0.4 as-override no auto-summary no synchronization exit-address-family ! ip classless no ip http server no ip http secure-server ! ! ! ! ! ! ! control-plane ! ! ! ! ! ! gatekeeper shutdown ! ! line con 0 exec-timeout 0 0 logging synchronous stopbits 1 line aux 0 stopbits 1 line vty 0 4 ! ! end [/code:1:c16d8f6b29] R3-P [code:1:c16d8f6b29]hostname R3-P ! ! ! interface Loopback0 ip address 100.100.100.3 255.255.255.255 ! ! interface fastEthernet0/0 ip address 13.0.0.3 255.255.255.0 mpls ip ! interface fastEthernet0/1 ip address 23.0.0.3 255.255.255.0 mpls ip ! router ospf 1 log-adjacency-changes network 13.0.0.3 0.0.0.0 area 0 network 23.0.0.3 0.0.0.0 area 0 network 100.100.100.3 0.0.0.0 area 0[/code:1:c16d8f6b29] R2-PE [code:1:c16d8f6b29]hostname R2-PE ! ! ip vrf VPN_A rd 10:20 route-target export 100:200 route-target import 100:200 ! ! interface Loopback0 ip address 100.100.100.2 255.255.255.255 ! ! interface fastEthernet0/0 ip vrf forwarding VPN_A ip address 25.0.0.2 255.255.255.0 ! interface fastEthernet0/1 ip address 23.0.0.2 255.255.255.0 mpls ip ! ! router ospf 1 log-adjacency-changes network 23.0.0.2 0.0.0.0 area 0 network 100.100.100.2 0.0.0.0 area 0 ! router ospf 10 vrf VPN_A log-adjacency-changes network 10.5.5.0 0.0.0.255 area 10 network 25.0.0.0 0.0.0.255 area 10 ! router bgp 123 no synchronization bgp log-neighbor-changes neighbor 100.100.100.1 remote-as 123 neighbor 100.100.100.1 update-source Loopback0 no auto-summary ! address-family vpnv4 neighbor 100.100.100.1 activate neighbor 100.100.100.1 send-community both exit-address-family ! address-family ipv4 vrf VPN_A redistribute connected redistribute static no synchronization exit-address-family ![/code:1:c16d8f6b29] R5-CE2 [code:1:c16d8f6b29]hostname R5-CE2 ! ! interface Loopback0 ip address 10.5.5.1 255.255.255.0 ! ! interface fastEthernet0/0 ip address 25.0.0.5 255.255.255.0 ! ! router ospf 10 log-adjacency-changes network 10.5.5.0 0.0.0.255 area 10 network 25.0.0.0 0.0.0.255 area 10 ![/code:1:c16d8f6b29] Donc j'ai un problème au niveau de la conf OSPF entre R2-PE et R5-CE2, l'OSPF se monte bien mais impossible de communiquer avec R4-CE1. Par contre de l'autre coté R4-CE1 arrive à attendre R2-PE. Le problème se situe donc sur R2-PE mais je n'arrive pas à trouver ce qu'il manque. Si quelqu'un pouvait m'aider ! Merci beaucoup. |
J'ai rajouté à ma conf de R2-PE la ligne suivante dans la partie address-family ipv4 vrf VPN_A: [code:1:c002037968]redistribute ospf 10 vrf VPN_A match internal external 1 external 2[/code:1:c002037968] Mais ça n'a rien changé 🙁 |