Difference between revisions of "Manual:MLPPP over single and multiple links"

From MikroTik Wiki
Jump to: navigation, search
(Configuration Example)
(Configuration Example)
Line 46: Line 46:
  
 
=== Configuration  Example ===
 
=== Configuration  Example ===
[[Image:]]
+
 
 +
Consider ISP router pre-configured to support MLPPP. Configuration on Mikorotik router is following:
 +
<pre>
 +
/interface pppoe-client
 +
  add service-name=ISP interface=ether1,ether2 user=xxx password=yyy disabled=no
 +
</pre>
 +
 
 +
<pre>
 +
[admin@RB800] /interface pppoe-client> print
 +
Flags: X - disabled, R - running
 +
0    name="pppoe-out1" max-mtu=1480 max-mru=1480 mrru=disabled interface=ether1,ether2
 +
      user="xxx" password="yyy" profile=default service-name="ISP" ac-name="" add-default-route=no
 +
      dial-on-demand=no use-peer-dns=no allow=pap,chap,mschap1,mschap2
 +
</pre>
 +
 
  
  

Revision as of 11:16, 2 August 2011

Summary

Standards: RFC 1990
Package: ppp


Multi-Link Point to Point Protocol (MP, Multi-Link PPP, MultiPPP or MLPPP) is a method of splitting, recombining, and sequencing data across multiple logical data links.

In a situation where we have multiple DSL links a pair of devices, performance by “widening the pipe” between two devices can be increased by using Multi-Link PPP, without going to a newer, more expensive technology.

Large packets are actually split into bits and sent evenly over ALL logical data links. This is done instantaneously with NO loss of bandwidth. It is important to understand that other end of the link needs to use the same protocol to recombine your data.

Multilink is based on an LCP option negotiation that allows to indicate to its peer that it is capable of combining multiple physical links.

MLPPP over single link

Typically size of the packet sent over PPP link is reduced due to overhead. MP can be used to transmit and receive full frame over single ppp link. To make it work the Multilink Protocol uses additional LCP configuration options Multilink Maximum Received Reconstructed Unit (MRRU)

To enable Multi-link PPP over single link you must specify MRRU (Maximum Receive Reconstructed Unit) option. If both sides support this feature there are no need for MSS adjustment (in firewall mangle). Study shows that MRRU is less CPU expensive that 2 mangle rules per client. MRRU allows to divide packet to multiple channels therefore increasing possible MTU and MRU (up to 65535 bytes)

Under Windows it can be enabled in Networking tag, Settings button, "Negotiate multi-link for single link connections". Their MRRU is hard coded to 1614.


Configuration Example

Let's configure pppoe server compatible with Windows clients and MRRU enabled.

[admin@RB800] /interface pppoe-server server> add service-name=myPPP interface=ether1 mrru=1614
[admin@RB800] /interface pppoe-server server> print 
Flags: X - disabled 
 0   service-name="myPPP" interface=ether1 max-mtu=1480 max-mru=1480 mrru=1614 
     authentication=pap,chap,mschap1,mschap2 keepalive-timeout=10 one-session-per-host=no 
     max-sessions=0 default-profile=default 

In short - standard PPP link - just specify MRRU in both sides :)

MLPPP over multiple links

MLPPP over multiple links allow to create a single ppp link over multiple physical connections. All PPP links must come from the same server (server must have MLPPP over multiple links support) and all PPP links must have same user name and password.

And to enable MLPPP you just need to create PPP client and specify multiple interfaces instead of single interface. Mikrotik RouterOS have MLPPP clent support starting from version 3.10. Presently there are no MLPPP server support available.


Configuration Example

Consider ISP router pre-configured to support MLPPP. Configuration on Mikorotik router is following:

/interface pppoe-client 
   add service-name=ISP interface=ether1,ether2 user=xxx password=yyy disabled=no
[admin@RB800] /interface pppoe-client> print 
Flags: X - disabled, R - running 
 0    name="pppoe-out1" max-mtu=1480 max-mru=1480 mrru=disabled interface=ether1,ether2 
      user="xxx" password="yyy" profile=default service-name="ISP" ac-name="" add-default-route=no 
      dial-on-demand=no use-peer-dns=no allow=pap,chap,mschap1,mschap2