Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: miller69@gmx.net
To: lartc@vger.kernel.org
Subject: Re: [LARTC] QoS upstream and downstream...
Date: Tue, 19 Aug 2003 09:20:51 +0000	[thread overview]
Message-ID: <marc-lartc-106128492118000@msgid-missing> (raw)
In-Reply-To: <marc-lartc-106095179515415@msgid-missing>

>  Hi Thanks for your reply.One question - The lartc documentation says  -
> that in a NATed environment you should mark packets in the PREROUTING
stage
> while you have done in FORWARD stage - is that ok ?
I did this on purpose because you can check for incoming and outgoing
interface here (-i and -o).  On my box I needed both options and as in PREROUTING
only -i is available I had to take the FORWARD chain. This is working
absolutely perfect with me.

> Actually, I had asked
> this question earlier in this forum and I was told to mark packets in the
> PREROUTING stage. Similarly while receiving packets (downstream) on eth1 ;
> which stage should I mark packets ? I am not that conversant with
iptables.
> TIA,Rajesh
To my point of view it does NOT matter because you read out the mark for HTB
in/after PREROUTING stage and it's not important where the mark has been
set.  If you don't need the -o option to identify the packets just replace
FORWARD with PREROUTING ;-)

Cheers,
Mike

-- 
COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
--------------------------------------------------
1. GMX TopMail - Platz 1 und Testsieger!
2. GMX ProMail - Platz 2 und Preis-Qualitätssieger!
3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post

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

      parent reply	other threads:[~2003-08-19  9:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-15 12:48 [LARTC] QoS upstream and downstream Rajesh
2003-08-15 14:02 ` miller69
2003-08-19  9:20 ` miller69 [this message]

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-106128492118000@msgid-missing \
    --to=miller69@gmx.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox