Two interfaces, two IPs, nearly twice the speed?

CyberLeo Kitsana cyberleo at cyberleo.net
Thu Aug 2 05:54:09 UTC 2007


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 at CyberLeo.Net>

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


More information about the freebsd-questions mailing list