Date: Thu, 16 Sep 1999 20:44:24 +1000 From: "Taras M. Dowhaluk" <tarasd@visiondb.com.au> To: Brian Somers <brian@Awfulhak.org> Cc: questions@FreeBSD.ORG Subject: Re: How to enable Multi-link PPP Message-ID: <199909161045.UAA04327@m5.c2.telstra-mm.net.au> In-Reply-To: <199909160718.IAA01029@keep.lan.Awfulhak.org> References: Your message of "Thu, 16 Sep 1999 07:56:24 %2B1000." <199909152157.HAA16128@m5.c2.telstra-mm.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <brian@Awfulhak.org> <brian@FreeBSD.org> > <http://www.Awfulhak.org> <brian@OpenBSD.org> > Don't _EVER_ lose your sense of humour ! <brian@FreeBSD.org.uk> > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909161045.UAA04327>