netdev
[Top] [All Lists]

Re: IMQ / new Dummy device post.

To: hadi@xxxxxxxxxx
Subject: Re: IMQ / new Dummy device post.
From: Andy Furniss <andy.furniss@xxxxxxxxxxxxx>
Date: Sat, 17 Apr 2004 11:39:19 +0100
Cc: netdev@xxxxxxxxxxx
In-reply-to: <1082145341.1026.125.camel@xxxxxxxxxxxxxxxx>
References: <407E5905.9070108@xxxxxxxxxxxxx> <1082031313.1039.13.camel@xxxxxxxxxxxxxxxx> <407EE3E5.8060200@xxxxxxxxxxxxx> <1082087553.1035.287.camel@xxxxxxxxxxxxxxxx> <4080356F.4020609@xxxxxxxxxxxxx> <1082145341.1026.125.camel@xxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212
jamal wrote:
On Fri, 2004-04-16 at 15:35, Andy Furniss wrote:


This is what I wanted to know. Is it possible to make an option to get them after NAT in and pre NAT out?


No i dont plan to. Why do you want to go that path?

I think it's the only way I can shape/share my ingress traffic between a process (eg. bittorrent/squid) running on my shaping machine and traffic that is forwarded to my LAN. I masquerade onto one real dynamic IP.

In the case of pre nat outbound - I know people can mark pre NAT and shape on that, but it would allow people with big LANs doing NAT to use WRR/ESFQ on src for egress traffic.



I don't think this applies to my setup Masqerading many local onto one real address.


If you have local on eth0(or substitute with whatever device you have
local on), the example i gave should work fine. You just have to change
the way you approach the setup. In case i didnt understand you, please
post the details of your setup.

My setup is very simple - the only reason I use IMQ+NAT patch is because I want to use my gateway/shaping PC to run bittorrent and I want the LAN machines to have priority/fair share of incoming traffic. I guess my setup is not that common - more common are people who run squid on the same PC they shape/do NAT on.

ppp0 one dynamic real IP ->  gateway PC -> eth0 -> LAN 192.168.0.0/24
                                  |
                                   -> local process.

Andy.



<Prev in Thread] Current Thread [Next in Thread>