Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jan 2008 16:47:26 -0500
From:      "Michael MacLeod" <mikemacleod@gmail.com>
To:        "Alexander Motin" <mav@freebsd.org>
Cc:        freebsd-net@freebsd.org, Julian Elischer <julian@elischer.org>, Nikos Vassiliadis <nvass@teledomenet.gr>
Subject:   Re: Multilink PPP Download Speeds With Round-Robin Packets
Message-ID:  <e8f0b580801191347y42b3a041y821dc4d8805a168b@mail.gmail.com>
In-Reply-To: <478E834E.4080302@FreeBSD.org>
References:  <1200479046.00010232.1200466203@10.7.7.3> <1200479105.00010249.1200468002@10.7.7.3> <1200482587.00010258.1200469801@10.7.7.3> <1200489793.00010290.1200478201@10.7.7.3> <1200518607.00010486.1200507002@10.7.7.3> <478E834E.4080302@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jan 16, 2008 5:21 PM, Alexander Motin <mav@freebsd.org> wrote:
> Mpd supports both. There were some mistakes in multilink transmission
> part of ng_ppp kernel module working in splitting mode that in some
> cases could lead to ineffective packet distribution, but they were fixed
> 8 months ago at 6-STABLE.

I updated my gateway using freebsd-update, and rebuilt my kernel after
making sure I had the latest sources. I proceeded to install mpd4 and
try out the configuration Nikos linked to. So far I haven't had any
success. I tried adding 'set bundle enable round-robin' since that's
how this is going to work on the download side of things, still
without success.

mpd.conf:
------------------------------------------------------------
startup:
        set console ip 127.0.0.1
        set console user username password
        set console open

default:
        load PPPoE
        open

PPPoE:
        new -i ng0 sam l0 l1
        set auth authname username@teksavvy.com
        set auth password password
        set bundle enable multilink
        set bundle enable round-robin
        set iface idle 0
        set iface route default
------------------------------------------------------------

mpd.links:
------------------------------------------------------------
l0:
        set link type pppoe
#        set link mtu 1486
#        set link mru 1492
        set pppoe iface xl0
        set pppoe disable incoming
        set pppoe enable originate

l1:
        set link type pppoe
#        set link mtu 1486
#        set link mru 1492
        set pppoe iface xl1
        set pppoe disable incoming
        set pppoe enable originate
------------------------------------------------------------

and finally, the log file:
------------------------------------------------------------
Jan 19 16:34:26 gateway mpd: Multi-link PPP daemon for FreeBSD
Jan 19 16:34:26 gateway mpd:
Jan 19 16:34:26 gateway mpd: process 1862 started, version 4.3
(root@localhost 18:58 16-Jan-2008)
Jan 19 16:34:26 gateway mpd: CONSOLE: listening on 127.0.0.1 5005
Jan 19 16:34:26 gateway mpd: [sam] using interface ng0
Jan 19 16:34:26 gateway mpd: [l0] link: OPEN event
Jan 19 16:34:26 gateway mpd: [l0] LCP: Open event
Jan 19 16:34:26 gateway mpd: [l0] LCP: state change Initial --> Starting
Jan 19 16:34:26 gateway mpd: [l0] LCP: LayerStart
Jan 19 16:34:26 gateway mpd: [l0] PPPoE: Connecting to '*'
Jan 19 16:34:26 gateway mpd: PPPoE: rec'd ACNAME "bas3-toronto02"
Jan 19 16:34:26 gateway mpd: [l0] PPPoE: connection successful
Jan 19 16:34:26 gateway mpd: [l0] link: UP event
Jan 19 16:34:26 gateway mpd: [l0] link: origination is local
Jan 19 16:34:26 gateway mpd: [l0] LCP: Up event
Jan 19 16:34:26 gateway mpd: [l0] LCP: state change Starting --> Req-Sent
Jan 19 16:34:26 gateway mpd: [l0] LCP: SendConfigReq #1
Jan 19 16:34:26 gateway mpd:  PROTOCOMP
Jan 19 16:34:26 gateway mpd:  MRU 1492
Jan 19 16:34:26 gateway mpd:  MAGICNUM 6a64dffc
Jan 19 16:34:26 gateway mpd:  MP MRRU 1600
Jan 19 16:34:26 gateway mpd:  MP SHORTSEQ
Jan 19 16:34:26 gateway mpd:  ENDPOINTDISC [802.1] 00 0e 0c dd 03 9b
Jan 19 16:34:26 gateway mpd: [l0] LCP: rec'd Configure Request #237 (Req-Sent)
Jan 19 16:34:26 gateway mpd:  MRU 1492
Jan 19 16:34:26 gateway mpd:  AUTHPROTO PAP
Jan 19 16:34:26 gateway mpd:  MAGICNUM 4e7ea6a0
Jan 19 16:34:26 gateway mpd: [l0] LCP: SendConfigAck #237
Jan 19 16:34:26 gateway mpd:  MRU 1492
Jan 19 16:34:26 gateway mpd:  AUTHPROTO PAP
Jan 19 16:34:26 gateway mpd:  MAGICNUM 4e7ea6a0
Jan 19 16:34:26 gateway mpd: [l0] LCP: state change Req-Sent --> Ack-Sent
Jan 19 16:34:26 gateway mpd: [l0] LCP: rec'd Configure Reject #1 (Ack-Sent)
Jan 19 16:34:26 gateway mpd:  MP MRRU 1600
Jan 19 16:34:26 gateway mpd:  MP SHORTSEQ
Jan 19 16:34:26 gateway mpd:  ENDPOINTDISC [802.1] 00 0e 0c dd 03 9b
Jan 19 16:34:26 gateway mpd: [l0] LCP: SendConfigReq #2
Jan 19 16:34:26 gateway mpd:  PROTOCOMP
Jan 19 16:34:26 gateway mpd:  MRU 1492
Jan 19 16:34:26 gateway mpd:  MAGICNUM 6a64dffc
Jan 19 16:34:26 gateway mpd: [l0] LCP: rec'd Configure Ack #2 (Ack-Sent)
Jan 19 16:34:26 gateway mpd:  PROTOCOMP
Jan 19 16:34:26 gateway mpd:  MRU 1492
Jan 19 16:34:26 gateway mpd:  MAGICNUM 6a64dffc
Jan 19 16:34:26 gateway mpd: [l0] LCP: state change Ack-Sent --> Opened
Jan 19 16:34:26 gateway mpd: [l0] LCP: auth: peer wants PAP, I want nothing
Jan 19 16:34:26 gateway mpd: [l0] PAP: using authname "username@teksavvy.com"
Jan 19 16:34:26 gateway mpd: [l0] PAP: sending REQUEST len:33
Jan 19 16:34:26 gateway mpd: [l0] LCP: LayerUp
Jan 19 16:34:27 gateway mpd: [l0] LCP: rec'd Configure Request #0 (Opened)
Jan 19 16:34:27 gateway mpd:  MRU 1492
Jan 19 16:34:27 gateway mpd:  MP MRRU 32719
Jan 19 16:34:27 gateway mpd:  ENDPOINTDISC [LOCAL] 34 36 30 37 32 31
30 30 39 34 00 00 00 00 00
Jan 19 16:34:27 gateway mpd:  AUTHPROTO PAP
Jan 19 16:34:27 gateway mpd:  MAGICNUM 5ec55af5
Jan 19 16:34:27 gateway mpd: [l0] LCP: LayerDown
Jan 19 16:34:27 gateway mpd: [l0] LCP: SendConfigReq #3
Jan 19 16:34:27 gateway mpd:  PROTOCOMP
Jan 19 16:34:27 gateway mpd:  MRU 1492
Jan 19 16:34:27 gateway mpd:  MAGICNUM 6a64dffc
Jan 19 16:34:27 gateway mpd: [l0] LCP: SendConfigNak #0
Jan 19 16:34:27 gateway mpd:  MP MRRU 1600
Jan 19 16:34:27 gateway mpd: [l0] LCP: state change Opened --> Req-Sent
Jan 19 16:34:27 gateway mpd: [l0] AUTH: Cleanup
Jan 19 16:34:27 gateway mpd: [l0] LCP: rec'd Configure Nak #3 (Req-Sent)
Jan 19 16:34:27 gateway mpd:  MP MRRU 32719
Jan 19 16:34:27 gateway mpd:  ENDPOINTDISC [NULL]
Jan 19 16:34:27 gateway mpd: [l0] LCP: SendConfigReq #4
Jan 19 16:34:27 gateway mpd:  PROTOCOMP
Jan 19 16:34:27 gateway mpd:  MRU 1492
Jan 19 16:34:27 gateway mpd:  MAGICNUM 6a64dffc
Jan 19 16:34:27 gateway mpd: [l0] LCP: rec'd Configure Request #1 (Req-Sent)
Jan 19 16:34:27 gateway mpd:  MRU 1492
Jan 19 16:34:27 gateway mpd:  MP MRRU 1600
Jan 19 16:34:27 gateway mpd:  ENDPOINTDISC [LOCAL] 34 36 30 37 32 31
30 30 39 34 00 00 00 00 00
Jan 19 16:34:27 gateway mpd:  AUTHPROTO PAP
Jan 19 16:34:27 gateway mpd:  MAGICNUM 5ec55af5
Jan 19 16:34:27 gateway mpd: [l0] LCP: SendConfigAck #1
Jan 19 16:34:27 gateway mpd:  MRU 1492
Jan 19 16:34:27 gateway mpd:  MP MRRU 1600
Jan 19 16:34:27 gateway mpd:  ENDPOINTDISC [LOCAL] 34 36 30 37 32 31
30 30 39 34 00 00 00 00 00
Jan 19 16:34:27 gateway mpd:  AUTHPROTO PAP
Jan 19 16:34:27 gateway mpd:  MAGICNUM 5ec55af5
Jan 19 16:34:27 gateway mpd: [l0] LCP: state change Req-Sent --> Ack-Sent
Jan 19 16:34:27 gateway mpd: [l0] LCP: rec'd Configure Ack #4 (Ack-Sent)
Jan 19 16:34:27 gateway mpd:  PROTOCOMP
Jan 19 16:34:27 gateway mpd:  MRU 1492
Jan 19 16:34:27 gateway mpd:  MAGICNUM 6a64dffc
Jan 19 16:34:27 gateway mpd: [l0] LCP: state change Ack-Sent --> Opened
Jan 19 16:34:27 gateway mpd: [l0] LCP: auth: peer wants PAP, I want nothing
Jan 19 16:34:27 gateway mpd: [l0] PAP: using authname "username@teksavvy.com"
Jan 19 16:34:27 gateway mpd: [l0] PAP: sending REQUEST len:33
Jan 19 16:34:27 gateway mpd: [l0] LCP: LayerUp
Jan 19 16:34:27 gateway mpd: [l0] LCP: rec'd Terminate Request #2 (Opened)
Jan 19 16:34:27 gateway mpd: [l0] LCP: state change Opened --> Stopping
Jan 19 16:34:27 gateway mpd: [l0] AUTH: Cleanup
Jan 19 16:34:27 gateway mpd: [l0] LCP: SendTerminateAck #5
Jan 19 16:34:27 gateway mpd: [l0] LCP: LayerDown
Jan 19 16:34:27 gateway mpd: [l0] LCP: rec'd Terminate Request #238 (Stopping)
Jan 19 16:34:27 gateway mpd: [l0] LCP: SendTerminateAck #6
Jan 19 16:34:27 gateway mpd: [l0] PPPoE: connection closed
Jan 19 16:34:27 gateway mpd: [l0] link: DOWN event
Jan 19 16:34:27 gateway mpd: [l0] LCP: Close event
Jan 19 16:34:27 gateway mpd: [l0] LCP: state change Stopping --> Closing
Jan 19 16:34:27 gateway mpd: [l0] LCP: Down event
Jan 19 16:34:27 gateway mpd: [l0] LCP: LayerFinish
Jan 19 16:34:27 gateway mpd: [l0] LCP: state change Closing --> Initial
Jan 19 16:34:35 gateway mpd: caught fatal signal term
Jan 19 16:34:35 gateway mpd: [sam] IFACE: Close event
Jan 19 16:34:35 gateway mpd: [sam] IPCP: Close event
Jan 19 16:34:37 gateway mpd: process 1862 terminated



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e8f0b580801191347y42b3a041y821dc4d8805a168b>