All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Not marking using as simple configuration
@ 2002-05-31 17:19 Siller Gonzalez Pico, Mario A
  0 siblings, 0 replies; only message in thread
From: Siller Gonzalez Pico, Mario A @ 2002-05-31 17:19 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-05-31 17:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-31 17:19 [LARTC] Not marking using as simple configuration Siller Gonzalez Pico, Mario A

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.