All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Doubts regarding classifiers available.
@ 2006-09-20 10:47 chaitanya
  2006-09-23 15:06 ` Andy Furniss
  0 siblings, 1 reply; 2+ messages in thread
From: chaitanya @ 2006-09-20 10:47 UTC (permalink / raw)
  To: lartc

Hi,
  I am a newbie working on tc tool, i want to know whether we have the
following classifiers available 

(1) source MAC address.
(2) destination MAC address.
(3) IEEE 802.1D user priority.
(4) Ethertype (IEEE 802.3, 1998 Length/Type Field).

Can any one help me in finding the help for the above classifiers.
Thanks in advance


Krishna Chaitanya

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

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

* Re: [LARTC] Doubts regarding classifiers available.
  2006-09-20 10:47 [LARTC] Doubts regarding classifiers available chaitanya
@ 2006-09-23 15:06 ` Andy Furniss
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Furniss @ 2006-09-23 15:06 UTC (permalink / raw)
  To: lartc

chaitanya wrote:
> Hi,
>   I am a newbie working on tc tool, i want to know whether we have the
> following classifiers available 
> 
> (1) source MAC address.
> (2) destination MAC address.
> (3) IEEE 802.1D user priority.
> (4) Ethertype (IEEE 802.3, 1998 Length/Type Field).
> 
> Can any one help me in finding the help for the above classifiers.
> Thanks in advance

tc filter protocol is ethertype most examples use ip you can use a 
number or all, arp etc. You need a different prio for each type.

You can also match protocol at -2 with u32/u16.
You do the same for macs with mac of target machine 00:C1:26:0F:04:AD.

tc filter add dev eth0 protocol ip parent 12: prio 1 u32 \
match u16 0x00c1 0xffff at -14 \
match u32 0x260f04ad 0xffffffff at -12 \
flowid X:Y

User priority - you'll need to tcpdump -eXX and work out what offsets work.

Andy.




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

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

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

end of thread, other threads:[~2006-09-23 15:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-20 10:47 [LARTC] Doubts regarding classifiers available chaitanya
2006-09-23 15:06 ` Andy Furniss

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.