Displaying 20 results from an estimated 3000 matches similar to: "HTB + BRIDGE QUESTION!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! HELP!!!!!!!!!!!!"
2005 Jun 18
6
htb child classes don''t borrow form "parent''s parent class" :(
Dear list,
I have the problem that child classes don''t seem to issue the parent
class to borrow from their parent.
This is a simplified version of my script:
tc qdisc del dev $DEV root
tc qdisc add dev $DEV root handle 1: htb default 10
tc class add dev $DEV parent 1: classid 1:1 htb rate 10mbit
tc class add dev $DEV parent 1:1 classid 1:10 htb rate 1kbit ceil
512kbit
#groups
tc
2006 Jan 06
6
HTB traffic shaping odd effects
Hi,
I''m trying to perform some (what I consider) basic traffic shaping on
our network utilising HTB. I have mostly reused the example on the
lartc.org site:
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 24k
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 50mbit ceil
80mbit burst 19k
tc class add dev eth0
2007 Jun 19
4
Why does this script noet work (bandwidth, tc en u32)
Hi,
Can anyone point me out where the script below is wrong?
All I want is that host 172.31.1.1 can only use 10 megabit. If I run
this script on the in-between router nothing happens (the host uses
still the full 100 mbit, tested with iperf) , so i assume that something
must be wrong....
#!/bin/sh
# LAN1 NIC
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: htb
tc class add dev
2004 Oct 06
3
HTB and Openvpn
Hi!
I have just started with traffic shaping, and after hours of reading
websites, man pages asf. I am still stumped at one problem I have.
The interface eth0 is attached to the outside world, and I have an openvpn
tunnel to another part of the organization using eth0 and port 5001.
The idea was that all traffic going through the tunnel would have top
priority and the rest share
2002 Oct 21
9
help, a children can not borrow from a parent?
Hi ;
MY script:
tc-htb3 qdisc del dev eth2 root
ipchains -F
tc-htb3 qdisc add dev eth2 root handle 10: htb default 20 r2q 40
tc-htb3 class add dev eth2 parent 10: classid 10:1 htb rate 50Mbit burst
2000
tc-htb3 class add dev eth2 parent 10:1 classid 10:100 htb rate 12mbit ceil
50mbit prio 1
tc-htb3 class add dev eth2 parent 10:1 classid 10:20 htb rate 38mbit ceil
50Mbit prio 8
ipchains
2007 Jun 20
8
Why does scp stall on low bandwidth connections?
Hi,
I am new to tc and have been reading quite a bit on how to set it up etc.
Everything seems to be working fine, until I started scp-ing a large file
over a low bandwidth connection as part of my testing process.
Here is the setup:
my pc --- bridge running tc/htb --- rest of network
TC is filtering traffic from "my pc" and classifies it as 120kbit (see my
script below). I then scp a
2004 Apr 06
11
htb2 -> htb3 problems
Hello!
I need to switch from htb2 to htb3, because of speed issues (for me,
htb2 is unable to handle more then 100mbit duplex with ~550 classes),
kernel profiling shows htb_dequeue_prio at 1st place with 3x isolation.
So, I''ve moved from 2.4.19 to 2.4.25 kernel (hi-pac for classification/marking
and htb3 for queueing), and traffic rate drop from 100 to 20mbit.
What can be wrong? The
2001 Jun 19
3
RTNETLINK answers: Invalid argument
Hi all,
I have installed 2.4.5 kernel, Debian Potato.
my tc script:
#!/bin/bash
tc qdisc add dev eth1 root handle 20: cbq bandwidth 10Mbit avpkt 1000
echo root
tc class add dev eth1 parent 20:0 classid 20:1 cbq bandwidth 10Mbit rate \
10Mbit allot 1514 weight 1Mbit prio 8 maxburst 20 avpkt 1000
echo class
tc class add dev eth1 parent 20:1 classid 20:100 cbq bandwidth 10Mbit rate \
5Mbit allot
2005 May 04
4
HTB rate miscalculation
Hi,
I''ve migrated my tc configuration from CBQ to HTB.
One problem appeared. Htb seems to miscalculate the bandwidth for classes
with greater rates.
For rates below 2Mbit there is almost no difference between the configured
and the measured rate.
For large ones the problem starts. My root class has 10Mbit rate and when
the interface has heavy trafic the measured bandwidth
2004 Oct 18
11
IP based bandwith limit
Hi,
i''ve following problem. One of our gateway router, which connects some
of our customers should have bandwith limit.
So customer A with IP XX should have 2 Mbit, customer B with IP YY
should have 10 Mbit. There is no need of borrowing bandwith so no
fairness needed.
My simple question: with which technique should I manage this shaping?
Or is there any existing project which
2003 Jul 16
1
Problen in cbq , fw
Hi,
In my LAN Iam trying to make following setup:
- All the traffic generated by 10.0.2.1 should go to 10.0.2.11,
If
the destination of this traffic is internet than it should be
placed on its interface eth1. Outgoing traffic on eth1 should be
shaped.For this I am using fw filters and cbq.
_______
10.0.2.1 -------> 10.0.2.11(eth0 )----| A
2005 May 23
1
linux tc + contab
Hi I have strange problem.
same traffic control rules when i started it manual they work OK,
but when i started it from crontab / twice per day / doesn''t work
correctly ... look like delete rules doesn''t work
... any ideas where to look for problem ?
i use debian sarge Linux 2.6 kernel ,
#!/bin/bash
TC=/sbin/tc
DEV=eth1
echo "Delete all rules"
$TC qdisc
2005 Jun 30
4
HTB: shaping internet bandwidth but don''t shape local network traffic
i got this problem, i want to shape my clients internet bw, but i
don''t want to shape my local network traffic. For information, my
clients using wireless to connect to my router[192.168.1.254].
when the clients request data from internet, example download from
www.download.com, i want to shape his bandwidth, but when the clients
[192.168.1.1] want to download from my file server example
2005 Dec 14
1
mgen & tc
Hello,
I have the following proplem. My DiffServ configuration is working fine
when I do ping, but when I use mgen the packets are not detected at the
core router.
Here is my core router configuration:
#!/bin/bash
tc qdisc add dev eth1 handle 1:0 root dsmark indices 64 set_tc_index
tc filter add dev eth1 parent 1:0 protocol ip prio 1 tcindex mask 0xfc
shift 2
tc qdisc add dev eth1 parent
2005 Jan 01
2
htb bridge problem, please chceck my config
hello. i have following setup:
a machine (winChip 200mhz cpu, 32mb ram, linux 2.4.28) acting like a bridge
with
2 interfaces (eth0 - to our ISP, eth1 - to our network)
machine does not have any IP
there is a 802.1q vlan eth0.2
eth0.2 and eth1 are bridged in br0
i have one 4mbit link which i share with my friend, i have 3mbit and he has
1mbit
all our IP addresses are public and we have the
2005 Dec 14
3
exact rate
Hello
I am using htb (krenel 2.6.14.3 + esfq patch from fatooh.org) to limit the
bandwidth. But I want the absolute maximum rate to be for example 5Mbit
and not to exceed it.
here is the script:
$tc qdisc add dev ${NETIF} root handle 1 htb r2q 4
$tc class add dev ${NETIF} parent 1: classid 1:21 htb rate 5Mbit ceil 5Mbit
$tc class add dev ${NETIF} parent 1:21 classid 1:101 htb rate 2Mbit ceil
2005 Apr 08
1
HTB + speed a bit lower than what shaped to
Hi Guys,
I have a little problem i dont understand why its happening,
Initially i thought it was a network problem, but then i made a
crossover between me and the server and shaped on that interface with as
minimal as possible config
this my test:
$TC qdisc add dev $INTERFACE root handle 1: htb default 30
$TC class add dev $INTERFACE parent 1: classid 1:1 htb rate 10Mbit
# POOL1
$TC class add
2006 Dec 14
1
hfsc rule command problem
My hfsc rule ..
tc qdisc add dev eth2 handle 1: root hfsc
iptables -t mangle -N ms-all
iptables -t mangle -N ms-all-chains
iptables -t mangle -N ms-prerouting
iptables -t mangle -A PREROUTING -j ms-prerouting
iptables -t mangle -A ms-prerouting -j CONNMARK --restore-mark
iptables -t mangle -A ms-prerouting -p udp --dport 4444 -j MARK --set-mark 1
iptables -t mangle -A ms-prerouting -p udp -m
2004 Oct 12
12
Qdisc statistics project
As a necessety for my job is to real-time monitor the bytes, packets, packet
dropped etc of all the qdiscs working inside the kernel i''ve tried varius
methods:
1. Parse tc -s command output and update a round robin database and use
rrdtool to graphically display tc statistics.
[varius perl scripts exist for the above job]
2. Unsuccesfully tried QoS SNMP extensions, in order to use a
2006 Aug 14
1
HTB and BOND Interface
Hi!
Is it HTB fully compatible with BOND interface?
I have this setup (mode= fault tolerance) :
BOND0 -> ETH0 + ETH1
BOND1 -> ETH2 + ETH3
( http://www.kernel.org/pub/linux/kernel/people/marcelo/linux-2.4/Documentation/networking/bonding.txt
)
HTB work very well with Class over BOND0.
If I add Class for BOND1 it generate balance errors.
Also with HTB.init