[ SlackList ] [ WkikiSlack ]



Re: htb

From: Luk <staf@o2.pl>
Date: Tue May 06 2003 - 15:34:31 CEST
[slacklist] Re: htb

to byla wlasnie pierwsza myls jak przyszla mi do = glowy, lecz mam je
wkompilowane na 100%
----- Original Message -----
From: "czester11" = <czester11@poczta.onet.pl>
To: <slacklist@slackware.com.pl>
Sent: Tuesday, May 06, 2003 6:00 AM
Subject: [slacklist] Re: htb


> Witam
> mnie sie wydaje ze nie masz htb i cbq = wkompilowane  w jądro systemu
> Pozdrawiam
> czester
>
> ----- Original Message -----
> From: "Luk" <staf@o2.pl>
> To: <slacklist@slackware.com.pl>
> Sent: Tuesday, May 06, 2003 12:31 AM
> Subject: [slacklist] htb
>
>
> >
> > witam. moj skrypcik htb :
> >
> > #!/bin/bash
> > tc qdisc del root dev eth0
> > tc qdisc add dev eth0 root handle 1:0 = htb
> > tc class add dev eth0 parent 1:0 classid = 1:1 htb rate 99000kbit ceil
> 99000kbit
> > tc class add dev eth0 parent 1:1 classid = 1:2 htb rate 110kbit ceil
110kbit
> > tc class add dev eth0 parent 1:1 classid = 1:3 htb rate 98000kbit ceil
> 98000kbit
> > tc class add dev eth0 parent 1:2 classid = 1:4 htb rate 80kbit ceil
110kbit
> prio 1
> > tc class add dev eth0 parent 1:2 classid = 1:5 htb rate 20kbit ceil
110kbit
> prio 2
> > tc class add dev eth0 parent 1:2 classid = 1:6 htb rate 10kbit ceil
110kbit
> prio 2
> > tc filter add dev eth0 protocol ip = preference 1 parent 1:0 u32 match ip
> src 192.168.0.2 flowid 1:3
> > tc filter add dev eth0 protocol ip = preference 2 parent 1:0 u32 match ip
> dst 192.168.0.104 flowid 1:4
> > tc filter add dev eth0 protocol ip = preference 2 parent 1:0 u32 match ip
> dst 192.168.0.100 flowid 1:5
> > tc filter add dev eth0 protocol ip = preference 2 parent 1:0 u32 match ip
> dst 192.168.0.105 flowid 1:6
> > tc qdisc add dev eth0 parent 1:3 handle 3:0 = sfq perturb 10
> > tc qdisc add dev eth0 parent 1:4 handle 4:0 = sfq perturb 10
> > tc qdisc add dev eth0 parent 1:5 handle 5:0 = sfq perturb 10
> > tc qdisc add dev eth0 parent 1:6 handle 6:0 = sfq perturb 10
> >
> >  oto krzaki ktore wyskakuja po jego = uruchomieniu :
> >
> > RTNETLINK answers: No such file or =
> > RTNETLINK answers: Invalid argument
> > Error: Qdisc "htb" is =
> > Error: Qdisc "htb" is =
> > Error: Qdisc "htb" is =
> > Error: Qdisc "htb" is =
> > Error: Qdisc "htb" is =
> > Error: Qdisc "htb" is =
> > RTNETLINK answers: Invalid argument
> > RTNETLINK answers: Invalid argument
> > RTNETLINK answers: Invalid argument
> > RTNETLINK answers: Invalid argument
> > RTNETLINK answers: No such file or =
> > RTNETLINK answers: No such file or =
> > RTNETLINK answers: No such file or =
> > RTNETLINK answers: No such file or =
> >
> > co jest nie tak ???
> >
> >
> >
>
>
>

Received on Sat Feb 21 03:35:10 2004
This archive was generated by hypermail 2.1.8. Wyprawa Shackleton 2014