All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] tc filter and ip match
@ 2005-06-08 17:05 Glaucius Djalma Pereira Junior
  2005-06-08 17:26 ` Kiruthika Selvamani
  2005-06-08 21:48 ` Andy Furniss
  0 siblings, 2 replies; 3+ messages in thread
From: Glaucius Djalma Pereira Junior @ 2005-06-08 17:05 UTC (permalink / raw)
  To: lartc

hi all

people, I'm using tc and htb to create classes and do some QoS , but i
would like to know if i can do it:

after to create the classes I need to create the rules using tc filter : 

tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip dst
10.0.0.0/8 flowid 1:10

ok, this rule works with all packets going to 10.0.0.0/8, but how can
i write a rule using  "!" or "not" , like :

tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip dst
NOT 10.0.0.0/8 flowid 1:10

ps.: I would not like to use iptables and mangle table.

did you understand ?  


best regards 



-- 
Glaucius Djalma Pereira Junior
glaucius@gmail.com
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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

end of thread, other threads:[~2005-06-08 21:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-08 17:05 [LARTC] tc filter and ip match Glaucius Djalma Pereira Junior
2005-06-08 17:26 ` Kiruthika Selvamani
2005-06-08 21:48 ` 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.