From owner-freebsd-questions@FreeBSD.ORG Wed Nov 10 13:17: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 8155A106566C for ; Wed, 10 Nov 2010 13:17:40 +0000 (UTC) (envelope-from lsantagostini@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id DBC2E8FC1E for ; Wed, 10 Nov 2010 13:17:39 +0000 (UTC) Received: by wya21 with SMTP id 21so784542wya.13 for ; Wed, 10 Nov 2010 05:17: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=wFpOrVnwQxr5sDt+oIwAFm+A4FPyoejBtW/jfyTfM6E=; b=IJ4U4/27P5BgrP8+ovymtAC8iTi3Zj9jwVxrHqKg98VrGdsOQYAXGEAV6DSTS9zeou dJjZI8Muk97hO9mrCKmhsCD6PZNtvGCV3CbrvuRcAAlwK74XwI9pafDqcgM2wkRK1Yvk iRyfWrj4NBE+7pjO3POOxQbUxC4SsoG30DdLc= 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=Fet8gh4xpUTTjQOrkuUodcbfcC9pleOh9VHmhbg/XzR+XSQo7XnpfUPu/HjVWDq7D1 2oL/ota6Ov7zp8nR6ZxSIv4T7bYIhdnDnyBrOlyvRiDaYaWkYZyjheVdwC4ZXfZ/UPAI w/WlZglqmYFNdJg1GexL62U8uM4CK1CGSjLKc= MIME-Version: 1.0 Received: by 10.227.137.197 with SMTP id x5mr8395723wbt.198.1289395057563; Wed, 10 Nov 2010 05:17:37 -0800 (PST) Received: by 10.216.35.2 with HTTP; Wed, 10 Nov 2010 05:17: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 13:17: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 13:17:40 -0000 Ok, Sorry by the late but yesterday when i went home, 2 of my 3 modems stopped working. One of them, provider problem, the other.... mmmmmmmm so strange, i can get connected in my xp box but no in FreeBSD, lookup deeper i realized that enumeration of the usb port number has changed. I change my ppp.conf according to new usr port number but i was not able to establish de connection, i get NO CARRIER. It was the time i decided go to sleep. Well when i get back to my home i will still probing, and let you know how things are going. Thank for all your support, Regards, Leonardo Santagostini 2010/11/9 Leonardo Santagostini > 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." >>>
>>> >>> >> >