All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Furniss <andy.furniss@dsl.pipex.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Problem with marking packets...
Date: Mon, 30 May 2005 15:29:42 +0000	[thread overview]
Message-ID: <429B3166.4080807@dsl.pipex.com> (raw)
In-Reply-To: <4293A677.2050802@tlen.pl>

Konrad wrote:
> Andy wrote:
> 
>> Konrad wrote:
>>
>>>  > So I assume the routing is working OK.
>>> Yes... routing is working well.
>>
>>
>>
>> OK - I am still confused about what interfaces you have your script 
>> uses 1 2 and 3.
> 
> 
>> That rule will send all packets going through postrouting to imq1 
>> whether they are going inside or outside ...
> 
> 
> OK. You right... never mind.
> 
> I will try to explain You:P
> 
> I attached file... with code, and comments and explanation of problem.

In theory you should be able to match marks set in postrouting mangle 
with shapers on imq - but then you wouldn't need to if you used one imq 
per link or shaped directly on the internet interfaces (though you 
wouldn't be able to use local src ips then if you are doing nat).

It's possible mark isn't working for you - there was a post recently 
from hareram who tried alot of things but couldn't get mark to work on 
his distros kernel/iptables/iproute mix. He ended up using CLASSIFY.

I would try a simple test case to see if mark really is the problem - if 
it is you can still use more imqs and use -i/-o ethx to seperate out the 
traffic per link.

I see you are also using squid - see the recent thread about shaping 
with that - AFAICT it's not that easy if you wan't per user fairness on 
cache misses.

Andy.

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

      parent reply	other threads:[~2005-05-30 15:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-24 22:11 [LARTC] Problem with marking packets Konrad
2005-05-26  8:39 ` Konrad
2005-05-26 10:18 ` Andy Furniss
2005-05-26 12:50 ` Konrad
2005-05-26 19:20 ` Andy Furniss
2005-05-26 23:19 ` Konrad
2005-05-30 15:29 ` Andy Furniss [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=429B3166.4080807@dsl.pipex.com \
    --to=andy.furniss@dsl.pipex.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.