From: "Siller Gonzalez Pico, Mario A" <masill@essex.ac.uk>
To: lartc@vger.kernel.org
Subject: [LARTC] Not marking using as simple configuration
Date: Fri, 31 May 2002 17:19:50 +0000 [thread overview]
Message-ID: <marc-lartc-102286573015634@msgid-missing> (raw)
Hello all,
I have a very simple configuration and I just can't figure out why the
marking is not being done. I want to have all packets from 10.0.0.0/24 to
20.0.0.1 marked as EF traffic. What could be wrong?
Any help or ideas would be really appreciated.
Thanks,
Mario.
----------------------------------------------------------------------------
----------------------------
./tc qdisc add dev eth1 handle 1:0 root dsmark indices 64
./tc class change dev eth1 classid 1:1 dsmark mask 0x3 value 0xb8
./tc filter add dev eth1 parent 1:0 protocol ip prio 4 handle 1: u32 divisor
1
./tc filter add dev eth1 parent 1:0 protocol ip prio 4 u32 match ip src
10.0.0.0/24 match ip dst 20.0.0.1/32 flowid 1:1
----------------------------------------------------------------------------
----------------------------
[root@localhost tc]# ./tc qdisc show dev eth1
qdisc dsmark 1: indices 0x0040
[root@localhost tc]# ./tc class show dev eth1
class dsmark 1:1 parent 1: mask 0x03 value 0xb8
[root@localhost tc]# ./tc filter show dev eth1
filter parent 1: protocol ip pref 4 u32
filter parent 1: protocol ip pref 4 u32 fh 1: ht divisor 1
filter parent 1: protocol ip pref 4 u32 fh 800: ht divisor 1
filter parent 1: protocol ip pref 4 u32 fh 800::800 order 2048 key ht 800
bkt 0 flowid 1:1
match 0a000000/ffffff00 at 12
match 14000001/ffffffff at 16
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
reply other threads:[~2002-05-31 17:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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-102286573015634@msgid-missing \
--to=masill@essex.ac.uk \
--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