Re: Multiple tun loadbalancing question

2010-11-10 Thread Leonardo Santagostini
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  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 lsantagost...@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 lsantagost...@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 ggat...@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:bluethu...@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 ggat...@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:lsantagost...@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 ggat...@waddell.commailto:ggat...@waddell.com
 
  snip
 
  Also, may be obvious to point out, but all (3) connections must be
 from

Multiple tun loadbalancing question

2010-11-09 Thread Leonardo Santagostini
Hello all,

I have one freebsd 8.1 box with 3 3G mobile broadband connection.

All connections works fine, but i want to do loadbalancing / fault tolerant
with this 3 connections.

I was reading about lagg interfaces, but i think is not the proper
direction.

Someone can point me to the rigth one?

Thank you very much.
Leonardo Santagostini
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Multiple tun loadbalancing question

2010-11-09 Thread Diego Arias
On Tue, Nov 9, 2010 at 1:55 PM, Leonardo Santagostini 
lsantagost...@gmail.com wrote:

 Hello all,

 I have one freebsd 8.1 box with 3 3G mobile broadband connection.

 All connections works fine, but i want to do loadbalancing / fault tolerant
 with this 3 connections.

 I was reading about lagg interfaces, but i think is not the proper
 direction.

 Someone can point me to the rigth one?

 Thank you very much.
 Leonardo Santagostini
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org


I think lagg will not do the job, you have to set up PF(packet Filter) to do
some kind of Round-Robin.

-- 
Still Going Strong!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Multiple tun loadbalancing question

2010-11-09 Thread Nathan Vidican
Might I suggest you look into MultiLink PPP, or MLPPP - standard FreeBSD ppp
does support it. It allows for round-robin, or packet-splitting accross
multiple PPP connections to pool bandwidth. I am currently using MLPPP on
FreeBSD 8 with multiple DSL connections to the internet and thus far it
works great.

On Tue, Nov 9, 2010 at 1:55 PM, Leonardo Santagostini 
lsantagost...@gmail.com wrote:

 Hello all,

 I have one freebsd 8.1 box with 3 3G mobile broadband connection.

 All connections works fine, but i want to do loadbalancing / fault tolerant
 with this 3 connections.

 I was reading about lagg interfaces, but i think is not the proper
 direction.

 Someone can point me to the rigth one?

 Thank you very much.
 Leonardo Santagostini
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org




-- 
Nathan Vidican
nat...@vidican.com
(519) 962-9987 (Canada)
(313) 586-1982 (USA)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Multiple tun loadbalancing question

2010-11-09 Thread Leonardo Santagostini
WOW Excellent !!

I'll give it a try at night, later i will reply my result.

Thank you

Leonardo Santagostini


2010/11/9 Nathan Vidican nat...@vidican.com

 Might I suggest you look into MultiLink PPP, or MLPPP - standard FreeBSD
 ppp does support it. It allows for round-robin, or packet-splitting accross
 multiple PPP connections to pool bandwidth. I am currently using MLPPP on
 FreeBSD 8 with multiple DSL connections to the internet and thus far it
 works great.

 On Tue, Nov 9, 2010 at 1:55 PM, Leonardo Santagostini 
 lsantagost...@gmail.com wrote:

 Hello all,

 I have one freebsd 8.1 box with 3 3G mobile broadband connection.

 All connections works fine, but i want to do loadbalancing / fault
 tolerant
 with this 3 connections.

 I was reading about lagg interfaces, but i think is not the proper
 direction.

 Someone can point me to the rigth one?

 Thank you very much.
 Leonardo Santagostini

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org




 --
 Nathan Vidican
 nat...@vidican.com
 (519) 962-9987 (Canada)
 (313) 586-1982 (USA)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Multiple tun loadbalancing question

2010-11-09 Thread Leonardo Santagostini
I will also probe PF !!!

Kind regards

Leonardo Santagostini


2010/11/9 Diego Arias dak@gmail.com



 On Tue, Nov 9, 2010 at 1:55 PM, Leonardo Santagostini 
 lsantagost...@gmail.com wrote:

 Hello all,

 I have one freebsd 8.1 box with 3 3G mobile broadband connection.

 All connections works fine, but i want to do loadbalancing / fault
 tolerant
 with this 3 connections.

 I was reading about lagg interfaces, but i think is not the proper
 direction.

 Someone can point me to the rigth one?

 Thank you very much.
 Leonardo Santagostini
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org


 I think lagg will not do the job, you have to set up PF(packet Filter) to
 do some kind of Round-Robin.

 --
 Still Going Strong!!!

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Multiple tun loadbalancing question

2010-11-09 Thread Leonardo Santagostini
I was looking for mlppp and as far as i could see, mlppp works only on dsl
connections.

In my case im working with 3 3G usb dongles, so its no pppoe, just ppp

Do you have some working config?

Thanks in advance,
Leonardo Santagostini


2010/11/9 Leonardo Santagostini lsantagost...@gmail.com

 WOW Excellent !!

 I'll give it a try at night, later i will reply my result.

 Thank you

 Leonardo Santagostini


 2010/11/9 Nathan Vidican nat...@vidican.com

 Might I suggest you look into MultiLink PPP, or MLPPP - standard FreeBSD
 ppp does support it. It allows for round-robin, or packet-splitting accross
 multiple PPP connections to pool bandwidth. I am currently using MLPPP on
 FreeBSD 8 with multiple DSL connections to the internet and thus far it
 works great.

 On Tue, Nov 9, 2010 at 1:55 PM, Leonardo Santagostini 
 lsantagost...@gmail.com wrote:

 Hello all,

 I have one freebsd 8.1 box with 3 3G mobile broadband connection.

 All connections works fine, but i want to do loadbalancing / fault
 tolerant
 with this 3 connections.

 I was reading about lagg interfaces, but i think is not the proper
 direction.

 Someone can point me to the rigth one?

 Thank you very much.
 Leonardo Santagostini

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org




 --
 Nathan Vidican
 nat...@vidican.com
 (519) 962-9987 (Canada)
 (313) 586-1982 (USA)



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Multiple tun loadbalancing question

2010-11-09 Thread Chuck Swiger
On Nov 9, 2010, at 12:33 PM, Leonardo Santagostini wrote:
 I was looking for mlppp and as far as i could see, mlppp works only on dsl 
 connections.

No, it applies to anything supporting PPP; DSL lines using PPPoE, T1/PRI lines 
using PPP encapsulation for the data side, and even modem dialups using PPP can 
all be used with MLPPP.

 In my case im working with 3 3G usb dongles, so its no pppoe, just ppp
 
 Do you have some working config?

The main issue you might face is that your provider also needs to provide MLPPP 
support.  They might not be willing to do so with wireless equipment.

Regards,
-- 
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: Multiple tun loadbalancing question

2010-11-09 Thread Gary Gatten
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-unsubscr...@freebsd.org


Re: Multiple tun loadbalancing question

2010-11-09 Thread Leonardo Santagostini
Hello all,

Im using 3 different providers all from Argentina, Clora, Movistar and
Personal.

Thank you
Leonardo Santagostini


2010/11/9 Gary Gatten ggat...@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-unsubscr...@freebsd.org


Re: Multiple tun loadbalancing question

2010-11-09 Thread Chuck Swiger
On Nov 9, 2010, at 12:33 PM, Leonardo Santagostini wrote:
 Do you have some working config?

To answer this part more specifically, from man ppp:

 Multi-link capabilities are enabled using the ``set mrru'' command (set
 maximum reconstructed receive unit).  Once multi-link is enabled, ppp
 will attempt to negotiate a multi-link connection with the peer.
[ ... ]
 Armed with this information, the following configuration might be used:

   mp:
set timeout 0
set log phase chat
set device /dev/cuad0 /dev/cuad1 /dev/cuad2
set phone 123456789
set dial ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 \\ ATZ \
  OK-AT-OK \\dATDT\\T TIMEOUT 45 CONNECT
set login
set ifaddr 10.0.0.1/0 10.0.0.2/0 0.0.0.0 0.0.0.0
set authname ppp
set authkey assword

set mrru 1500
clone 1,2,3# Create 3 new links - duplicates of the 
default
link deflink remove# Delete the default link (called 
``deflink'')

 Note how all cloning is done at the end of the configuration.  Usually,
 the link will be configured first, then cloned.  If you wish all links to
 be up all the time, you can add the following line to the end of your
 configuration.

 link 1,2,3 set mode ddial

 If you want the links to dial on demand, this command could be used:

 link * set mode auto

 Links may be tied to specific names by removing the ``set device'' line
 above, and specifying the following after the ``clone'' command:

link 1 set device /dev/cuad0
link 2 set device /dev/cuad1
link 3 set device /dev/cuad2

 Use the ``help'' command to see which commands require context (using the
 ``link'' command), which have optional context and which should not have
 any context.

You might also check the fine FreeBSD Handbook for examples, also...

Regards,
-- 
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: Multiple tun loadbalancing question

2010-11-09 Thread Gary Gatten
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:lsantagost...@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 ggat...@waddell.commailto:ggat...@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-unsubscr...@freebsd.org


Re: Multiple tun loadbalancing question

2010-11-09 Thread bluethundr
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 ggat...@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:lsantagost...@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 ggat...@waddell.commailto:ggat...@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-unsubscr...@freebsd.org




-- 
Here's my RSA Public key:
gpg --keyserver pgp.mit.edu --recv-keys 5A4873A9

Share and enjoy!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: Multiple tun loadbalancing question

2010-11-09 Thread 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:bluethu...@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 ggat...@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:lsantagost...@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 ggat...@waddell.commailto:ggat...@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-unsubscr...@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

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Multiple tun loadbalancing question

2010-11-09 Thread 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 ggat...@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:bluethu...@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 ggat...@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:lsantagost...@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 ggat...@waddell.commailto:ggat...@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-unsubscr...@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


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Multiple tun loadbalancing question

2010-11-09 Thread 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 lsantagost...@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 ggat...@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:bluethu...@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 ggat...@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:lsantagost...@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 ggat...@waddell.commailto:ggat...@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