So if I have calculated that the smallest l2MTU in all of my network is 1522, that's what I set my MPLS MTU to?
I can't seem to get it to work if that is the case.. The only way mpls works properly is if mpls MTU is set to 1500.
That depends on your application and That's not what I asked though.1522 is to low to run MPLS.
Actually you should not run like thisRun in full frame mode.I canged all my net, to support l2mtu minimum 1600. If you don't have mtu enough, you will run into troble. Let a Ethernet be 1500, and pppoe 1492.
If you start fragment, you will have about 1/2 the possible maximum speed. A package is a pakage, even if big or small. If you start to fragment. you will use 2 package, and all wireless stuff required to transfer doble, to send actually one frame (pakage).
/ip firewall mangle add action=change-mss chain=forward new-mss=1280 protocol=tcp tcp-flags=syn tcp-mss=1281-65535Is a good way to do the mangle. Then ipv6 would go work.
1526 I assumed I needed to run, as mentioned on the mikrotik wiki to be full frame.As far as MPLS mtu goes, here are the numbers you need for 1500 bytes frames.
1526 - To run untagged VPLS
1530 - To run tagged VPLS
If you cannot run any higher than 1522 then you will need to write a mangle rule to do a TCP MSS adjust. It will solve most of the performance issues. Ultimately you need to plan to upgrade your equipment.
As far as PPPoE, it requires 8 bytes of overhead for the PPP portion, so given that you have a 1496 byte frame to work with, I would start at 1488 and decrement if needed for any other overhead you have.
Why are you setting MPLS MTU at 1501? Set it at 1522 if that's the highest L2 MTU you have.
For my test environment I have this setup I set up this morning which changes the rules a but bit created the same problem.Hi inssomniak.
It sounds like you have a mismatch somewhere.
Set the vpls mtu to 1500.
Allow CW for vpls.
Set the physical interface to the max l2mtu it supports that is also supported by the remote end.
Set the mpls mtu per ldp carrying interface and set it the same as the l2mtu for that interface.
If you want to pass vlan tagged frames set the vpls mtu to 1504 and type to tagged ethernet.
Oh and leave the mtu set to 1500 on the physical interfaces that have an ip configured on them
Thus should get you up and running.
If not paste your configs up and we can tell you what is wrong.