From: Jens Thiele Date: Tue, 13 Mar 2007 13:47:42 +0000 Subject: Re: [LARTC] Standalone Shaping Message-Id: List-Id: References: <861508be0703130531yb7a757sa99bc8cb5879a614@mail.gmail.com> In-Reply-To: <861508be0703130531yb7a757sa99bc8cb5879a614@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Hi, I have the same question. "Randy Wallace" writes: > On a router, there is no need for and IMQ because there is always an > egress path. > For example: > Internet -> eth1 -> iptables -> routing -> ... -> egress qdisc -> > eth0 -> LAN > LAN -> eth0 -> iptables -> routing -> .... -> egress qdisc -> eth1 > -> Internet > Local Process / Proxy -> routing -> iptables -> egress qdisc -> What about Internet -> eth1 -> iptables -> Local Process ? First I thought it should be easy to put a virtual interface in between: Internet <-> eth1 <-> virtual dev (maybe tun/tap or modified dummy) <-> local process or routing <-> eth0 <-> LAN Then I could use egress shaping on eth1 and the virtual device (and have a setup as simple as a "plain router setup") But I did not manage to do this yet. Anybody using a setup like this one? (maybe bridging or iptables -j ROUTE might help? it seems impossible to force a packet to pass through netfilter for a second time) Greetings Jens PS: Randy: sorry for replying to the wrong address first _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc