All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: lartc@vger.kernel.org
Subject: [LARTC] Re: IMQ
Date: Tue, 14 May 2002 08:16:16 +0000	[thread overview]
Message-ID: <marc-lartc-102136425229085@msgid-missing> (raw)

Hi !

Odri Kornel wrote:
> Hi, 
> 
> I'm trying to set up a QoS over two logical devices. Imq would be great, but 
> my problem is that it's using POSTROUTING rules and I'm already using SNAT 
> wich also requires it. 

I don't see where the problem is, NAT is an iptables table, IMQ is a 
network device. The IMQ iptables target just marks the packet in 
POSTROUTING to be enqueued, the actual enqueueing/dequeueing happens 
later (after all tables have been passed). The only thing you have to be 
aware of is that for outgoing packets the mangle table (marking) will 
see the original source ip while any u32/whatever filters attached to 
the imq device will get the packets already SNATed, but thats just like 
with regular network devices.

Bye,
Patrick

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

             reply	other threads:[~2002-05-14  8:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-14  8:16 Patrick McHardy [this message]
2002-05-14 10:24 ` [LARTC] Re: IMQ Patrick McHardy

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=marc-lartc-102136425229085@msgid-missing \
    --to=kaber@trash.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.