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

 

начало

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

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

семинари ...

документи

как да ...

 

 

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

lug-bg: tc&ip


  • Subject: lug-bg: tc&ip
  • From: t.yankov@xxxxxxxxxxxxx (Tosho Yankov)
  • Date: Thu, 7 Feb 2002 17:22:50 +0200



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

rezulatata : nulev :)
vyprosa : zasto :))

Tosho Yankov
Support
S&T Bulgaria e.o.o.d.
tel.: +359 52 602 510
fax: +359 52 630 991
e-mail: t.yankov@xxxxxxxxxxxxx
ICQ: 7892403

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