* [LARTC] CBQ,... RTNETLINK: Invalid Argument
@ 2001-03-15 13:52 Paul Robinson
2001-03-17 23:08 ` bert hubert
0 siblings, 1 reply; 2+ messages in thread
From: Paul Robinson @ 2001-03-15 13:52 UTC (permalink / raw)
To: lartc
Hi all,
I've got a problem i cant seem to find a way around... i've read the
Advanced Routing HOWTO, and im trying to setup (what i thought) would be a
simple bandwidth management scenario to limit trafic to a machine (1.2.3.4)
on the local lan to about 3K.
however... heres what im trying to do (follows the howto fairly closely)
-----
tc qdisc add dev eth0 root handle 1: cbq bandwidth 100Mbit avpkt 1000
tc class add dev eth0 parent 1:0 classid 1:1 cbq bandwidth 100Mbit rate
100Mbit allot 1514 weight 1Mbit prio 8 maxburst 20 avpkt 1000
tc class add dev eth0 parent 1:1 classid 1:2 cbq bandwidth 100Mbit rate
3Kbit allot 1514 weight 1Kbit prio 5 maxburst 20 avpkt 1000 bounded
tc qdisc add dev eth0 parent 1:2 sfq quantum 1514b perturb 15
tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match ip dst
1.2.3.4 flowid 1:2
-----
All works fine until the last statement;
# tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match ip dst
1.2.3.4 flowid 1:2
RTNETLINK answers: Invalid argument
#
Have i missed something obvious? or is something missing from my kernel??
Im running with kernel 2.4.0.
Regards, Paul
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] CBQ,... RTNETLINK: Invalid Argument
2001-03-15 13:52 [LARTC] CBQ,... RTNETLINK: Invalid Argument Paul Robinson
@ 2001-03-17 23:08 ` bert hubert
0 siblings, 0 replies; 2+ messages in thread
From: bert hubert @ 2001-03-17 23:08 UTC (permalink / raw)
To: lartc
On Fri, Mar 16, 2001 at 12:52:24AM +1100, Paul Robinson wrote:
> All works fine until the last statement;
> # tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match ip dst
> 1.2.3.4 flowid 1:2
> RTNETLINK answers: Invalid argument
> #
Please send your .config file. Also, there have been reports of problems
that go away when upgrading to the newest version of tc, as found in the
iproute2 package. The howto tells you where to find the newest versions.
Regards,
bert
--
http://www.PowerDNS.com Versatile DNS Services
Trilab The Technology People
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-03-17 23:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-15 13:52 [LARTC] CBQ,... RTNETLINK: Invalid Argument Paul Robinson
2001-03-17 23:08 ` bert hubert
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.