Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Giorgos Gaganis <geogka@it.teithe.gr>
To: lartc@vger.kernel.org
Subject: [LARTC] Problem setting filter rule for incoming tc
Date: Thu, 19 Feb 2004 07:47:52 +0000	[thread overview]
Message-ID: <40346A28.50209@it.teithe.gr> (raw)

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/

                 reply	other threads:[~2004-02-19  7:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40346A28.50209@it.teithe.gr \
    --to=geogka@it.teithe.gr \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox