From: Marek Kierdelewicz <marek@piasta.pl>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] htb : server trafficcontrol
Date: Sun, 16 Sep 2007 07:48:00 +0000 [thread overview]
Message-ID: <20070916094800.5e7a481d@catlap> (raw)
In-Reply-To: <46ebc3b932656@wp.pl>
>But AFAIK at the moment practically only if there is no NAT involved
>(or if you do not want to classify de-nated traffic).
>Any news regarding this problem?
Suppose we have simple router with upstream interface connected
to internet (eth0) and downstream interface connected to lan (eth1).
Lan uses private addressing so there is NAT rule used for traffic
leaving eth0.
You can redirect lan->internet traffic from ingress qdisc
of eth1 to ifb0. Traffic on ifb0 will be in "before-nat" state, so
private address based shaping will be possible. So no need for
classifying de-nated traffic.
Some people here on lartc list shared opinions that shaping in ingress
is not effective. It worked for me well on routers with hundreds of
clients.
Cheers,
Marek Kierdelewicz
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
next prev parent reply other threads:[~2007-09-16 7:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-15 11:36 [LARTC] htb : server trafficcontrol Mateusz Matusiak
2007-09-15 13:37 ` Jens Thiele
2007-09-15 15:42 ` Marek Kierdelewicz
2007-09-15 16:43 ` Jens Thiele
2007-09-16 7:48 ` Marek Kierdelewicz [this message]
2007-09-16 15:31 ` Jens Thiele
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070916094800.5e7a481d@catlap \
--to=marek@piasta.pl \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.