[GTER] Simple QoS in Vyatta
Alberto Freire
albertofreire at yahoo.com.br
Sat Oct 18 19:41:45 -03 2014
Olá.
Alguém poderia me orientar no que pode estar errado nesse controle?
Vejam que no tc não marca em nenhum dos controles, passa direto para o
'default'.
# tc -s class show dev br0
class htb 1:1 root rate 40000Kbit ceil 40000Kbit burst 1600b cburst 1600b
Sent 57984959305 bytes 54987217 pkt (dropped 0, overlimits 0 requeues 0)
rate 33558Kbit 3715pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: -4625 ctokens: -4625
class htb 1:a parent 1:1 leaf 8008: prio 0 rate 3000Kbit ceil 3000Kbit
burst 15Kb cburst 1599b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 640000 ctokens: 66656
class htb 1:b parent 1:1 leaf 8009: prio 0 rate 21000Kbit ceil 21000Kbit
burst 15Kb cburst 1596b
Sent 210 bytes 3 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 3 borrowed: 0 giants: 0
tokens: 91000 ctokens: 9094
class htb 1:c parent 1:1 leaf 800a: prio 0 rate 10000Kbit ceil 10000Kbit
burst 15Kb cburst 1600b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 192000 ctokens: 20000
class htb 1:d parent 1:1 leaf 800b: prio 0 rate 1000Kbit ceil 1000Kbit
burst 15Kb cburst 1600b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 1920000 ctokens: 200000
class htb 1:e parent 1:1 leaf 800c: prio 0 rate 6000Kbit ceil 6000Kbit
burst 15Kb cburst 1599b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 320000 ctokens: 33328
class htb 1:f parent 1:1 leaf 8007: prio 0 rate 40000Kbit ceil 40000Kbit
burst 15Kb cburst 1600b
Sent 57995260860 bytes 54994161 pkt (dropped 3849, overlimits 0
requeues 0)
rate 33829Kbit 3738pps backlog 0b 7p requeues 0
lended: 54987214 borrowed: 0 giants: 0
tokens: 38375 ctokens: -4625
Interface config:
address 177.xx.xxx.49/28
aging 300
hello-time 2
max-age 20
priority 0
promiscuous disable
stp true
traffic-policy {
out CONTROL
}
Traffic-policy:
shaper CONTROL {
bandwidth 40mbit
class 10 {
bandwidth 3mbit
burst 15k
ceiling 3mbit
match 101 {
ip {
destination {
address 177.xx.xxx.52/32
}
protocol tcp
source {
address 177.xx.xxx.52/32
}
}
}
queue-type fair-queue
}
class 11 {
bandwidth 21mbit
burst 15k
ceiling 21mbit
match 102 {
ip {
source {
address 177.xx.xxx.55/32
}
}
}
match 103 {
ip {
source {
address 177.xx.xxx.56/32
}
}
}
queue-type fair-queue
}
class 12 {
bandwidth 10mbit
burst 15k
ceiling 10mbit
match 104 {
ip {
source {
address 177.xx.xxx.57/32
}
}
}
queue-type fair-queue
}
class 13 {
bandwidth 1mbit
burst 15k
ceiling 1mbit
match 105 {
ip {
source {
address 177.xx.xxx.59/32
}
}
}
queue-type fair-queue
}
class 14 {
bandwidth 6mbit
burst 15k
ceiling 6mbit
match 106 {
ip {
source {
address 177.xx.xxx.60/32
}
}
}
queue-type fair-queue
}
default {
bandwidth 100%
burst 15k
queue-type fair-queue
}
}
Att,
Alberto Freire
More information about the gter
mailing list