Date: Wed, 10 Nov 2010 01:23:37 +0000 From: Leonardo Santagostini <lsantagostini@gmail.com> To: Gary Gatten <Ggatten@waddell.com> Cc: Nathan Vidican <nathan@vidican.com>, bluethundr <bluethundr@gmail.com>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: Multiple tun loadbalancing question Message-ID: <AANLkTi=hsECPuftigevo9eLrd0uL23BByA0dL320ne2Q@mail.gmail.com> In-Reply-To: <AANLkTikQPBWt3s_FvFuOT4QTF2RTETCdoYrQ6M8sOE4t@mail.gmail.com> References: <AANLkTikdG8KCiq1oyUUmyTP1ikLTyhjW%2B_iBfv=jSELd@mail.gmail.com> <AANLkTikV_VdBatoWhnsrnbb7r=u9LoYXuaJCGj%2BTxDmZ@mail.gmail.com> <AANLkTimPwL2Y7KM0pfVGAXd_4pNTxYGtUwGuWFoxRrF5@mail.gmail.com> <AANLkTimsFByMBWiqQk9gOLKAY2dEbyMFGSFB=UuNuwxz@mail.gmail.com> <BA786250-1EA8-4AAA-9A6A-F333CF435F8D@mac.com> <20407_1289335707_4CD9B39B_20407_70_1_D9B37353831173459FDAA836D3B43499A7AF8C0F@WADPMBXV0.waddell.com> <AANLkTi==S9gCHHJUur45YR8oSgojH=PKtExo5A9qVvAu@mail.gmail.com> <1065_1289336761_4CD9B7B9_1065_274_1_D9B37353831173459FDAA836D3B43499A7AF8C11@WADPMBXV0.waddell.com> <AANLkTinbvWQ=obv92QkKk717Fd_tR6QOKCT=W6Q=Bwhi@mail.gmail.com> <10928_1289348362_4CD9E50A_10928_2705_1_D9B37353831173459FDAA836D3B43499A7AF8C1C@WADPMBXV0.waddell.com> <AANLkTikQPBWt3s_FvFuOT4QTF2RTETCdoYrQ6M8sOE4t@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Ok, Here it comes my ppp.conf default: set log Phase Chat LCP IPCP CCP tun command set timeout 180 enable dns accept dns allow users mjl add default HISADDR set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 disable ipv6cp disable mppe disable vjcomp disable acfcomp disable deflate disable pred1 disable protocomp disable lqr deny chap claro: set device /dev/cuaU6.2 set phone "*99#" set authname clarogprs set authkey clarogprs999 set dial "ABORT BUSY TIMEOUT 5 \ \"\" \ ATZ OK-AT-OK \ ATZ OK-AT-OK \ AT+CFUN=1 OK-AT-OK \ AT+CSQ OK \ AT+CGDCONT=1,\\\"IP\\\",\\\"igprs.claro.com.ar\\\" OK \ AT+CGACT? OK-AT-OK \ AT+CGATT? OK \ AT+COPS? OK \ ATDT*99# CONNECT" set ifaddr 10.0.0.1/0 10.0.0.2/0 0.0.0.0 0.0.0.0 add! default HISADDR movistar: set device /dev/cuaU2.0 set phone "*99#" set authname internet set authkey internet set dial "ABORT BUSY TIMEOUT 5 \ \"\" \ ATZ OK-AT-OK \ ATZ OK-AT-OK \ AT+CFUN=1 OK-AT-OK \ AT+CSQ OK \ AT+CGDCONT=1,\\\"IP\\\",\\\"internet.gprs.unifon.com.ar\\\" OK \ AT+CGACT? OK-AT-OK \ AT+CGATT? OK \ AT+COPS? OK \ ATDT*99# CONNECT" set ifaddr 10.0.0.11/0 10.0.0.12/0 0.0.0.0 0.0.0.0 add! default HISADDR personal: set device /dev/cuaU0.1 set phone "*99#" set authname gprs set authkey gprs set dial "ABORT BUSY TIMEOUT 5 \ \"\" \ ATZ OK-AT-OK \ ATZ OK-AT-OK \ ATZ OK-AT-OK \ AT+CFUN=1 OK-AT-OK \ AT+CSQ OK \ AT+CGDCONT=1,\\\"IP\\\",\\\"gprs.personal.com\\\" OK \ AT+CGACT? OK-AT-OK \ AT+CGATT? OK \ AT+COPS? OK \ ATDT*99# CONNECT" set ifaddr 10.0.0.21/0 10.0.0.22/0 0.0.0.0 0.0.0.0 add! default HISADDR First of all i will try with PF It seems to me easier than other clues :-) C-ya Leonardo Santagostini 2010/11/10 Leonardo Santagostini <lsantagostini@gmail.com> > Hello All, in a few moments i will start making some test with the > suggestions you give me. > > I will tell you how things are going. > > Thanks all for reply! > Yours, > > Leonardo Santagostini > > > 2010/11/9 Gary Gatten <Ggatten@waddell.com> > >> Seems out of scope to OP, but cool info nonetheless. I'd like to get my >> web team to ditch a couple ISA servers for this, but sadly I doubt they >> will... >> >> -----Original Message----- >> From: bluethundr [mailto:bluethundr@gmail.com] >> Sent: Tuesday, November 09, 2010 5:42 PM >> To: Gary Gatten >> Cc: Leonardo Santagostini; Nathan Vidican; freebsd-questions@freebsd.org >> Subject: Re: Multiple tun loadbalancing question >> >> This might be worth looking into as well! >> >> It's an open source load balancer that was originally developed by >> yahoo and released into the open source community. It is now a part of >> the Apache project: >> >> http://trafficserver.apache.org/ >> >> >> >> On Tue, Nov 9, 2010 at 4:06 PM, Gary Gatten <Ggatten@waddell.com> wrote: >> > If three different providers, then to my knowledge you are SOL - mlppp >> is not an option - unless someone here knows something I don't - which is >> 100% likely :) >> > >> > Now, that said you can configure your routing to split the traffic >> amongst different connections - so traffic to/from certain hosts use >> connection A, other hosts use B, etc. You can even get fancy and route >> based on application and host if you wish. Ci$co calls this Policy Based >> Routing. I'm not sure if FBSD or another package such as pf allows similar >> functionality. My guess would be yes - but I don't know anything about >> that. >> > >> > As for "bonding" or aggregating your connections to appear as a single >> one - not an option AFAIK. >> > >> > G >> > >> > ________________________________ >> > From: Leonardo Santagostini [mailto:lsantagostini@gmail.com] >> > Sent: Tuesday, November 09, 2010 2:52 PM >> > To: Gary Gatten >> > Cc: Chuck Swiger; Nathan Vidican; freebsd-questions@freebsd.org >> > Subject: Re: Multiple tun loadbalancing question >> > >> > Hello all, >> > >> > Im using 3 different providers all from Argentina, Clora, Movistar and >> Personal. >> > >> > Thank you >> > Leonardo Santagostini >> > >> > 2010/11/9 Gary Gatten <Ggatten@waddell.com<mailto:Ggatten@waddell.com>> >> > <snip> >> > >> > Also, may be obvious to point out, but all (3) connections "must" be >> from the same provider. In the lab you could MAYBE get a stable/usable >> connection from multiple providers (with just ppp or 'x' encap) by splitting >> the requests on the egress side - but it's highly unlikely in the real >> world. In most cases the traffic load is asymmetrical and heavily biased >> towards ingress traffic, so even if you could get it to "work" - it wouldn't >> provide much benefit. >> > >> > Just curious, what provider are you using? >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > <font size="1"> >> > <div style='border:none;border-bottom:double windowtext >> 2.25pt;padding:0in 0in 1.0pt 0in'> >> > </div> >> > "This email is intended to be reviewed by only the intended recipient >> > and may contain information that is privileged and/or confidential. >> > If you are not the intended recipient, you are hereby notified that >> > any review, use, dissemination, disclosure or copying of this email >> > and its attachments, if any, is strictly prohibited. If you have >> > received this email in error, please immediately notify the sender by >> > return email and delete this email from your system." >> > </font> >> > >> > _______________________________________________ >> > freebsd-questions@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> > To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> > >> >> >> >> -- >> Here's my RSA Public key: >> gpg --keyserver pgp.mit.edu --recv-keys 5A4873A9 >> >> Share and enjoy!! >> >> >> >> >> >> <font size="1"> >> <div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in >> 0in 1.0pt 0in'> >> </div> >> "This email is intended to be reviewed by only the intended recipient >> and may contain information that is privileged and/or confidential. >> If you are not the intended recipient, you are hereby notified that >> any review, use, dissemination, disclosure or copying of this email >> and its attachments, if any, is strictly prohibited. If you have >> received this email in error, please immediately notify the sender by >> return email and delete this email from your system." >> </font> >> >> >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=hsECPuftigevo9eLrd0uL23BByA0dL320ne2Q>