02-28-2009 11:58 AM
I cannot establish simple LDP session between P and PE2. LDP neighbor is up between PE1 and P router fine but not between P and PE2. when i use mpls ldp discovery, i get no route on PE2. Does anyone know what the problem is.
PE1
mpls label protocol ldp
interface Ethernet0/0
ip address 192.168.1.1 255.255.255.0
half-duplex
mpls ip
P Router
ip cef
mpls label protocol ldp
interface Ethernet0/0
ip address 192.168.1.2 255.255.255.0
half-duplex
mpls ip
interface Ethernet0/1
ip address 192.168.2.2 255.255.255.0
half-duplex
mpls ip
PE2
mpls label protocol ldp
interface Ethernet0/0
ip address 192.168.2.1 255.255.255.0
half-duplex
mpls ip
PE2#sh mpls ldp discovery
Local LDP Identifier:
192.168.2.1:0
Discovery Sources:
Interfaces:
Ethernet0/0 (ldp): xmit/recv
LDP Id: 192.168.1.2:0; no route
is MBGP needed between P and PE's? Also do i need to setup anything else between P and PE's?
02-28-2009 01:08 PM
Hi,
This is simply because the LDP ID of the P router (192.168.1.2) is not reachable on PE2 (this is what is meant by the "no route" in "LDP Id: 192.168.1.2:0; no route" from your output), this should be simply resolved after you enable a routing protocol in your network. As a recommendation always set the LDP ID manually via the "mpls ldp router-id" command in order not to leave it to the coincidence.
I hope that I've been informative.
BR,
Mohammed Mahmoud.
02-28-2009 01:19 PM
Just to add to what Mohammed is saying, it is usually consider best practice to create a loopback interface on all routers and set this loopback interface as the LDP RID.
mpls ldp router-id loopback0
Regards
02-28-2009 03:46 PM
thanks guys.
Working now. Apart from setting up ldp neighbor relationships using LDP for label distribution across the MPLS backbone and MBGP between the PE's , What other configs is done within the MPLS backbone between PE's and P routers in a real MPLS network?
02-28-2009 05:28 PM
Francisco,
It can be really simple or really complicated but normally you would have an IGP, LDP (and/or RSVP for MPLS TE), BGP VPNv4, Route Reflectors.
In addition, you can also do label filtering to force LDP to only advertise labels for loopback interface addresses (a label is advertised for all routes except BGP routes by default) as follow.
no mpls ldp advertise-labels
mpls ldp advertise-labels for 1
!
access-list 1 permit 192.168.100.0 0.0.0.255 /* assuming all loopback interface ip addresses are in the 192.168.100.0-255 range */
Regards
03-01-2009 02:22 AM
Hi,
Absolutely you mean MP-BGP, not MBGP , The two terms has totally different meaning and concept.
The MBGP is multicast BGP used to route Multicast across domaains (Across AS).
The Multiprotocol BGP is used to carry labeled VPNv4 , Multicast, IPv6, labeled IPv6 and exended community attribute.
You dont need MP-BGP to have your LDP session activated. as denoted, its recommended to force the Loopback0 to be ur LDP session identifier and have your IGP correctly setup and MPLS enabled on that link.
HTH
Mohamed
03-01-2009 04:19 AM
Harold,Mohammed,Mohamed,
Thanks for your imput to this discussion. I have rated your comments.
Francisco.
06-19-2017 02:26 PM
Hi,
My name is Miguel Angel Mamani Chanuara from Peru,
Well, I also had almost the problem, in your case it is that your PE2 router does not know how to get to the router-ID (192.168.1.2) of P, because PE2 does not find that address (192.168.1.2) in its routing table , Ie you need to distribute that router-ID (192.168.1.2) from the router P by IGP (for example OSPF) to the other routers, in the same way you must distribute the router ID PE2 router to the other routers in the area to That others know how to get to that router-ID.
For example ROUTER P
#router ospf process-ID
#network 192.168.1.2 wildcard-mask area area-ID
Already with that the NO ROUTE should not appear
Regards
06-19-2017 02:47 PM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide