From owner-freebsd-net@FreeBSD.ORG Sat Jan 19 21:47:29 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC73C16A46E for ; Sat, 19 Jan 2008 21:47:29 +0000 (UTC) (envelope-from mikemacleod@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.177]) by mx1.freebsd.org (Postfix) with ESMTP id 4E44C13C46E for ; Sat, 19 Jan 2008 21:47:28 +0000 (UTC) (envelope-from mikemacleod@gmail.com) Received: by py-out-1112.google.com with SMTP id u52so2176815pyb.10 for ; Sat, 19 Jan 2008 13:47:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=xYcjdGpAZP6wYtWaBccw+qwvOCr+aRBH4AZ882b4oF0=; b=ouzgWe765LVCWk3AYR0CrXO482V7Ho4pZ1jrDkYOTcaibdx9+0btQ9DE+vn1wU8OOp140+SoKnGPG1K0fj95zABB1SaFMr9sdZ5/n2vDsHFOkreKrA6wfDfo+1NXLKw46QPNef99oeK/PhzqokxwX4IqSxDOkEoIqQqHDdE+cUw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GxHs2Nzhl00aHFaODOhk5jyK/NjqO5PzlrgiahKjmU8Cq3IOFORZb6H6DbMfOf6WGcxmeNWblgKqh0iwBpTMTJdK3yhAGJZROwZL/94VsCODeMBrwiaMSCa4ChWx0oRpMydCM888t16/S8mHCsQpXkbL2u1cY9o9GTllLhmVe+A= Received: by 10.64.199.2 with SMTP id w2mr10841446qbf.11.1200779246914; Sat, 19 Jan 2008 13:47:26 -0800 (PST) Received: by 10.64.179.20 with HTTP; Sat, 19 Jan 2008 13:47:26 -0800 (PST) Message-ID: Date: Sat, 19 Jan 2008 16:47:26 -0500 From: "Michael MacLeod" To: "Alexander Motin" In-Reply-To: <478E834E.4080302@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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> Cc: freebsd-net@freebsd.org, Julian Elischer , Nikos Vassiliadis Subject: Re: Multilink PPP Download Speeds With Round-Robin Packets X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jan 2008 21:47:29 -0000 On Jan 16, 2008 5:21 PM, Alexander Motin 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