From: VladSun <vladsun@relef.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] shaping using source IP after NAT
Date: Mon, 11 Jun 2007 19:02:31 +0000 [thread overview]
Message-ID: <466D9C47.7070909@relef.net> (raw)
In-Reply-To: <20070611155834.075b7462@pulsar.inexo.com.br>
Ethy H. Brito написа:
> Hi all
>
> I am using a pass trhu router and I need to QoS some clients output by its
> IP address. The problem is that QoS is due after NATing.
>
> Is there some clever way of doing this besides MARKing every packet with
> some IP hashing in POSTROUTING NAT table?
>
> Regards
>
> Ethy
> _______________________________________________
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
>
TC is performed after POSTROUTING, so you can not do any IP related TC
filtering. You can use CPU friendly patches for iptables like IPMARK or
IPCLASSIFY. Take a look at them.
Regards!
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
next prev parent reply other threads:[~2007-06-11 19:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-11 18:58 [LARTC] shaping using source IP after NAT Ethy H. Brito
2007-06-11 19:02 ` VladSun [this message]
2007-06-11 20:44 ` Marco Aurelio
2007-06-13 18:18 ` Ethy H. Brito
2007-06-13 20:20 ` VladSun
2007-06-14 19:25 ` Marco Aurelio
2007-06-14 20:11 ` Ethy H. Brito
2007-06-14 20:51 ` Ethy H. Brito
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=466D9C47.7070909@relef.net \
--to=vladsun@relef.net \
--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.