Re: [LARTC] Script problem

Linux Advanced Routing and Traffic Control

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

 



Yes..  this is the error part:


[root@xxxxxxx root]# tc qdisc del dev eth1 root
[root@xxxxxxx root]# tc qdisc add dev eth1 root handle 10: prio
[root@xxxxxxx root]# tc qdisc add dev eth1 parent 10:1 handle 20:est 1sec 8
sec bfifo
Unknown qdisc "1sec", hence option "8" is unparsable
[root@xxxxxxx root]# tc qdisc add dev eth1 parent 10:1 handle 20:est 1 sec 8
sec bfifo
Unknown qdisc "1", hence option "sec" is unparsable






Full source script:

tc qdisc del $DEV root
tc qdisc add $DEV root handle 10: prio
tc qdisc add $DEV parent 10:1 handle 20: est 1sec 8sec
bfifo
tc qdisc add $DEV parent 10:2 handle 30: est 1sec 8sec
bfifo
tc qdisc add $DEV parent 10:3 handle 40: est 1sec 8sec
bfifo

tc filter add $DEV parent 10: protocol ip prio 1 u32
match ip tos 0x10 0xff flowid 10:1
tc filter add $DEV parent 10: protocol ip prio 1 u32
match ip tos 0x06 0xff flowid 10:2
tc filter add $DEV parent 10: protocol ip prio 1 u32
match ip tos 0x0c 0xff flowid 10:3


----- Original Message -----
From: "Stef Coene" <stef.coene@xxxxxxxxx>
To: "Alexandru Coseru" <alexcos@xxxxxxx>; <lartc@xxxxxxxxxxxxxxx>
Sent: Monday, May 05, 2003 10:49 AM
Subject: Re: [LARTC] Script problem


> On Monday 05 May 2003 00:41, Alexandru Coseru wrote:
> > Can somebody tell me what's wrong in this script?   I'm a begginer in
> > traffic shaping and I can't figure it out
> But what's the problem?  Is it not working?  Do you get any errors if you
> execute this script?
>
> Stef
>
> --
>
> stef.coene@xxxxxxxxx
>  "Using Linux as bandwidth manager"
>      http://www.docum.org/
>      #lartc @ irc.oftc.net
>




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