le 30-11-2022 10:45 AM
Hello,
I am working on setting up an MPLS over DMVPN infrastructure with spoke to spoke tunnels (phase 3).
According to the theory, we just need to replace the MPLS IP command used when we are in phase 1 (Hub and spokes) by MPLS NHRP or mpls bgp forwarding.
I applied this command but impossible to ping equipments in the VRF (COE). On the other hand, BGP peering goes up well but the problem seems to be on the MPLS part (label switching).
I attach the configurations of the 3 equipments as well as a diagram which makes it possible to illustrate the topology.
Can anyone help me to solve this problem please?
Thanks in advance,
Chris
Résolu ! Accéder à la solution.
le 03-12-2022 12:15 AM
le 30-11-2022 10:50 AM
le 30-11-2022 11:00 AM
will check and answer you tonight
30-11-2022 12:11 PM - modifié 30-11-2022 12:11 PM
you use Lo as update source, and this Loopback 6757 but this LO is not known by other BGP peer.
you need to advertise it via OSPF which run over DMVPN tunnel (global mode).
le 30-11-2022 01:38 PM
Hi,
Thanks for your feedback.
The loopback is announced thanks to the route-map which is redistributed in OSPF as you can see in the configuration below and as I said the BGP peering goes up well and the NLRIs are well announced but the Ping from end to end end in the VRF probably does not pass because the MPLS does not work well.
-----------
route-map CONNECTED_to_OSPF permit 6757
match interface Loopback6757
set metric 1
set metric-type type-1
!
router ospf 6757
router-id 192.168.33.1
ispf
log-adjacency-changes detail
area 6757 authentication message-digest
redistribute connected subnets route-map CONNECTED_to_OSPF
passive-interface default
no passive-interface Tunnel10
network 10.0.0.0 0.0.0.255 area 6757
!
le 30-11-2022 02:08 PM
le 01-12-2022 03:08 AM
I do lab and I success ping to hub and between spoke.
I think I know the issue here
when we use OSPF in DMVPN with network type broadcast we must sure that HUB is elect as DR of that broadcast domain.
so what you need is
ip ospf priority 100 << under dmvpn tunnel of hub
then clear ip ospf process
and test again
le 01-12-2022 05:03 AM
I agree with your comment.
But the real problem is not at the level of the OSPF routing because the loopbacks are well routed, which also makes it possible to raise the BGP peerings which use them as update source.
The problem is that although the prefixes in the VRF COE appear well in the routing table, it is impossible to make them communicate from end to end and this because the MPLS seems to have a problem and I cannot find where it is. blocked.
Below is an article that describes this type of infrastructure :
le 01-12-2022 05:45 AM
do you change the ospf priority ? if yes then
you need to force the MPLS to re-exchange the label.
and one more think
I used Lo (you have two Lo use one in global table) as router-id of MPLS LDP.
config MPLS LDP router-id
then force the MPLS to re-exchange.
your config is OK from my view except point I mention above
le 01-12-2022 06:38 AM
Yes, I have changed the priority on the Hub.
I also added MPLS LDP router-id.
But from what I understood we don't use LDP when we are in spoke to spoke mode (Phase 3), that's why I used the MPLS NHRP command instead of MPLS IP on the Tunnel.
Please, can you tell me how to force the MPLS to re-exchange? Because the networks in the VRF COE (Lo 202) still can not ping each other
01-12-2022 07:04 AM - modifié 01-12-2022 07:21 AM
just shut/no shut tunnel down in hub and check again
phase3 of DMVPN ? but I dont see redirect and shortcut in your config so it phase2 not phase3
in my lab I use phase2 and Hub is RR of iBGP.
I use mpls ip which from cisco doc. is same as MPLS NHRP
from cisco Doc.
""Using the mpls ip command performs the same function as mpls nhrp command but enables LDP also, which is not recommended.""
le 01-12-2022 07:25 AM
Sorry, it doesn't appear in the conf I sent you because I had probably removed it during testing.
Below is the configuration I used for phase 3
le 01-12-2022 08:33 AM
For phase 1 or 2 it worked fine because I am using LDP (mpls ip). My problem is that I can't get it to work in phase 3 (MPLS NHRP). Is there anything else I should enable in VPNV4?
le 01-12-2022 10:12 AM
By using the following config the network in the VRF COE of the Hub can join those of the Spokes now.
But for now I'm trying to understand why the Spokes can't join each other
le 01-12-2022 10:28 AM
I will work in lab using mpls nhrp.
Découvrez et enregistrez vos notes préférées. Revenez pour trouver les réponses d'experts, des guides étape par étape, des sujets récents et bien plus encore.
Êtes-vous nouveau ici? Commencez par ces conseils. Comment utiliser la communauté Guide pour les nouveaux membres
Parcourez les liens directs de la Communauté et profitez de contenus personnalisés en français