Date: Thu, 16 Sep 1999 07:56:24 +1000 From: "Taras M. Dowhaluk" <tarasd@visiondb.com.au> To: questions@FreeBSD.ORG Subject: How to enable Multi-link PPP Message-ID: <199909152157.HAA16128@m5.c2.telstra-mm.net.au>
next in thread | raw e-mail | index | archive | help
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" 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?199909152157.HAA16128>