From: Mohan Sundaram <mohan.tux@gmail.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Ingress qdisc bypassed on SNAT'ed traffic?
Date: Mon, 06 Nov 2006 04:17:08 +0000 [thread overview]
Message-ID: <454EB474.4050702@vsnl.com> (raw)
In-Reply-To: <355a4e960611051946s4759a7c2k5e8dbe9aa3755342@mail.gmail.com>
EKC wrote:
> Hello,
> However, the same lartc ingress filter rules work fine when run on the
> NAT gateway address (10.32.4.2).
The QoS processing is done just before the device queue for egress or
immediately after ingress from the device. Thus using the 192.168.x.x
addresses for tc filters will not work. Using the gateway address works
as that is the IP on the incoming packet's header.
>
> I suppose this means that the ingress filter is being run too early in
> the PREROUTING chain to catch the NAT'ed destination address. Is there
> a patch to change this behaviour?
I've not seen one.
>
> I've also tried using connmark to no avail.
Ingress QoS works much before packet hits all this stuff.
>
> I would rather avoid using IMQ since my ingress QOS needs are pretty
> simple.
AFAIK, there is no other choice/way here.
>
> Any suggestions?
One wa of doing this is to use one NAT IP per subnet and shape based on
that NAT IP for ingress. However, this assumes you have as many
addresses on the gateway as the subnet. I'm using you do as the NAT'ted
IP is also a RFC1918 address. That leads to a more basic question - why
NAT when both are RFC1918 addresses?
Mohan
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
next prev parent reply other threads:[~2006-11-06 4:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-06 3:46 [LARTC] Ingress qdisc bypassed on SNAT'ed traffic? EKC
2006-11-06 4:17 ` Mohan Sundaram [this message]
2006-11-06 4:24 ` EKC
2006-11-11 12:23 ` Andy Furniss
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=454EB474.4050702@vsnl.com \
--to=mohan.tux@gmail.com \
--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.