Displaying 20 results from an estimated 751 matches for "flowid".
Did you mean:
flowed
2005 Jan 05
0
Best QoS Policy for VoIP
...t 1514 cell 8 maxburst 20 avpkt
1000
tc qdisc add dev $e parent 1:9 handle 90: sfq perturb 20
#####################################
############### Citrix ##############
# #
# SSH #
tc filter add dev $e protocol ip parent 1:0 prio 1 u32 match ip sport 22
0xffff flowid 1:3
tc filter add dev $e protocol ip parent 1:0 prio 1 u32 match ip dport 22
0xffff flowid 1:3
# CITRIX/ICA #
tc filter add dev $e protocol ip parent 1:0 prio 1 u32 match ip sport 1494
0xffff flowid 1:3
tc filter add dev $e protocol ip parent 1:0 prio 1 u32 match ip dport 1494
0xffff flowid 1:3...
2005 Mar 15
1
Traffic Shaping multiple incoming broadband sources?
...r way of designing the traffic shaping rules?
James
# setup root queue
tc qdisc add dev eth0 root handle 1: htb
# Setup incoming from eth2 1500k link
tc class add dev eth0 parent 1:0 classid 1:2 htb rate 1350kbit quantum 1500
tc filter add dev eth0 parent 1:0 protocol ip prio 1 handle 0x03 fw flowid 1:2
tc class add dev eth0 parent 1:2 classid 1:210 htb rate 168kbit ceil 224kbit prio 1 quantum 1500
tc class add dev eth0 parent 1:2 classid 1:220 htb rate 362kbit ceil 640kbit prio 2 quantum 1500
tc class add dev eth0 parent 1:2 classid 1:230 htb rate 640kbit ceil 960kbit prio 3 quantum 1500
tc c...
2002 Jun 18
7
Better filtering to a class
...le 1231: sfq perturb 5 quantum 1514
tc qdisc add dev eth0 parent 1:1232 handle 1232: sfq perturb 5 quantum 1514
tc qdisc add dev eth0 parent 1:1233 handle 1233: sfq perturb 5 quantum 1514
tc filter add dev eth0 protocol ip parent 1:0 prio 4 u32 match ip dst
203.112.65.54 match ip sport 6660 0xffff flowid 1:1232
tc filter add dev eth0 protocol ip parent 1:0 prio 4 u32 match ip dst
203.112.65.54 match ip sport 6661 0xffff flowid 1:1232
tc filter add dev eth0 protocol ip parent 1:0 prio 4 u32 match ip dst
203.112.65.54 match ip sport 6662 0xffff flowid 1:1232
tc filter add dev eth0 protocol ip paren...
2004 Jul 09
3
tc filter + bridging + htb -- works only if ip_forward = 0
...parent 1:102 handle 102: sfq perturb 10
$TC qdisc ${TCOP} dev ${WAN} parent 1:30 handle 30: sfq perturb 10
#---------------------------------------------------------------------------
#phones
$TC filter ${TCOP} dev ${WAN} parent 1: protocol ip prio 1 u32 match ip
dst 10.50.30.0/24 flowid 1:10
##trading
#$TC filter ${TCOP} dev ${WAN} protocol ip parent 1: prio 1 u32 match ip
dst 207.251.101.0/24 flowid 1:100
##non-critical
#$TC filter ${TCOP} dev ${WAN} protocol ip parent 1: prio 1 u32 match ip
dst 10.50.20.0/24 flowid 1:101
#
#
##ACK
#$TC filter ${T...
2004 Jan 20
1
htb+beginner+error
...:20 handle 20: sfq perturb 10
tc qdisc add dev $DEV parent 1:21 handle 21: sfq perturb 10
tc qdisc add dev $DEV parent 1:22 handle 22: sfq perturb 10
tc qdisc add dev $DEV parent 1:23 handle 23: sfq perturb 10
tc filter add dev $DEV protocol ip parent 1:0 prio 2 u32 \
match ip dport 20 0xffff flowid 1:22
tc filter add dev $DEV protocol ip parent 1:0 prio 0 u32 \
match ip dport 22 0xffff flowid 1:20
tc filter add dev $DEV protocol ip parent 1:0 prio 0 u32 \
match ip dport 3000 0xffff flowid 1:20
tc filter add dev $DEV protocol ip parent 1:0 prio 2 u32 \
match ip dport 25 0xffff flo...
2004 Jan 08
14
Strange behavior deleting filters
...ault 100
tc class add dev eth1 parent 1: classid 1:1 htb rate 128Kbit
tc class add dev eth1 parent 1: classid 1:2 htb rate 258Kbit
tc class add dev eth1 parent 1: classid 1:100 htb rate 32Kbit
tc filter add dev eth1 parent 1: protocol ip prio 1 u32 match ip src
10.10.10.20 match ip dst 63.63.63.63 flowid 1:1
tc filter add dev eth1 parent 1: protocol ip prio 1 u32 match ip src
10.10.10.20 flowid 1:2
works just fine, but when I try to delete oen of the filters with
something like this:
tc filter del dev eth1 parent 1: protocol ip prio 1 u32 match ip src
10.10.10.20 flowid 1:2
both filters are d...
2006 Apr 07
9
u32 and iptables do not work together
Hello all,
I am trying to make a filter into my QoS rules and I founded that
when I try to use filters u32 and with fwmark they do not work together.
This is the filter I use, just and example, for u32:
$TC filter add dev $DL parent 1:0 protocol ip prio 1 u32 match ip sport
22 0xffff flowid 1:10
This is working fine. Now if I try to mark a package that I want it
to go to the same class (1:10) it get an error:
$IPT -t mangle -A PREROUTING -s 200.163.208.4 -j MARK --set-mark 10
Then I tryed to make the filter for this:
$TC filter add dev $DL parent 1:0 protocol ip prio 1 ha...
2004 Jan 14
0
Problems while mixing protocols
...nge.
Maybe I''m missing some options to TC?
Thanks,
Mindaugas
# ./bin/tc -s -d filter show dev eth0
filter parent 1: protocol ip pref 1 u32
filter parent 1: protocol ip pref 1 u32 fh 800: ht divisor 1
filter parent 1: protocol ip pref 1 u32 fh 800::800 order 2048 key ht 800
bkt 0 flowid 1:10
match d5e2b800/fffffe00 at 12
filter parent 1: protocol ip pref 1 u32 fh 800::801 order 2049 key ht 800
bkt 0 flowid 1:11
match d5e28af0/fffffff8 at 12
filter parent 1: protocol ip pref 1 u32 fh 800::802 order 2050 key ht 800
bkt 0 flowid 1:11
match d5e28af8/fffffffc at 12
filter parent...
2003 May 11
1
what''s wrong with the last line ?
...c qdisc add dev eth1 parent 10:3 handle 40: bfifo
tc qdisc add dev eth1 parent 10:4 handle 50: bfifo
tc qdisc add dev eth1 parent 10:5 handle 60: bfifo
tc qdisc add dev eth1 parent 10:6 handle 70: bfifo
# www traffic
tc filter add dev eth1 parent 10: protocol ip prio 1 u32 match ip dport 80 0xff flowid 10:1
# pop3 traffic
tc filter add dev eth1 parent 10: protocol ip prio 1 u32 match ip dport 110 0xff flowid 10:1
# smtp traffic
tc filter add dev eth1 parent 10: protocol ip prio 1 u32 match ip dport 25 0xff flowid 10:1
# BANDA 2
# 2234 , 5534 -slsk
tc filter add dev eth1 parent 10: prot...
2005 Dec 22
2
strange tc filter behavior
...it
$TC qdisc add dev imq0 parent 1:ffff handle ffff sfq perturb 10
#
# ADMASTER
#
$TC class add dev imq0 parent 1:1 classid 1:10 htb prio 2 rate 150kbit ceil 500kbit
$TC filter add dev imq0 protocol ip parent 1: prio 2 \
u32 \
match ip dport 1433 0xffff \
match u8 6 0xff at 9 \
flowid 1:10
$TC filter add dev imq0 protocol ip parent 1: prio 2 \
u32 \
match ip dport 1434 0xffff \
match u8 6 0xff at 9 \
flowid 1:10
$TC filter add dev imq0 protocol ip parent 1: prio 2 \
u32 \
match ip dport 81 0xffff \
match u8 6 0xff at 9 \
flowid 1:10
$TC fi...
2004 Aug 17
0
can this work?
...${MINABUSE}kbps ceil ${MAXABUSE}kbps
tc class add dev $TARGETA0 parent 1:1 classid 1:29 htb rate
${MINABUSE}kbps ceil ${MAXABUSE}kbps
tc class add dev $TARGETA0 parent 1:1 classid 1:30 htb rate 2kbps ceil 5kbps
tc filter add dev $TARGETA0 protocol ip parent 1:0 prio 1 u32 match ip
dst ${A1} flowid 1:10
tc filter add dev $TARGETA0 protocol ip parent 1:0 prio 1 u32 match ip
dst ${A2} flowid 1:11
tc filter add dev $TARGETA0 protocol ip parent 1:0 prio 1 u32 match ip
dst ${A3} flowid 1:12
tc filter add dev $TARGETA0 protocol ip parent 1:0 prio 1 u32 match ip
dst ${A4} flowid 1:13
tc filter...
2006 Apr 07
0
PRIO and u32 matching problem
...tc qdisc add dev eth0 root handle 1: prio
it''s fine after this i try to match traffic by tos field but i get error
invalid match
tc filter add dev eth0 parent 1:0 prio 1 protocol ip u32 \
match ip tos 0x10 0xff \
match ip tos 0x12 0xff \
match ip tos 0x14 0xff \
match ip tos 0x16 0xff \
flowid 1:1
if i use it with only one match it''s working like this.
tc filter add dev eth0 parent 1:0 prio 1 protocol ip u32 \
match ip tos 0x10 0xff \
flowid 1:1
i match traffic by type of TOS and put it to different classes
but when i get statistic of the class there is no data.
What is wrong...
2005 Nov 03
6
Cannot get htb & prio working together.
...the class ID''s of nn:1 to 3 are automatically
provided
tc qdisc add dev eth0 parent 20:1 handle 201: sfq
tc qdisc add dev eth0 parent 20:2 handle 202: sfq
tc qdisc add dev eth0 parent 20:3 handle 203: sfq
tc filter add dev eth0 parent 1:0 protocol ip prio 1 u32 match ip dport
22 0xffff flowid 20:1
tc filter add dev eth0 parent 1:0 protocol ip prio 1 u32 match ip dport
23 0xffff flowid 20:3
A "tc filter show" displays the filters and so on and one can see the
hits & successes when testing with, say, Telnet, but the counters on the
respective queue/flowid don''t...
2007 Feb 17
4
Order of ''tc filer''
Hi
How can I control which filter a packet will meet first?
I have tried changing the order of applying the tc filter scripts and
switching flowid number, but ''protocol ip u32 match ip src <ip net>
match ip src 0.0.0.0/0'' always kicks in first?
>From my script
--------------------
# All traffic - Priority: Low
tc filter add dev eth0 parent 1:0 prio 2 protocol ip u32 match ip src
<ip net> match ip src 0.0.0.0/...
2007 Jul 26
2
Rép : about default filter command
...this how too
>> http://tldp.org/HOWTO/Adv-Routing-HOWTO/lartc.qdisc.filters.html
>> we can read commands about filters :
>> ------------------------------------------
>>
>> # tc filter add dev eth0 protocol ip parent 10: prio 1 u32 match \
>> ip dport 22 0xffff flowid 10:1
>> # tc filter add dev eth0 protocol ip parent 10: prio 1 u32 match \
>> ip sport 80 0xffff flowid 10:1
>> # tc filter add dev eth0 protocol ip parent 10: prio 2 flowid 10:2
>>
>> What does this say? It says: attach to eth0, node 10: a priority 1
>> u32...
2004 Jun 22
5
htb filter
...200 sfq perturb 10
# Init NET1 shaper for dev eth0 , rate 30Mbit , ceil 40Mbit
tc class add dev eth0 parent 2:0 classid 2:30 htb rate 30Mbit ceil 40Mbit prio 1
tc qdisc add dev eth0 parent 2:30 sfq perturb 10
tc filter add dev eth0 parent 2:0 protocol ip prio 1 u32 match ip src 192.168.1.0/24 flowid 2:30
# Init NET2 shaper for dev eth0 , rate 30Mbit , ceil 40Mbit
tc class add dev eth0 parent 2:0 classid 2:40 htb rate 30Mbit ceil 40Mbit prio 1
tc qdisc add dev eth0 parent 2:40 sfq perturb 10
tc filter add dev eth0 parent 2:0 protocol ip prio 1 u32 match ip src 192.168.2.0/24 flowid 2:40...
2006 Apr 05
5
QoS - Ping problem
...1:10 handle 10: sfq perturb 10
$QDISC 1:20 handle 20: sfq perturb 10
$QDISC 1:30 handle 30: sfq perturb 10
$QDISC 1:40 handle 40: sfq perturb 10
$QDISC 1:50 handle 50: sfq perturb 10
FILTER="/sbin/tc filter add dev $DL parent 1:0 protocol ip prio 1 u32"
$FILTER match ip sport 22 0xffff flowid 1:10
$FILTER match ip sport 23 0xffff flowid 1:10
$FILTER match ip sport 2202 0xffff flowid 1:10
$FILTER match ip sport 80 0xffff flowid 1:20
$FILTER match ip sport 443 0xffff flowid 1:20
$FILTER match ip sport 3128 0xffff flowid 1:20
$FILTER match ip sport 53 0xffff flowid 1:30
$FILTER match ip...
2006 Apr 05
0
Configuration of my QoS ruleset (now working fine with u32 classifier)
...10
$QDISC 1:20 handle 20: sfq perturb 10
$QDISC 1:30 handle 30: sfq perturb 10
$QDISC 1:40 handle 40: sfq perturb 10
FILTER="/sbin/tc filter add dev $DL parent 1:0 protocol ip prio 1 u32"
#----
# Regras com maior prioridade
# APENAS NAVEGACAO E PING
#----
$FILTER match ip sport 80 0xffff flowid 1:10
$FILTER match ip sport 443 0xffff flowid 1:10
$FILTER match ip sport 3128 0xffff flowid 1:10
$FILTER match ip protocol 1 0xff flowid 1:10
#----
# Regra especial para o conteudo
# ns2.cnett.com.br
#----
$FILTER match ip src 200.163.208.4/32 flowid 1:10
$FILTER match ip src 200.163.208.5/32 flow...
2004 Aug 18
0
HTB prio question
...02401kbit
ceil 102401kbit quantum 20000
# Default Class
/sbin/tc class add dev eth0 parent 1:1 classid 1:5 htb rate 100864kbit
ceil 100864kbit prio 1 quantum 20000
/sbin/tc qdisc add dev eth0 parent 1:5 handle 5: sfq perturb 10
/sbin/tc filter add dev eth0 parent 1:0 prio 1 protocol ip handle 5 fw
flowid 1:5
# Low Prio p2p class - This is only here for uses that get out of control
/sbin/tc class add dev eth0 parent 1:5 classid 1:53 htb rate 56kbit
ceil 56kbit prio 4 quantum 1501
/sbin/tc qdisc add dev eth0 parent 1:53 handle 5: sfq perturb 10
/sbin/tc filter add dev eth0 parent 1:0 prio 1 protocol...
2003 Oct 31
2
tc filter oddities
...the prio classes
tc qdisc add dev eth1 parent 1:21 handle 121: sfq
tc qdisc add dev eth1 parent 1:22 handle 122: sfq
tc qdisc add dev eth1 parent 1:23 handle 123: sfq
//filters - first and second for voip and other
tc filter add dev eth1 parent 1:0 prio 1 protocol ip u32 match ip src
192.168.0.14 flowid 110:
tc filter add dev eth1 parent 1:0 prio 1 protocol ip u32 match ip dst
0/0 flowid 1:20
//and others are for qos min-delay, empty-ack, and everything else
tc filter add dev eth1 parent 1:20 pref 2 protocol ip u32 match ip tos
0x10 0xff flowid 121:
tc filter add dev eth1 parent 1:20 pref 3 prot...