Re: Limiting bandwidth to entire LAN

Linux Advanced Routing and Traffic Control

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

 



On Friday 05 March 2004 01:07, Damion de Soto wrote:
> Hi Gastón,
>
> > tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match ip src
> > 1.2.3.0/24 classid 1:30
> >
> > tc filter add dev eth1 parent 1:0 protocol ip prio 100 u32 match ip dst
> > 1.2.3.0/24 classid 1:30
>
> I'm pretty sure you want 'flowid 1:30' instead of classid on the filters.
>
> To my knowledge, the classid is declaring the filter to have that class,
> instead of directing the matching to the class with that id.
Fowid and classid are the same (from f_u32.c) :
     } else if (matches(*argv, "classid") == 0 ||
                    strcmp(*argv, "flowid") == 0) {

Stef

-- 
stef.coene@xxxxxxxxx
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net
_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


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