All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] tc filter using MASKs in mark
@ 2007-08-23 23:11 ArcosCom Linux User
  2007-08-24  8:51 ` Martin Milata
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ArcosCom Linux User @ 2007-08-23 23:11 UTC (permalink / raw)
  To: lartc

Hi,
   I'm having a problem with filtering marked packet with tc.

   I'm trying to run this:

/sbin/tc filter add dev imq0 parent 1:0 protocol ip prio 8 handle
0x7/0x000f fw classid 1:8

But the response is:

Illegal "handle"


Typing the handle without masked mark is working, but I have a
configuration were I need 2 mark types and I'm using masks:
   Multiple outgoing interfaces (using 0xf000 mask to know the ip route
filter to allow specific interface for the outcoming traffic).
   QoS (using 0x000f) to know the destination class for the flow.

Perhaps I have an incorrect syntax typing the masked handle, but I don't
find any information about how to type correctly the masked handle with
"tc filter" and I'm trying an "ip analogous" syntax.

The ip/tc utils versions I'm using are 2.6.20.

Anybody could help me with this "syntax problem"?

Thanks

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-08-24  9:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-23 23:11 [LARTC] tc filter using MASKs in mark ArcosCom Linux User
2007-08-24  8:51 ` Martin Milata
2007-08-24  9:23 ` ArcosCom Linux User
2007-08-24  9:28 ` ArcosCom Linux User

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.