Displaying 20 results from an estimated 843 matches for "classid".
Did you mean:
classic
2004 Jan 19
3
Shaping inbound ok, outbound wrong
...h0 facing the
backbone and eth1 facing the LAN. Thanks for your help.These are the
commands I run:tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1 htb default 10 r2q 5
tc qdisc del dev eth1 root
tc qdisc add dev eth1 root handle 1 htb default 10 r2q 5
tc class add dev eth0 parent 1: classid 1:2 htb rate 3Mbit
tc class add dev eth0 parent 1:2 classid 1:100 htb rate 128Kbit ceil 128Kbit
tc qdisc add dev eth0 parent 1:100 handle 100 sfq perturb 10
tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match ip dst
200.43.134.15 classid 1:100
tc class add dev eth0 parent 1:2 classid...
2006 Jul 20
1
QoS doubt about network machine
Hello all,
I am with a doubt about QoS solution... I have a 4 Mbit backbone
coming from the telco I use... This is the link I serve to my clients,
so I make this classes:
$TC qdisc add dev $DL root handle 1: htb default 60
CLASS="/sbin/tc class add dev $DL parent"
$CLASS 1: classid 1:1 htb rate 4096Kbit
$CLASS 1:1 classid 1:10 htb rate 256Kbit ceil 3072Kbit burst 15k
$CLASS 1:1 classid 1:20 htb rate 256Kbit ceil 1024Kbit burst 15k
$CLASS 1:1 classid 1:30 htb rate 2048Kbit ceil 3072Kbit burst 15k
$CLASS 1:1 classid 1:40 htb rate 256Kbit ceil 512Kbit burst 15k
$CLASS 1:1 classi...
2003 Mar 12
3
Warnings with and without r2q
...antum of class 10010 is big. Consider r2q change
Here''s the script I´m using (with the burst parameter):
#!/bin/sh
#======================
# uploading
#======================
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: htb default 10
tc class add dev eth0 parent 1: classid 1:1 htb rate 100mbit burst 2k
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 80mbit ceil 100mbit
burst 2k
tc class add dev eth0 parent 1:1 classid 1:11 htb rate 128kbit burst 2k
tc class add dev eth0 parent 1:11 classid 1:21 htb rate 16kbit ceil 56kbit
burst 2k
tc class add dev eth0 parent...
2003 Jun 02
2
HTB question (problem with tc filter + NAT)
...ontrol is not
working. I''m using IP Masquerading to route internet to the LAN
eth0 - LAN interface
eth1 - Internet interface
this is my firs htb script:
#!/bin/bash
tc qdisc del dev eth1 root handle 1:
tc qdisc add dev eth1 root handle 1: htb default 30
tc class add dev eth1 parent 1: classid 1:1 htb rate 25kbps ceil 48kbps
#tc class add dev eth0 parent 1:1 classid 1:10 htb rate 4kbps ceil 48kbps
tc class add dev eth1 parent 1:1 classid 1:10 htb rate 4kbps ceil 48kbps
tc class add dev eth1 parent 1:1 classid 1:11 htb rate 4kbps ceil 48kbps
tc class add dev eth1 parent 1:1 classid 1:12 h...
2003 Jun 15
3
how to emulate large IP routing table
...qdisc del dev $DEV ingress 2> /dev/null > /dev/null
> >
> > # create the root qdisc
> > tc qdisc add dev $DEV root handle 1: htb default 13
> >
> > # install a root class, so that other clients can borrow from each
other.
> > tc class add dev $DEV parent 1: classid 1:1 htb rate 15kbps ceil 15kbps
> >
> > # now install 4 sub classes for different priorities
> > # highest priority for low latency games like quake3 and ssh / ftp
control.
> > tc class add dev $DEV parent 1:1 classid 1:10 htb rate 7kbps ceil 15kbps
\
> > prio 0 burst...
2005 Mar 23
5
tc + zebra/quagga
I have some problem with traffic shaping on debian testing. I actually posted
a full config on the list a while ago but didn''t get any answers.
The problem is that traffic doesn''t get into the user classes (~150) when I
associate a class with a qdisc. I tried sfq, fifo but none works. If I dont''t
associate a qdisc with a class classification occurs well.
2004 Apr 06
0
cbqmon.pl
...> Class kbps pps backlog dropped borrowed overact. tokens
ctokens
> ------ ------- ------ -------- -------- -------- -------- -------- -------
-\n";
>
> format STDOUT =
> @<<<<< @####.# @###.# @####### @####### @####### @####### @#######
@#######
> {$classid, @{$smoothed{$classid}}{''bytes'',''packets''},
>
@{$classdata{$classid}}{''backlog'',''dropped'',''borrowed'',''overactions'',''tokens
'',''ctokens''}}
> .
>
>...
2005 Nov 22
1
HTB classid problem
Hey, everyone, I am kindda newbie to this subject, so I just post my problem directly, please let me know if anything is wrong.
in my config file
when I use
tc class add dev eth1 parent 1:11 classid 1:11016 htb rate 512kbit burst 10k
everything works correctly
but...when classid goes larger than 1:19999, eg:
tc class add dev eth1 parent 1:21 classid 1:21006 htb rate 256kbit burst 10k
it thows out "RTNETLINK answers: Invalid argument"
I am using Fedora core 3 and...
2004 Nov 01
1
Big problem :(((((
...; 1 for metropolitan 2 for provider''s network.
Afther the mark i send the packets to the followind classes:
script for eth0 (eth0 is my local network)
#!/bin/bash
tc qdisc del dev eth0 root >/dev/null
tc qdisc add dev eth0 root handle 1: htb default 3
tc class add dev eth0 parent 1: classid 1:1 htb rate 64kbit ceil 256kbit burst 15k quantum 1500 # Internet
tc class add dev eth0 parent 1: classid 1:2 htb rate 10Mbit burst 15k quantum 1500 # Metropolitan
tc class add dev eth0 parent 1: classid 1:3 htb rate 80Mbit burst 15k qu...
2005 Jun 28
0
Re: Questin regarding HTB
...NDA_NECLASIFICATI="8kbit"
#Shape generale
/sbin/tc qdisc del dev $ETH_IN root
/sbin/tc qdisc del dev $ETH_OUT root
/sbin/tc qdisc add dev $ETH_IN root handle 1 htb default 10 r2q 2
/sbin/tc qdisc add dev $ETH_OUT root handle 1 htb default 10 r2q 2
/sbin/tc class add dev $ETH_IN parent 1: classid 1:2 htb rate $BANDA_TOTALA
/sbin/tc class add dev $ETH_OUT parent 1: classid 1:2 htb rate $BANDA_TOTALA
/sbin/tc class add dev $ETH_IN parent 1:2 classid 1:10 htb rate
$BANDA_NECLASIFICATI prio 4
/sbin/tc class add dev $ETH_OUT parent 1:2 classid 1:10 htb rate
$BANDA_NECLASIFICATI prio 4
#Shape cl...
2006 Feb 05
1
htb prio ...
Hey, I have such a script:
tc qdisc add dev $DEV root handle 1:0 htb default 21 r2q 2
tc class add dev $DEV parent 1:0 classid 1:11 htb rate 100mbit
tc class add dev $DEV parent 1:11 classid 1:21 htb rate 512kbit ceil
512kbit
tc class add dev $DEV parent 1:11 classid 1:23 htb rate 1024kbit ceil
1024kbit
tc class add dev $DEV parent 1:11 classid 1:25 htb rate 3072kbit ceil
3072kbit
tc class add de...
2004 May 03
1
htb bandwith
Hi,
tc qdisc add dev eth0 root handle 1: htb
tc class add dev eth0 parent 1:0 classid 1:1 htb rate 2000Kbit ceil 2000kbit
tc class add dev eth0 parent 1:1 classid 1:2 htb rate 1200Kbit ceil 2000kbit
tc class add dev eth0parent 1:1 classid 1:3 htb rate 800Kbit ceil 2000kbit
tc class add dev eth0 parent 1:2 classid 1:21 htb rate 600Kbit ceil 2000kbit
tc class add dev eth0 paren...
2006 Feb 14
1
Guarantee ICMP respond time ?
...Maybe i''m missing something.
Is it possible with HTB ot with something else like CBQ ?
here is my example setup
echo "Loading Traffic Shaper IMQ0 Upload"
tc qdisc del dev imq0 root
tc qdisc add dev imq0 root handle 2: htb default 333 r2q 1
tc class add dev imq0 parent 2: classid 2:2 htb rate 192kbit
#ICMP
tc class add dev imq0 parent 2:2 classid 2:30 htb rate 32kbit prio 0
tc filter add dev imq0 parent 2:0 protocol ip handle 5 fw classid 2:30
tc qdisc add dev imq0 parent 2:30 handle 30: sfq perturb 1
tc class add dev imq0 parent 2:2 classid 2:24 htb rate 96kbit cei...
2003 Jun 12
11
htb problem
Hi,
I have some interesting problem with htb , I set up root class and
sub-classess:
$TC qdisc add dev eth0 root handle 1: htb
$TC class add dev eth0 parent 1: classid 1:1 htb rate 1990kbit ceil 2000kbit
$TC class add dev eth0 parent 1:1 classid 1:10 htb rate 190kbit ceil 200kbit
$TC class add dev eth0 parent 1:1 classid 1:11 htb rate 1400kbit ceil
1600kbit
$TC class add dev eth0 parent 1:1 classid 1:12 htb rate 1000kbit ceil
1500kbit
$TC class add dev eth0 paren...
2004 Apr 13
4
tc does''nt limit the bandwidth!
...stomers to 144, 16, 32, and
32kbps.
I used the following tc commands BUT IT FAILED TO
LIMIT each and everyone of them to its bandwidth.
What am I doing wrong:
My tc scripts are:
tc qdisc add dev eth1 root handle 1: htb default 1
#Classes#
tc class add dev eth1 parent 1: classid 1:1 htb
rate 9bps ceil 9bps #Default
tc class add dev eth1 parent 1: classid 1:100 htb
rate 9bps ceil 9bps #ICMP
tc class add dev eth1 parent 1: classid 1:5 htb
rate 144kbps ceil 256kbps #customer A
tc class add dev eth1 parent 1: classid 1:101 htb
rate 16kbps...
2005 Jan 24
3
Htb, imq and sfq traffic shaping
...load, imq1 for upload
# $MODPROBE imq numdevs 2
$IFCONFIG imq0 up
$IFCONFIG imq1 up
# ROOT DEVICE
echo " Setting root devices for $DOWNIF and $UPIF"
# download
$TC qdisc add dev $DOWNIF root handle 1: htb default 99
$TC qdisc add dev $DOWNIF parent 1: classid 1:10 htb rate 128kbit
# upload
$TC qdisc add dev $UPIF root handle 1: htb default 98
$TC class add dev $UPIF parent 1: classid 1:20 htb rate 64kbit
# ADDRESSES
echo " 192.168.0.30"
# 192.168.0.30
$TC class add dev $DOWNIF parent 1:10 classid 1:1000 htb rat...
2006 Apr 05
5
QoS - Ping problem
...gas de QoS
#------
$TC qdisc del dev $DL root 2> /dev/null > /dev/null
$TC qdisc del dev $DL ingress 2> /dev/null > /dev/null
#------
# Regras para a placa eth1
#------
$TC qdisc add dev $DL root handle 1: htb default 50
CLASS="/sbin/tc class add dev $DL parent"
$CLASS 1: classid 1:1 htb rate 3072Kbit
$CLASS 1:1 classid 1:10 htb rate 1024Kbit ceil 1024Kbit
$CLASS 1:1 classid 1:20 htb rate 1536Kbit ceil 2560Kbit
$CLASS 1:1 classid 1:30 htb rate 512Kbit ceil 1024Kbit
$CLASS 1:1 classid 1:40 htb rate 512Kbit ceil 1024Kbit
$CLASS 1:1 classid 1:50 htb rate 512Kbit ceil 1024Kbit...
2005 Sep 27
2
QoS-iptables-iproute-tc (doesn''t work together:S)
...20
iptables -t mangle -A PREROUTING -p tcp --dport 25 -j
MARK --set-mark 10
iptables -t mangle -A FORWARD -p tcp -i eth0 -o eth1
--dport 25 -j MARK --set-mark 10
$TC qdisc del dev $INET_IFACE root
$TC qdisc add dev $INET_IFACE root handle 1: htb
default 60
$TC class add dev $INET_IFACE parent 1: classid 1:1
htb rate 2048kbit burst 2k
$TC class add dev $INET_IFACE parent 1:1 classid 1:10
htb rate 10kbit ceil 128kbit prio 5 quantum 1 burst 2k
$TC qdisc add dev $INET_IFACE parent 1:10 handle 10:
sfq perturb 10
$TC class add dev $INET_IFACE parent 1:1 classid 1:20
htb rate 10kbit ceil 512kbit prio...
2005 Jul 08
2
P2P shaping, won''t work
...iptables -t mangle -A POSTROUTING -j lay7POST
iptables -t mangle -A PREROUTING -j ipp2pPRE
iptables -t mangle -A POSTROUTING -j ipp2pPOST
TC RULES
tc qdisc add dev eth1 handle 1:0 root dsmark indices 8 default_index 0
tc qdisc add dev eth1 handle 2:0 parent 1:0 htb
tc class add dev eth1 parent 2:0 classid 2:1 htb rate 22000bps ceil 22000bps
tc class add dev eth1 parent 2:1 classid 2:2 htb rate 3000bps ceil 5000bps
prio 0
tc qdisc add dev eth1 handle 3:0 parent 2:2 sfq
tc class add dev eth1 parent 2:1 classid 2:3 htb rate 5000bps ceil 6000bps
prio 1
tc qdisc add dev eth1 handle 4:0 parent 2:3 sfq
t...
2006 Jan 25
4
tcf_action_destroy destroying
...HTB: quantum of class 20020 is big. Consider r2q change.
and this is my script:
/root/ct/sbin/ct qdisc del dev eth0 root ;
/root/ct/sbin/ct qdisc del dev eth0 ingress ;
/root/ct/sbin/ct qdisc add dev eth0 root handle 1: htb default 10 r2q 1;
/root/ct/sbin/ct class add dev eth0 parent 1: classid 1:1 htb rate 10000kbps;
/root/ct/sbin/ct class add dev eth0 parent 1:1 classid 1:10 htb rate 9990kbps ceil 10000kbps;
/root/ct/sbin/ct class add dev eth0 parent 1:1 classid 1:11 htb rate 10kbps;
/root/ct/sbin/ct qdisc add dev eth0 parent 1:10 handle 13: sfq perturb 5;
/root/ct/sbin/ct qdisc add de...