From owner-freebsd-questions Thu Sep 16 3:45:44 1999 Delivered-To: freebsd-questions@freebsd.org Received: from m4.c2.telstra-mm.net.au (m4.c2.telstra-mm.net.au [24.192.3.19]) by hub.freebsd.org (Postfix) with ESMTP id 7480F14ECE for ; Thu, 16 Sep 1999 03:45:37 -0700 (PDT) (envelope-from tarasd@visiondb.com.au) Received: from m5.c2.telstra-mm.net.au (m5.c2.telstra-mm.net.au [24.192.3.20]) by m4.c2.telstra-mm.net.au (8.8.6 (PHNE_14041)/8.8.6) with ESMTP id UAA22808; Thu, 16 Sep 1999 20:45:34 +1000 (EST) X-BPC-Relay-Envelope-From: tarasd@visiondb.com.au X-BPC-Relay-Sender-Host: m5.c2.telstra-mm.net.au [24.192.3.20] X-BPC-Relay-Info: Message delivered as CC or BCC. Received: from homer (CPE-24-192-54-156.nsw.bigpond.net.au [24.192.54.156]) by m5.c2.telstra-mm.net.au (8.8.6 (PHNE_14041)/8.8.6) with SMTP id UAA04327; Thu, 16 Sep 1999 20:45:33 +1000 (EST) Message-Id: <199909161045.UAA04327@m5.c2.telstra-mm.net.au> From: "Taras M. Dowhaluk" To: Brian Somers Date: Thu, 16 Sep 1999 20:44:24 +1000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: How to enable Multi-link PPP Cc: questions@FreeBSD.ORG In-reply-to: <199909160718.IAA01029@keep.lan.Awfulhak.org> References: Your message of "Thu, 16 Sep 1999 07:56:24 +1000." <199909152157.HAA16128@m5.c2.telstra-mm.net.au> X-mailer: Pegasus Mail for Win32 (v3.11) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks for the quick response. > The first thing that jumps out is that you're using two different > login names.... is this really required ? The ISP has given us 2 logins, one gets us the aaa.bbb.ccc.146 IP address and the other aaa.bbb.ccc.147. I'll try the one set of credentials and see what happens. > > To see what's happening with MP negotiations, enable lcp logging. If > your MRRU option is rejected, the server doesn't do MP. Ah, thats the thing, I see only one 'reject': tun0: LCP: cuac00: -- Protocol 0x80fd (Compression Control Protocol) was rejected! As for LCP, there is a truckload of output but I can't see any rejection. I've emailed the log seperately so as not to clutter the list. Thanks again, taras > > > 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