Re: [LARTC] newbie questions

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux