bridge + ip_alias --> SLOW!!!

Gleb Smirnoff glebius at freebsd.org
Fri Sep 3 15:21:43 PDT 2004


On Mon, Aug 30, 2004 at 09:23:23PM -0500, Andrea Venturoli wrote:

A> Just to give an idea, I tested with iperf and this are the results:
A> 
A> internal net -> xxx.xxx.xxx.1     6.93 Mb/s
A> internal net -> xxx.xxx.xxx.12    6.94 Mb/s
A> internet     -> xxx.xxx.xxx.1     237 Kb/s
A> internet     -> xxx.xxx.xxx.12    60.3 Kb/s
A> 
A> So using the alias IP seems four times slower, but this is probably due to the bandwidth limit on the other side (I
A> could only test from an ADSL): if I surf the web, choosing one of the two IPs as source, I get a much bigger gap.
A> 
A> I tried with an "allow all" rule as the first in the ipfw chain, and got no improvement, so the firewall should (IMHO)
A> not be the problem.

To check whether problem live in bridge(4), you can try ng_bridge(4) instead
of it and see does this help.

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE


More information about the freebsd-net mailing list