Community discussions

MikroTik App
 
rgear13
just joined
Topic Author
Posts: 15
Joined: Tue Apr 24, 2018 11:31 pm

Mpls ospf and winbox error

Wed Apr 25, 2018 3:04 am

Hello,
I have created a network between two routers (ospf and mpls), with the ospf all good, but when I activate the mpls in the interfacez, I can access the other router via winbox but it does not show me anything at all and after a while the connection is lost.

Code: Select all


Router 1
/routing ospf area
add area-id=1.0.1.0 instance=ospf0 name=area0
/routing ospf instance
add distribute-default=if-installed-as-type-1 mpls-te-area=area0 mpls-te-router-id=loopback-ospf name=ospf0 redistribute-connected=as-type-1
redistribute-other-ospf=as-type-1 redistribute-static=as-type-1 router-id=10.255.255.1
/routing ospf interface
add interface=ether1 network-type=point-to-point
/routing ospf network
add area=area0 network=2.2.2.0/30
add area=area0 network=10.255.255.1/32

/mpls ldp
set enabled=yes lsr-id=10.255.255.1 transport-address=10.255.255.1
/mpls ldp advertise-filter
add prefix=10.255.255.0/24
add advertise=no prefix=0.0.0.0/24
/mpls ldp interface
add interface=ether1
/mpls traffic-eng interface
add bandwidth=1Gbps interface=ether1

Interfaz R1
MUT 1500
L2 MTU 1592
MPLS MTU 1508

Router2
/routing ospf area
add area-id=1.0.1.0 instance=ospf0 name=area0
/routing ospf instance
add distribute-default=if-installed-as-type-1 mpls-te-area=area0 mpls-te-router-id=loopback-ospf name=ospf0 redistribute-connected=as-type-1 router-id=10.255.255.2
/routing ospf interface
add interface=ether5 network-type=point-to-point
/routing ospf network
add area=area0 network=2.2.2.0/30
add area=area0 network=10.255.255.2/32

/mpls ldp
set enabled=yes hop-limit=0 lsr-id=10.255.255.2 path-vector-limit=0 transport-address=10.255.255.2
/mpls ldp advertise-filter
add prefix=10.255.255.0/24
add advertise=no
/mpls ldp interface
add interface=ether5
/mpls traffic-eng interface
add bandwidth=1Gbps interface=ether5

Interfaz R2
MTU 1500
L2 MTU 1592
MPLS MTU 1508


Image


What am I doing wrong?
 
sri2007
Member Candidate
Member Candidate
Posts: 206
Joined: Wed May 20, 2015 10:14 pm
Location: Lake Grove, NY

Re: Mpls ospf and winbox error

Thu Apr 26, 2018 4:04 pm

Hi rgear13, I think that you are experimenting some MTU issues, most common errors with MPLS are those, so i'll check that, remember that there are three kinds of MTU, L3MTU, L2MTU and MPLS-MTU, and that must be well configured behind the hole path. You may able to find some extra information at: https://wiki.mikrotik.com/wiki/Manual:M ... 2FL2.5_MTU
 
rgear13
just joined
Topic Author
Posts: 15
Joined: Tue Apr 24, 2018 11:31 pm

Re: Mpls ospf and winbox error

Sun Apr 29, 2018 1:31 am

Hi rgear13, I think that you are experimenting some MTU issues, most common errors with MPLS are those, so i'll check that, remember that there are three kinds of MTU, L3MTU, L2MTU and MPLS-MTU, and that must be well configured behind the hole path. You may able to find some extra information at: https://wiki.mikrotik.com/wiki/Manual:M ... 2FL2.5_MTU
Thank you, I will review the information you provide.
 
rgear13
just joined
Topic Author
Posts: 15
Joined: Tue Apr 24, 2018 11:31 pm

Re: Mpls ospf and winbox error

Sun Apr 29, 2018 2:39 am

Solve the problem by lowering the mpls mtu below ip mtu.
ip mtu 1500
mpls mtu 1499

only that in the information provided I found this:

When MPLS is used as plain replacement for IP routing, only one label is attached to every packet, therefore packet size increases by 4 bytes, we have the situation with two MPLS labels. In order to be able to forward standard size (1500 bytes) IP packet without fragmentation, MPLS MTU must be set to at least 1508 for two MPLS labels.
 
sri2007
Member Candidate
Member Candidate
Posts: 206
Joined: Wed May 20, 2015 10:14 pm
Location: Lake Grove, NY

Re: Mpls ospf and winbox error  [SOLVED]

Mon Apr 30, 2018 5:13 pm

I'll check if all of the path the MTU is configured right, as I told you before, there are three kinds of MTU, and you may setup as follows:
- L3 MTU < MPLS MTU <= L2 MTU

MPLS MTU can be configured with at least 1508bytes, and you may want to check if Layer2 switches in the middle can handle this frames too.
 
rgear13
just joined
Topic Author
Posts: 15
Joined: Tue Apr 24, 2018 11:31 pm

Re: Mpls ospf and winbox error

Tue May 01, 2018 1:37 am

Thanks for your time, I have solved the problem.

Who is online

Users browsing this forum: Amazon [Bot] and 53 guests