Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Tom <ml@b2f-tom.dnsalias.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Packets Redirection
Date: Thu, 24 Oct 2002 11:27:20 +0000	[thread overview]
Message-ID: <marc-lartc-103545891120575@msgid-missing> (raw)
In-Reply-To: <marc-lartc-103544064405271@msgid-missing>

Rehi all,

I continue to search and now it's work. There is what i did :
- I change my interface from eth0 to ppp0
- I change the chain from POSTROUTING to OUTPUT (evene if the both possibly 
work)
- I add the quantum to the SFQ queue, it was 1492 now it's 1500 (the same 
as my MTU)
- I reduce the bandwith from 128kbps to 104kbps according to the howto
- I change priority of all the handle from 0 to respectivly 0,1,2,3,4,5 and 6
and I changed the flowid to classid.

Now, i'm going to try back my old config step by step to see what exactly 
made problem.

Thanks a lot for your advises.

Best regards, Tom.

At 13:17 24/10/2002 +0200, you wrote:
>On Thursday 24 October 2002 10:43, Walter Haidinger wrote:
> > On Thu, 24 Oct 2002, Tom wrote:
> > > tc filter add dev $DEV parent 1:0 prio 0 protocol ip handle 20 fw flowid
> > > 1:20 tc filter add dev $DEV parent 1:0 prio 0 protocol ip handle 21 fw
> > > flowid 1:21 tc filter add dev $DEV parent 1:0 prio 0 protocol ip handle
> > > 22 fw flowid 1:22
> >
> > This odd. With my setup (2.4.20pre10 and tc from the 3.6 tarball) I need
> > to specify classid instead of flowid:
> >
> > # tc filter add fw help
> > Usage: ... fw [ classid CLASSID ] [ police POLICE_SPEC ]
> >        POLICE_SPEC := ... look at TBF
> >        CLASSID := X:Y
>from f_fw.c :
>                 if (matches(*argv, "classid") = 0 ||
>                     matches(*argv, "flowid") = 0) {
>
>So both can be used.
>
> > > iptables -t mangle -N MYSHAPER-OUT
> > > iptables -t mangle -I POSTROUTING -o $DEV -j MYSHAPER-OUT
> >
> > Tried OUTPUT chain for locally generated packets?
>You can use OUTPUT and POSTROUTING.  See www.docum.org under KPTD.
>
>Stef
>
>--
>
>stef.coene@docum.org
>  "Using Linux as bandwidth manager"
>      http://www.docum.org/
>      #lartc @ irc.oftc.net
>
>_______________________________________________
>LARTC mailing list / LARTC@mailman.ds9a.nl
>http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


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

  parent reply	other threads:[~2002-10-24 11:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-24  6:22 [LARTC] Packets Redirection Tom
2002-10-24  8:43 ` Walter Haidinger
2002-10-24 11:17 ` Stef Coene
2002-10-24 11:27 ` Tom [this message]
2002-10-24 11:37 ` Stef Coene

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-103545891120575@msgid-missing \
    --to=ml@b2f-tom.dnsalias.org \
    --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