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

 

начало

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

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

семинари ...

документи

как да ...

 

 

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

lug-bg: traffic control vypros


  • Subject: lug-bg: traffic control vypros
  • From: martin petkov <martin_petkov@xxxxxxxxx>
  • Date: Thu, 16 Oct 2003 11:33:32 -0700 (PDT)

Zdraveite,
Imam slednia problem. Iskam da zadam dve razlichni
skorosti na bg peera i internetskia trafic kato
markiram inet trafica s 8, a bg s 16. Problemyt se
systoi v tova, che internetskia traffic nadvishava
skorostta, koiato sym mu zadal. Pravia slednata
konfiguracia.

tc qdisc del dev eth2 root
tc qdisc add dev eth2 root handle 1 htb default 30

tc class add dev eth2 parent 1: classid 1:2 htb rate
100Mbit burst 20k

tc class add dev eth2 parent 1:2 classid 1:11 htb rate
10Mbit ceil 10Mbit
tc qdisc add dev eth2 parent 1:11 handle 11 sfq
perturb 10
tc filter add dev eth2 parent 1:0 protocol ip prio 200
handle 16 fw classid 1:11
tc filter add dev eth2 parent 1:0 protocol ip prio 100
u32 match ip dst 80.0.0.1/25 classid 1:11

tc class add dev eth2 parent 1:2 classid 1:13 htb rate
256Kbit ceil 256Kbit
tc qdisc add dev eth2 parent 1:13 handle 13 sfq
perturb 10
tc filter add dev eth2 parent 1:0 protocol ip prio 200
handle 8 fw classid 1:13
tc filter add dev eth2 parent 1:0 protocol ip prio 100
u32 match ip dst 80.0.0.1/25 classid 1:13


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================



 

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

 

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