Community discussions

MikroTik App
 
agpsl
just joined
Topic Author
Posts: 7
Joined: Thu Jul 19, 2018 11:26 pm

MPLS TE Bug?

Thu Jul 19, 2018 11:50 pm

Hi folks,

I've been playing with MPLS TE with some CCRs.
The problem is that when I try to set interface's max reservable bandwidth to 10G, it shows that the remaining bandwidth is only 1410Mbps.

[admin@R3] > mpls traffic-eng interface export 
# jan/02/1970 15:02:54 by RouterOS 6.43rc44
#
# model = CCR1072-1G-8S+
/mpls traffic-eng interface
add bandwidth=10Gbps interface=sfp-sfpplus2

[admin@R3] > mpls traffic-eng interface print  
Flags: X - disabled, I - invalid 
 #   INTERFACE                                                 BANDWIDTH  TE-METRIC REMAINING-BW
 0   sfp-sfpplus2                                                 10Gbps          1   1410.0Mbps

If I set the max reservable bandwidth up to 4G, it accepts and show me the right amount of remaining bandwidth:

[admin@R3] > mpls traffic-eng interface export 
# jan/02/1970 15:04:08 by RouterOS 6.43rc44
#
# model = CCR1072-1G-8S+
/mpls traffic-eng interface
add bandwidth=4Gbps interface=sfp-sfpplus2

[admin@R3] > mpls traffic-eng interface print  
Flags: X - disabled, I - invalid 
 #   INTERFACE                                                 BANDWIDTH  TE-METRIC REMAINING-BW
 0   sfp-sfpplus2                                                  4Gbps          1      4.0Gbps

Tested in CCR1072, CCR1036 and CRS212 with stable, current and RC versions of RouterOS. All with the same behaviour.

It looks like some mess with signed/unsigned variable?
 
sid5632
Long time Member
Long time Member
Posts: 554
Joined: Fri Feb 17, 2017 6:05 pm

Re: MPLS TE Bug?

Fri Jul 20, 2018 11:01 am

It looks like some mess with 32 bit variable.
Write to Mikrotik support.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7056
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: MPLS TE Bug?

Fri Jul 20, 2018 1:49 pm

Yes, currently it is not possible to set 10G value, since it is administrative value you can choose lower numbers, it does not have to represent actual bandwidth.
 
agpsl
just joined
Topic Author
Posts: 7
Joined: Thu Jul 19, 2018 11:26 pm

Re: MPLS TE Bug?

Fri Jul 20, 2018 2:46 pm

Yes, currently it is not possible to set 10G value, since it is administrative value you can choose lower numbers, it does not have to represent actual bandwidth.

Ok, but it would affect the actual traffic right?

What if the sum of tunnels passing by that interface is greater than the maximum reservable bandwidth? The tunnel would go down? It would go through another path if avaliable?

Before finding this issue, I was wiresharking and OSPF is propagating the right value:


Image


So my question is: Does it affect traffic engineering or it's just a presentation mistake? Should I write to support as @sid5632 suggested?

Thanks!
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7056
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: MPLS TE Bug?

Fri Jul 20, 2018 3:14 pm

It will not affect traffic, because this value does not represent actual traffic on interface (unless you are using auto bandwidth limitation feature).
 
agpsl
just joined
Topic Author
Posts: 7
Joined: Thu Jul 19, 2018 11:26 pm

Re: MPLS TE Bug?

Fri Jul 20, 2018 3:47 pm

Right. What if I want to use it? Do you plan to fix this bug any time soon?
 
cheeze
Member Candidate
Member Candidate
Posts: 146
Joined: Tue Jul 31, 2012 7:44 am

Re: MPLS TE Bug?

Fri Jul 20, 2018 8:05 pm

Yeah this is one of those things where it's kinda surprising that it hasn't been fixed yet. Does changing the variable type that stores this number from an integer to a double cause an issue within the calculation script?
 
agpsl
just joined
Topic Author
Posts: 7
Joined: Thu Jul 19, 2018 11:26 pm

Re: MPLS TE Bug?

Fri Jul 20, 2018 8:50 pm

Maybe hardware limitation? Let's wait for a response from MT guys...
 
cheeze
Member Candidate
Member Candidate
Posts: 146
Joined: Tue Jul 31, 2012 7:44 am

Re: MPLS TE Bug?

Fri Jul 20, 2018 9:57 pm

I personally have my doubts that this has to do with hardware, but it very well may have to do with the differing CPU architectures that Mikrotik runs RouterOS on. I don't know if the MIPS/PPC architectures that they have can "do" a 64-bit integer. We're all sure and positive that x86, ARM, Tilera can though. In theory it should be trivial to just concatenate two 32-bit integers together but that's up to the CPU archs.
 
agpsl
just joined
Topic Author
Posts: 7
Joined: Thu Jul 19, 2018 11:26 pm

Re: MPLS TE Bug?

Sat Jul 21, 2018 4:50 pm

Hey @mrz can you tell us if this fix is in your roadmap?
 
agpsl
just joined
Topic Author
Posts: 7
Joined: Thu Jul 19, 2018 11:26 pm

Re: MPLS TE Bug?

Thu Jul 26, 2018 1:40 pm

Any official news about it?
 
agpsl
just joined
Topic Author
Posts: 7
Joined: Thu Jul 19, 2018 11:26 pm

Re: MPLS TE Bug?

Mon Nov 19, 2018 2:54 pm

Any plans to fix this bug?

Who is online

Users browsing this forum: No registered users and 2 guests