[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[altq 803] Re: configuring filter fo subnet
Iwan Bambang A. wrote:
> I'm trying to configure altq as a traffic shaper for a subnet
> but unable to find an example filter for a subnet in the tips.
>
> There's only an example for protocol based classification, not
> a subnet.
>
> Can you give me any clue about this?
something like
filter fxp0 subnet_class 192.16.1.0 netmask 0xffffff00 0 0 0 0
for outgoing traffic and
filter fxp1 subnet_class 0 0 192.16.1.0 netmask 0xffffff00 0 0
for incoming traffic.
-Kenjiro