Multiple tun loadbalancing question
Leonardo Santagostini
lsantagostini at gmail.com
Wed Nov 10 13:17:40 UTC 2010
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 <lsantagostini at gmail.com>
> 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 at 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 at 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 at gmail.com]
>>> Sent: Tuesday, November 09, 2010 5:42 PM
>>> To: Gary Gatten
>>> Cc: Leonardo Santagostini; Nathan Vidican; freebsd-questions at 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 at 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 at gmail.com]
>>> > Sent: Tuesday, November 09, 2010 2:52 PM
>>> > To: Gary Gatten
>>> > Cc: Chuck Swiger; Nathan Vidican; freebsd-questions at 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 at waddell.com<mailto:Ggatten at 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 at freebsd.org mailing list
>>> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>> > To unsubscribe, send any mail to "
>>> freebsd-questions-unsubscribe at 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>
>>>
>>>
>>
>
More information about the freebsd-questions
mailing list