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

 

начало

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

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

семинари ...

документи

как да ...

 

 

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

Re: lug-bg: ogranichawane na transfer


  • Subject: Re: lug-bg: ogranichawane na transfer
  • From: luben@xxxxxxxxx (Luben Karavelov)
  • Date: Thu, 3 May 2001 16:46:54 +0300



ami kompilirai v kernel-a QoS support, instalirai si 
paketa iproute.deb i si procheti dokumentaciata i 
primerite. interesuva te nai veche komandata "tc".

eto edina promerna configuracia (predpolaga se che vuprosnia
user e s ip 10.0.0.1 na eth0)

#tc qdisc add dev eth0 root handle 10:\
        cbq bandwidth 10Mbit avpkt 1000 allot 1514 mpu 64 cell 8
        
#tc class add dev eth0 parent 10:0 classid 10:1 \
        cbq bandwidth 10Mbit avpkt 1000 allot 1514 mpu 64 cell 8\
        maxburst 50 mpu 64 avpkt 1000 prio 5
        
#tc class add dev eth0 parent 10:1 classid 10:2\
        cbq bandwidth 10Mbit rate 14400 allot 1514 cell 8\
        weight 1440 prio 6 maxburst 20 avpkt 1000 bounded
        
#tc qdisc add dev eth0 parent 10:2 handle 7:\
    tbf rate 14400 buffer 10Kb/8 limit 15Kb
    
#tc filter add dev $DEV parent 10:0\
     protocol ip prio 90 u32\
     match ip dst 10.0.0.1 flowid 10:2

#---< end >---

tova ogranichava daownload-a na 14400bps. za upload-a e po razlicno 
ama edva li ti triabva.

ako imash vyprosi pitai pak.

luben

-- 
_________________________________________________________
Luben Karavelov                    [phone] +359 2 9877088
Network Administrator
[PGP] http://www.bgone.net/pgp/luben.asc  [ICQ#] 34741625
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


<HR>
<UL>
<LI>application/pgp-signature \\\\\\\\\ \\\\: stored
</UL>
===========================================================================
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.