On Tue, January 11, 2011 1:35 am, Bonnie Packet wrote:
> I have an 12mbit down/1mbit up ADSL connection, an OpenBSD router-
> firewall, and several Net-hungry roommates connecting through it.
> So...I want to give each roomie a guaranteed bandwidth allotment, but
> not let them hog the ADSL pipe in either direction, upstream or
> downstream. I'm trying to wrap my head around how it's possible - if
> at all! - to set up altq directives both ways, with different sets
> queues and bandwidth limits, AND do NATting at the same time.

The problem with trying to throttle incoming bandwidth is that no matter
what you do, you have already received the packets.  As long as your
internal network is faster than the external network feeding it,
throttling incoming is useless: you've got the packets, putting them on
your internal network won't slow things down, and dropping them will only
cause them to get retransmitted.  (And use up *more* of your
already-scarce external connection.)

Shaping outgoing traffic is useful because you can control which packets
make it to the external chokepoint.  Coming in, they've already made it
through.

Daniel T. Staal

---------------------------------------------------------------
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------

Reply via email to