From owner-freebsd-net@FreeBSD.ORG Mon Nov 7 17:19:51 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E902116A41F; Mon, 7 Nov 2005 17:19:51 +0000 (GMT) (envelope-from julian@elischer.org) Received: from delight.idiom.com (outbound.idiom.com [216.240.47.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4E4943D46; Mon, 7 Nov 2005 17:19:51 +0000 (GMT) (envelope-from julian@elischer.org) Received: from idiom.com (idiom.com [216.240.32.1]) by delight.idiom.com (Postfix) with ESMTP id 0DB49224F39; Mon, 7 Nov 2005 09:19:51 -0800 (PST) Received: from [192.168.2.6] (home.elischer.org [216.240.48.38]) by idiom.com (8.12.11/8.12.11) with ESMTP id jA7HJm9X059611; Mon, 7 Nov 2005 09:19:48 -0800 (PST) (envelope-from julian@elischer.org) Message-ID: <436F8CB4.8040805@elischer.org> Date: Mon, 07 Nov 2005 09:19:48 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.11) Gecko/20050727 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gleb Smirnoff References: <6.2.1.2.2.20051107165813.03b3deb0@202.179.0.80> <20051107091211.GO91530@cell.sick.ru> <6.2.1.2.2.20051107172022.03b27990@202.179.0.80> <20051107095034.GP91530@cell.sick.ru> In-Reply-To: <20051107095034.GP91530@cell.sick.ru> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, Ganbold Subject: Re: mpd as pppoe server problem 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: Mon, 07 Nov 2005 17:19:52 -0000 Gleb Smirnoff wrote: >On Mon, Nov 07, 2005 at 05:29:40PM +0800, Ganbold wrote: >G> At 05:12 PM 11/7/2005, you wrote: >G> >On Mon, Nov 07, 2005 at 05:05:45PM +0800, Ganbold wrote: >G> >G> I'm trying to configure mpd as a pppoe server in FreeBSD 5.3. However >G> >ADSL >G> >G> user can't log in to pppoe server. >G> >G> Nothing happens on mpd console. >G> > >G> >Do you see PPPoE PADI packets with help of tcpdump? >G> >G> Gleb, I got it working. I have several questions: >G> >G> In log it says: >G> ... >G> [PPPoE] LCP: phase shift AUTHENTICATE --> NETWORK >G> [PPPoE] setting interface ng0 MTU to 1480 bytes >G> [PPPoE] up: 1 link, total bandwidth 64000 bps >G> ... >G> [PPPoE:PPPoE] show link >G> Link PPPoE: >G> Configuration >G> MRU : 1500 bytes >G> Ctrl char map : 0x000a0000 bytes >G> Retry timeout : 2 seconds >G> Max redial : -1 connect attempts >G> Bandwidth : 64000 bits/sec >G> >G> Can I change the bandwidth of my customer? Basically I would like to >G> configure it in DSLAM, not in mpd server. >G> Is it possible to change it in mpd? > >Does mpd really limits bandwidth to 64000 bits/sec? > > > that number is only 'pretend' it is so tha tyou can tell mpd which lionks ahf what % of the traffic in multilink ppp. i.e 64000 and 64000 will split the traffic in half for each link 64000 and 128000 will split it 1/3 and 2/3 (or so I remenber archie saying.)