All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] HTB Question...
Date: Wed, 04 Jun 2003 20:46:42 +0000	[thread overview]
Message-ID: <marc-lartc-105475967204142@msgid-missing> (raw)
In-Reply-To: <marc-lartc-105475853902692@msgid-missing>

I deleted some parts of your previous mail.

> tc filter add dev eth1 parent 1:1 protocol ip handle 10 fw classid 1:10
> iptables -A FORWARD -i eth0 -t mangle -s 192.168.193.10 -j MARK --set-

> Chain FORWARD (policy ACCEPT 109K packets, 79M bytes)
>  pkts bytes target     prot opt in     out     source
> destination
>     6   507 MARK       all  --  eth0   *       192.168.193.10
> 0.0.0.0/0          MARK set 0xa
Marking is in hex.  So you have to check the filters.  If you execute
tc -s -d fiter show dev eth0
you should see your filter statemens and the handle should also be in hex.  If 
it's not, you can change your commands so you specify the handle in hex :

tc filter add dev eth1 parent 1:1 protocol ip handle 0x10 fw classid 1:10

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/

  reply	other threads:[~2003-06-04 20:46 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-04 20:27 [LARTC] HTB Question TeraHz
2003-06-04 20:46 ` Stef Coene [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-04-07 15:09 [LARTC] HTB question Omer suat
2002-04-07 15:17 ` Martin Devera
2002-04-07 15:21 ` Stef Coene
2002-05-13 17:30 ` Pavlos Parissis
2003-04-09 18:06 ` [LARTC] HTB Question Allan Gee
2003-05-23  9:56 ` [LARTC] HTB question Ruslan Spivak
2003-06-28 11:58 ` Lars Landmark
2003-06-28 16:09 ` Stoilis Giannis
2004-01-15 11:07 ` [LARTC] HTB Question hare ram
2006-09-13 14:47 ` [LARTC] HTB question doudouyam

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-105475967204142@msgid-missing \
    --to=stef.coene@docum.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 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.