From owner-freebsd-questions@FreeBSD.ORG Wed Nov 10 01:23:40 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48C91106564A for ; Wed, 10 Nov 2010 01:23:40 +0000 (UTC) (envelope-from lsantagostini@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id A6E818FC17 for ; Wed, 10 Nov 2010 01:23:39 +0000 (UTC) Received: by wwb22 with SMTP id 22so122619wwb.31 for ; Tue, 09 Nov 2010 17:23:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=6EmF4JzLgStzwWLDqygdUI864mgD8QZVSQTiWfFxawk=; b=p/c9stSpjkOmsgcYY40v2SifO/w4UZiDE9d8PpifMzG/6dX4sVqRvscrfAfYteQwAB yGEJnArgjvMiNIj50lfxCP0QWFHzjijlHqREfmbOWTZOi5o+TEE75coeUCJ6DxMR9rsP lqmBdzH6OS6ykzEu/ykLeCjc/+uEbKjyOGZUs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Ha249VR6HBNAWJwq9tNDjaC8lOB6FSTQ0ogdDCkXHq0HCWaS3uD5C4DXk3luwUKl2h CJpRqnYsmN3+iM66OFA3s5H0rOcVFdhuHuzp04uzrSgIcw2BDuAgTNeDPVqXSKwmJ9Km 7qbV6gHvwFaehFlgVrZonmmQLwsp3C/E/hvH0= MIME-Version: 1.0 Received: by 10.216.140.37 with SMTP id d37mr435066wej.31.1289352218146; Tue, 09 Nov 2010 17:23:38 -0800 (PST) Received: by 10.216.35.2 with HTTP; Tue, 9 Nov 2010 17:23:37 -0800 (PST) In-Reply-To: References: <20407_1289335707_4CD9B39B_20407_70_1_D9B37353831173459FDAA836D3B43499A7AF8C0F@WADPMBXV0.waddell.com> <1065_1289336761_4CD9B7B9_1065_274_1_D9B37353831173459FDAA836D3B43499A7AF8C11@WADPMBXV0.waddell.com> <10928_1289348362_4CD9E50A_10928_2705_1_D9B37353831173459FDAA836D3B43499A7AF8C1C@WADPMBXV0.waddell.com> Date: Wed, 10 Nov 2010 01:23:37 +0000 Message-ID: From: Leonardo Santagostini To: Gary Gatten Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Nathan Vidican , bluethundr , "freebsd-questions@freebsd.org" Subject: Re: Multiple tun loadbalancing question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2010 01:23:40 -0000 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 > 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 > >> 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 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 > >> > >> > >> > 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? >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> >
>> >
>> > "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." >> >
>> > >> > _______________________________________________ >> > 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!! >> >> >> >> >> >> >>
>>
>> "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." >>
>> >> >