From owner-freebsd-questions Thu Sep 16 1:31:41 1999 Delivered-To: freebsd-questions@freebsd.org Received: from storm.FreeBSD.org.uk (storm.freebsd.org.uk [194.242.128.198]) by hub.freebsd.org (Postfix) with ESMTP id 9C76914E40 for ; Thu, 16 Sep 1999 01:31:37 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (root@localhost [127.0.0.1]) by storm.FreeBSD.org.uk (8.9.3/8.9.3) with ESMTP id JAA79277; Thu, 16 Sep 1999 09:31:36 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id IAA01029; Thu, 16 Sep 1999 08:18:32 +0100 (BST) (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199909160718.IAA01029@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: "Taras M. Dowhaluk" Cc: questions@FreeBSD.ORG Subject: Re: How to enable Multi-link PPP In-reply-to: Your message of "Thu, 16 Sep 1999 07:56:24 +1000." <199909152157.HAA16128@m5.c2.telstra-mm.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 16 Sep 1999 08:18:31 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The first thing that jumps out is that you're using two different login names.... is this really required ? To see what's happening with MP negotiations, enable lcp logging. If your MRRU option is rejected, the server doesn't do MP. > G'day list, > > I have 3.2-RELEASE and using Greg Lehey's The Complete FreeBSD 3rd > Edition plus resources on www.freebsd.org (and links) and this list it was a > doddle to configure this box with ipfw, nat, dns, sendmail, pppd, etc etc etc. > At the moment I use pppd to connect to our ISP (I can't remember why I > picked pppd over ppp). > > Anyhow, I now want to use ppp and multi-link ppp to aggregate the 2 > modems to our ISP on the assumption that it will give us greater bandwith. > I'll start with my ppp.conf below, I won't post the 400+ lines of log output > unless required. > > When I start ppp thus, "ppp -ddial mp": > 1. both logins seem to be made, > 2. tun0 is brought up, netstat -rn appears as for a single-link ppp, the log > shows > tun0: IPCP: myaddr aaa.bbb.ccc.146 hisaddr = aaa.bbb.ccc.1 > 3. query to the diagnostic port "show mp" reveals that multi-link ppp isn't > enabled, > 4. ping from the tun0 interface works OK, > 5. there is no socket created in /var/run. > > To prove single-link ppp is OK, I have 2 other ppp.conf sections, mp0 and > mp1, which connect just fine on tun0 and tun1, and I can ping out of either > interface. > > As an aside, I find it a bit odd that my ISP returns the _same_ remote > address for each link. We are given 2 addresses aaa.bbb.ccc.146 and > aaa.bbb.ccc.147, by default he always returns aaa.bbb.ccc.1, so I force the > 147 remote address to be aaa.bbb.ccc.2 and get no complaint. > > Is there a command I'm missing from ppp.conf (below), and what do I look for > in the log to tell me why multi-link ppp failed to be established. > > TIA, taras > > > /etc/ppp/ppp.conf > > default: > disable lqr > allow mode direct > set log Connect ID0 Command TUN Chat > set speed 115200 > > mp: > set socket 10000 bollocks > set log Phase Chat LCP IPCP CCP tun command > set openmode active 5 > set speed 115200 > set phone ppppppppp > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT \ > OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 60 CONNECT" > set ifaddr aaa.bbb.ccc.146/24 > add default HISADDR > set timeout 120 > set authname xxxxxx1 > set authkey xxxxxxxx > set mrru 1500 > clone cuac00, cuac01 > link deflink remove > link cuac00 set device /dev/cuac00 > link cuac00 set mode ddial > link cuac00 set login "ABORT NO\\sCARRIER TIMEOUT 5 name:--name: > xxxxxx1 word: xxxxxxxx net 1" > link cuac01 set device /dev/cuac01 > link cuac01 set mode ddial > link cuac01 set login "ABORT NO\\sCARRIER TIMEOUT 5 name:--name: > xxxxxx2 word: xxxxxxxx net 1" -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message