[LARTC] tc filter question

Linux Advanced Routing and Traffic Control

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

 



--9jxsPFA5p3P2qPhR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 14-02-2003 at 11:19:10AM +0100, philipp.berndt@gmx.net wrote:
> Hello.
>=20
> I tried this:
>=20
> $ ./tc qdisc add dev ppp0 root handle 1:0 htb default 12
> $ ./tc class add dev ppp0 parent 1:0 classid 1:1 htb rate 125kbit ceil 12=
5kbit
> $ ./tc class add dev ppp0 parent 1:1 classid 1:10 htb rate 10kbit ceil 12=
5kbit=20
> prio 0
>=20
> $ iptables .... -j MARK --set-mark 11
>=20
> $ ./tc filter add dev ppp0 parent 1:0 prio 0 protocol ip handle 10 fw flo=
wid=20
> 1:10
> RTNETLINK answers: Invalid argument
>=20
> Can anybody tell me what's wrong with the last line?
>=20
> I tried it with tc from
> http://luxik.cdi.cz/~devik/qos/htb/v3/htb3.6-020525.tgz
> and from iproute2-2.4.7-340.rpm (SuSE 8.1).
>=20
> Do I need some other kernel module?
Recompile Your kernel with option CONFIG_NET_CLS_FW.
Networking options  --->QoS and/or fair queueing  --->Firewall based classi=
fier

Rgds,
  Bartek.

--9jxsPFA5p3P2qPhR
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+TQajA+V2TZSN5F0RAo/QAKCFFcHU63wW5Y2MFZ0FH36X2tjNVwCfUoZd
gflkqWL53TBhaHtfTmsqP3w=
=WyEX
-----END PGP SIGNATURE-----

--9jxsPFA5p3P2qPhR--



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