From: "Daniel Andersson" <daniel@avantnoise.com>
To: lartc@vger.kernel.org
Subject: [LARTC] basic error?
Date: Fri, 12 Oct 2001 15:31:03 +0000 [thread overview]
Message-ID: <marc-lartc-100290063914624@msgid-missing> (raw)
hello
just read the howto and copied the example in the howto.
(appended in the bottom of this email)
but it won't work.
i'm running slackware 7.0 with linux 2.4.3 and iproute2-current (downloaded
today)
the kernel is configured with,
<*> Packet socket
[*] Packet socket: mmapped IO
[*] Kernel/User netlink socket
[*] Routing messages
<*> Netlink device emulation
<M> Userspace queueing via NETLINK (EXPERIMENTAL)
etc.
(those looked like the things i would need)
the error i'm getting is
RTNETLINK answers: Invalid argument
(for every line in the rc.firewall_qos)
am i missing something really obvious?
thanks in advance
/ d
Appendix 1
rc.firewall_qos
[----]
# DOWNSTREAM
tc qdisc add dev eth1 root handle 10: cbq bandwidth 512Kbit avpkt 1000
tc class add dev eth1 parent 10:0 classid 10:1 cbq bandwidth 512Kbit rate \
512Kbit allot 1514 weight 51Kbit prio 8 maxburst 20 avpkt 1000
tc class add dev eth1 parent 10:1 classid 10:100 cbq bandwidth 512Kbit rate
\
400Kbit allot 1514 weight 40Kbit prio 5 maxburst 20 avpkt 1000 \
bounded
tc class add dev eth1 parent 10:1 classid 10:200 cbq bandwidth 512Kbit rate
\
112Kbit allot 1514 weight 200Kbit prio 5 maxburst 20 avpkt 1000 \
bounded
tc qdisc add dev eth1 parent 10:100 sfq quantum 1514b perturb 15
tc qdisc add dev eth1 parent 10:200 sfq quantum 1514b perturb 15
tc filter add dev eth1 parent 10:0 protocol ip prio 25 u32 match ip dst \
192.168.1.5 flowid 10:200
tc filter add dev eth1 parent 10:0 protocol ip prio 100 u32 match ip dst \
62.31.233.52 flowid 10:100
# UPSTREAM
tc qdisc add dev eth0 root handle 20: cbq bandwidth 512Kbit avpkt 1000
tc class add dev eth0 parent 20:0 classid 20:1 cbq bandwidth 512Kbit rate \
512Kbit allot 1514 weight 100Kbit prio 8 maxburst 20 avpkt 1000
tc class add dev eth0 parent 20:1 classid 20:100 cbq bandwidth 512Kbit rate
\
400Kbit allot 1514 weight 40Kbit prio 5 maxburst 20 avpkt 1000 \
bounded
tc class add dev eth0 parent 20:1 classid 20:200 cbq bandwidth 512Kbit rate
\
112Kbit allot 1514 weight 20Kbit prio 5 maxburst 20 avpkt 1000 \
bounded
tc qdisc add dev eth0 parent 20:100 sfq quantum 1514b perturb 15
tc qdisc add dev eth0 parent 20:200 sfq quantum 1514b perturb 15
tc filter add dev eth0 parent 20:0 protocol ip prio 25 u32 match ip src \
192.168.1.5 flowid 20:200
tc filter add dev eth0 parent 20:0 protocol ip prio 100 u32 match ip src \
62.31.233.52 flowid 20:100
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
reply other threads:[~2001-10-12 15:31 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=marc-lartc-100290063914624@msgid-missing \
--to=daniel@avantnoise.com \
--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