Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Aug 2007 00:15:40 -0500
From:      CyberLeo Kitsana <cyberleo@cyberleo.net>
To:        Federico Lorenzi <florenzi@gmail.com>
Cc:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: Two interfaces, two IPs, nearly twice the speed?
Message-ID:  <46B16893.3080800@cyberleo.net>
In-Reply-To: <3a386af20708010826x68966aas18ebe2006d5f5f17@mail.gmail.com>
References:  <3a386af20708010826x68966aas18ebe2006d5f5f17@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Federico Lorenzi wrote:
> Hi list
> 
> BACKGROUND:
> I have two ppp interfaces tun0 and tun1 configured. Each of them
> has an IP address in the same range, like 10.0.0.1 for the first and
> 10.0.0.2 for the second (They are really dynamic public IPs...). Now,
> what I would like to do is get it so that they get mixed together.
> 
> QUESTION:
> Is it possible to get PF to somehow round-robin the connections?
> Lets say Joe connects to the internet and starts downloading a file,
> it will use up Connection 1. Now Peter connects, PF knows that
> connection 1 is used, and makes Peter's request go through
> Connection 2. Kinda like a Dual-Internet?

I tried that once. It wasn't pretty.
There are still rogue and unresolved memory leaks that cause this to
fail under high load by exhausting mbufs.

I documented my experiences here:

http://wiki.cyberleo.net/index.php/MultiHomedRouter

Hope this helps!

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
<CyberLeo@CyberLeo.Net>

Furry Peace! - http://wwww.fur.com/peace/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46B16893.3080800>