* [LARTC] Problems while mixing protocols
@ 2004-01-14 9:14 Mindaugas Riauba
0 siblings, 0 replies; only message in thread
From: Mindaugas Riauba @ 2004-01-14 9:14 UTC (permalink / raw)
To: lartc
Hello,
I'm trying to shape traffic by IP addresses and by 802.1q vlans.
But when I add 802.1q filter filters output looks strange.
Maybe I'm missing some options to TC?
Thanks,
Mindaugas
# ./bin/tc -s -d filter show dev eth0
filter parent 1: protocol ip pref 1 u32
filter parent 1: protocol ip pref 1 u32 fh 800: ht divisor 1
filter parent 1: protocol ip pref 1 u32 fh 800::800 order 2048 key ht 800
bkt 0 flowid 1:10
match d5e2b800/fffffe00 at 12
filter parent 1: protocol ip pref 1 u32 fh 800::801 order 2049 key ht 800
bkt 0 flowid 1:11
match d5e28af0/fffffff8 at 12
filter parent 1: protocol ip pref 1 u32 fh 800::802 order 2050 key ht 800
bkt 0 flowid 1:11
match d5e28af8/fffffffc at 12
filter parent 1: protocol ip pref 1 u32 fh 800::803 order 2051 key ht 800
bkt 0 flowid 1:200
match d5e2a020/fffffffc at 12
filter parent 1: protocol ip pref 1 u32 fh 800::804 order 2052 key ht 800
bkt 0 flowid 1:300
match d5e2a024/fffffffc at 12
# ./bin/tc filter add dev eth0 parent 1: protocol 802.1Q u32 match u16 5
0x0fff flowid 1:500
# ./bin/tc -s -d filter show dev eth0
filter parent 1: protocol ip pref 1 u32
filter parent 1: protocol ip pref 1 u32 fh 801: ht divisor 1
filter parent 1: protocol ip pref 1 u32 fh 801::800 order 2048 key ht 801
bkt 0 flowid 1:500
match 00050000/0fff0000 at 0
filter parent 1: protocol ip pref 1 u32 fh 800: ht divisor 1
filter parent 1: protocol ip pref 1 u32 fh 800::800 order 2048 key ht 800
bkt 0 flowid 1:10
match d5e2b800/fffffe00 at 12
filter parent 1: protocol ip pref 1 u32 fh 800::801 order 2049 key ht 800
bkt 0 flowid 1:11
match d5e28af0/fffffff8 at 12
filter parent 1: protocol ip pref 1 u32 fh 800::802 order 2050 key ht 800
bkt 0 flowid 1:11
match d5e28af8/fffffffc at 12
filter parent 1: protocol ip pref 1 u32 fh 800::803 order 2051 key ht 800
bkt 0 flowid 1:200
match d5e2a020/fffffffc at 12
filter parent 1: protocol ip pref 1 u32 fh 800::804 order 2052 key ht 800
bkt 0 flowid 1:300
match d5e2a024/fffffffc at 12
filter parent 1: protocol 802.1Q pref 49152 u32
filter parent 1: protocol 802.1Q pref 49152 u32 fh 801: ht divisor 1
filter parent 1: protocol 802.1Q pref 49152 u32 fh 801::800 order 2048 key
ht 801 bkt 0 flowid 1:500
match 00050000/0fff0000 at 0
filter parent 1: protocol 802.1Q pref 49152 u32 fh 800: ht divisor 1
filter parent 1: protocol 802.1Q pref 49152 u32 fh 800::800 order 2048 key
ht 800 bkt 0 flowid 1:10
match d5e2b800/fffffe00 at 12
filter parent 1: protocol 802.1Q pref 49152 u32 fh 800::801 order 2049 key
ht 800 bkt 0 flowid 1:11
match d5e28af0/fffffff8 at 12
filter parent 1: protocol 802.1Q pref 49152 u32 fh 800::802 order 2050 key
ht 800 bkt 0 flowid 1:11
match d5e28af8/fffffffc at 12
filter parent 1: protocol 802.1Q pref 49152 u32 fh 800::803 order 2051 key
ht 800 bkt 0 flowid 1:200
match d5e2a020/fffffffc at 12
filter parent 1: protocol 802.1Q pref 49152 u32 fh 800::804 order 2052 key
ht 800 bkt 0 flowid 1:300
match d5e2a024/fffffffc at 12
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-01-14 9:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-14 9:14 [LARTC] Problems while mixing protocols Mindaugas Riauba
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.