Hi, since this is my first post to this mailing list, I want to start with some smaller questions: Are there any pages with information about the tc filter command and its uses? I found no really helpful ressources when it comes to u32 matches etc. Or are there man-pages available anywhere? I want to filter clients by their hardware address (mac address) not ip: tc filter add dev eth1 protocol ip parent 1:0 u32 match ??? Is it only possible to check ip, icmp, tcp or udp protocol with the match statement? Or could I determine the hardware address too? That would be nice to know - because otherwise I think I have to use iptables to mark packets, don''t I? Next (short) thing: Do the digits of the integer values that I use as identifiers for classes using htb need to have some sort of "order"? Or is the hierarchical order only given by the "parent x:y" statement (as I expect)? Thanks in advance. Graste -- Using M2, Opera''s new e-mail client. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Monday 05 May 2003 19:45, Graste wrote:> Hi, > > since this is my first post to this mailing list, I want to start with some > smaller questions: Are there any pages with information about the tc filter > command and its uses? I found no really helpful ressources when it comes to > u32 matches etc. Or are there man-pages available anywhere? I want to > filter clients by their hardware address (mac address) not ip: > > tc filter add dev eth1 protocol ip parent 1:0 u32 match ???The only doc I have is http://www.docum.org/stef.coene/qos/docs/u32-filter.html> Is it only possible to check ip, icmp, tcp or udp protocol with the match > statement? Or could I determine the hardware address too? That would be > nice to know - because otherwise I think I have to use iptables to mark > packets, don''t I?I''m not an u32 specialist my self. But you can use any bit in the packet to match.> Next (short) thing: Do the digits of the integer values that I use as > identifiers for classes using htb need to have some sort of "order"? Or is > the hierarchical order only given by the "parent x:y" statement (as I > expect)?The htb numbering has no special meaning. Only the parent option is important. Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/