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

 

начало

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

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

семинари ...

документи

как да ...

 

 

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

Re: lug-bg: tc&ip


  • Subject: Re: lug-bg: tc&ip
  • From: nikky@xxxxxxx (Nickola Kolev)
  • Date: Thu, 7 Feb 2002 18:42:16 +0200 (EET)



-----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


  • Във връзка с:
  • Относно:
    • lug-bg: tc&ip
      • Изпратено от: t.yankov@xxxxxxxxxxxxx (Tosho Yankov)

 

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

 

линукс за българи
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.