Community discussions

MikroTik App
 
-headstrong-
Member
Member
Topic Author
Posts: 377
Joined: Thu Jun 05, 2008 8:04 pm
Location: South Africa

why can't I use /24 routes for LDP and VPLS?

Wed Nov 25, 2009 8:18 pm

Hi

Assume I do not use OSPF but statically route my network with loopback IPs in the 1.1.1.1/24 range

If I add a static route from a MPLS router for 1.1.1.1/24 to my default gateway then the VPLS does not work. However if I add each individual 1.1.1.1/32, 1.1.1.2/32, 1.1.1.3/32, etc route to the same default gateway then the VPLS works.

Any else experience this?
 
Mplsguy
MikroTik Support
MikroTik Support
Posts: 227
Joined: Fri Jun 06, 2008 5:06 pm

Re: why can't I use /24 routes for LDP and VPLS?

Thu Nov 26, 2009 4:34 pm

This is how it should be - it is mandatory for VPLS to work to have complete, "uninterrupted" LSP between VPLS endpoints, because only VPLS endpoints know how to interpret VPLS label (second label in label stack). LDP establishes LSP for each specific prefix, so LSP reaches to the last hop for this particular prefix. Once packet gets MPLS encapsulated and switched, it will travel to the end of LSP, no matter if some hop in the way had more specific route to the intended destination, and it will get switched no further than end of LSP.

The last router in LSP must decide what to do with packet - if it is IP packet it can most likely properly route it (using more specific route). But if it is VPLS packet, it receives this packet with VPLS label, that it actually never assigned (it even does not have any idea that there is VPLS tunnel somewhere), so it will either drop it or misinterpret the packet.

In case you want to avoid having all those /32 routes in routing table, you can use TE tunnels w/o CSPF - simply routed using routing table.

Who is online

Users browsing this forum: No registered users and 7 guests