* [LARTC] Problem setting filter rule for incoming tc
@ 2004-02-19 7:47 Giorgos Gaganis
0 siblings, 0 replies; only message in thread
From: Giorgos Gaganis @ 2004-02-19 7:47 UTC (permalink / raw)
To: lartc
Goodmorning
I am trying to use traffic control on a slackware 9.1.
I downloaded iproute2.
The system comes with linux 2.4.22 so I run into problem with the
compilation of the package. After diging in the list archives I found a
post about using 2.4.21 for compile and it worked.
This far ok.
After that I issued:
tc qdisc add dev $DEV handle ffff: ingress
which worked ok with no error messages and after it I could see stats
for it with tc -s qdisk.
then I tried:
tc filter add dev eth0 parent ffff: protocol ip prio 50 u32 match ip src\
0.0.0.0/0 police rate 150kbit burst 10k drop flowid :1
and it brakes with
RTNETLINK answers: Invalid argument
Thank you very much in advance
I am posting my .config |grep -i net
CONFIG_NET=y
# Networking options
CONFIG_NETLINK_DEV=m
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
CONFIG_INET=y
CONFIG_NET_IPIP=m
CONFIG_NET_IPGRE=m
# CONFIG_INET_ECN is not set
# IP: Netfilter Configuration
# IPv6: Netfilter Configuration
CONFIG_DECNET=m
# CONFIG_DECNET_SIOCGIFCONF is not set
# CONFIG_DECNET_ROUTER is not set
# CONFIG_NET_DIVERT is not set
# CONFIG_ECONET is not set
# CONFIG_NET_FASTROUTE is not set
# CONFIG_NET_HW_FLOWCONTROL is not set
CONFIG_NET_SCHED=y
CONFIG_NET_SCH_CBQ=y
CONFIG_NET_SCH_HTB=y
CONFIG_NET_SCH_CSZ=m
CONFIG_NET_SCH_PRIO=m
CONFIG_NET_SCH_RED=m
CONFIG_NET_SCH_SFQ=m
CONFIG_NET_SCH_TEQL=m
CONFIG_NET_SCH_TBF=m
CONFIG_NET_SCH_GRED=m
CONFIG_NET_SCH_DSMARK=m
CONFIG_NET_SCH_INGRESS=y
CONFIG_NET_QOS=y
CONFIG_NET_ESTIMATOR=y
# CONFIG_NET_CLS is not set
# Network testing
# CONFIG_NET_PKTGEN is not set
# Network device support
CONFIG_NETDEVICES=y
# ARCnet devices
# CONFIG_ARCNET is not set
# Ethernet (10 or 100Mbit)
CONFIG_NET_ETHERNET=y
CONFIG_NET_VENDOR_3COM=y
CONFIG_NET_VENDOR_SMC=y
CONFIG_NET_VENDOR_RACAL=y
# CONFIG_NET_ISA is not set
CONFIG_NET_PCI=y
CONFIG_PCNET32=m
CONFIG_NET_POCKET=y
# Ethernet (1000 Mbit)
# CONFIG_NET_RADIO is not set
# CONFIG_NET_FC is not set
# Network File Systems
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-02-19 7:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-19 7:47 [LARTC] Problem setting filter rule for incoming tc Giorgos Gaganis
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.