Re: tc is giving an error: RTNETLINK answers: File exists

Linux Advanced Routing and Traffic Control

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

 



fourcentsshy wrote:
> the script so I could examine what was really going on. For this device,
> the error takes place on the third command. the command sequence take
> place like this:
> 
> /sbin/tc qdisc add dev eth5 root handle 1: cbq bandwidth 1600Kbit\
>  cell 8 avpkt 1000 mpu 64
> 
> /sbin/tc class add dev eth5 parent 1: classid 1:1 est 1sec 8sec cbq\
>  bandwidth 1600Kbit rate 1500kbit allot 1514 maxburst 20 avpkt 1000\
>  prio 0 bounded isolated
> 
> /sbin/tc qdisc add dev eth5 parent 1:1 handle 1:76 cbq\
>  bandwidth 1600Kbit cell 8 avpkt 1000 mpu 64
This says to me "cell", not "ceil".  That's a mistake.

> RTNETLINK answers: File exists
> 
> Like I said, I start by resetting all the devices on the machine, so
> there is no possible way there can be any existing qdisc with a handle
> of 1:76 for that device, yet I get the error anyway. The script is setup
> as a service to be run at startup, so checking the status after running
> the script for that device, I get this:
==--snip--==
> error. The script never gets to the statements that creates the filters.
> Checking the status of the service would display the filters along with
> the qdiscs and classes, but there are none.
> 
> >
> > Set prio to the same value (16 or 10 perhaps) for each and every line in
> > your `$TC filter' lines.
> 
> If I ever get this script working, I'll do that. ;-)

One more thing.
You can send your commands to a database (mysql or whatever).  Once
disallowing duplicate records and again allowing dups.  The difference
is the Bad Boy.

I use HTB not CBQ but I still think the parameter is "ceil" not "cell"
and fixing that will help or solve.
--
gypsy
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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