Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: tc&ip


  • Subject: Re: lug-bg: tc&ip
  • From: t.yankov@xxxxxxxxxxxxx (Tosho Yankov)
  • Date: Fri, 8 Feb 2002 09:21:16 +0200



Dobavih ceil za htb no otnovo nisto
da tva e izhodqstiq eth
eto:
tc -s -d class ls dev eth0
class htb 1:1 root prio 0 rate 36Kbit ceil 36Kbit burst 10Kb/8 mpu 0b cburst
1645b/8 mpu 0b quantum 460 level 3
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
 lended: 0 borrowed: 0 giants: 0 injects: 0
 tokens: 1820444 ctokens: 292621

class htb 1:10 parent 1:1 leaf 10: prio 0 rate 10Kbit ceil 10Kbit burst
2Kb/8 mpu 0b cburst 1611b/8 mpu 0b quantum 128 level 0
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
 lended: 0 borrowed: 0 giants: 0 injects: 0
 tokens: 1310720 ctokens: 1031680
nisto ne minava prez tez classove

----- Original Message -----
From: "Nickola Kolev" <nikky@xxxxxxx>
To: <lug-bg@xxxxxxxxxxxxxxxxxx>
Sent: Thursday, February 07, 2002 6:42 PM
Subject: Re: lug-bg: tc&ip

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Thu, 7 Feb 2002, Tosho Yankov wrote:
>
> > Zdraveite pak
> >
> > edeqta - da shape trafik idvasto ot free.techno-link.com
> >
> > izpulnenieto:
> >
> > tc="/usr/local/sbin/tc"
> >
> > ######################## qdisc
> > ###############################################
> > tc qdisc add dev eth0 root handle 1: htb default 20
> >
> > ######################## classes
> > #############################################
> > tc class add dev eth0 parent 1: classid 1:1 htb rate 36kbit burst 10k
> > tc class add dev eth0 parent 1:1 classid 1:10 htb rate 10kbit burst 4k
> >
> > tc qdisc add dev eth0 parent 1:10 handle 10: sfq perturb 10
> >
> > ######################## filter
> > ##############################################
> >
> > U32="tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32"
> > $U32 match ip src 212.36.2.182 flowid 1:10
> >
>
> 1. Ìîæåø ëè äà âèäèø äàëè âúîáùå ìèíàâà íåùî ïðåç òîÿ êëàñ?
> Ïðèìåðíî
> tc -s -d class show dev eth0
>
> 2. Òîâà ëè òè å èçõîäÿùîòî çà êîíêðåòíèÿ òðàôèê óñòðîéñòâî?
> Ò.å. òîâà ëè òè å êàðòàòà, îò êîÿòî èçëèçà òðàôèêà îò êîìïþòúðà?
>
> 3. Çàùî íå ïðîáâàø äà ñëîæèø íàé-öåííèÿ ïàðàìåòúð íà htb - ceil?
> Íåùî îò ñîðòà íà
> tc class add dev eth0 parent 1:1 classid 1:10 htb rate 10kbit ceil 10kbit
burst 2k
>
>
>
> Âñè÷êî íàé-õóáàâî,
> Íèêîëà
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
>
> iD8DBQE8Yq5ro397UfM+hv0RAj4GAJ94BlLOZYi5uKNiE4iC86bCehCMDACfbSON
> +Uc10qZDqfuJgS4c5Cizt18=
> =fMfO
> -----END PGP SIGNATURE-----
>
>
>
===========================================================================
> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara
Zagora
>

===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora


  • Във връзка с:
  • Относно:

 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.