Displaying 20 results from an estimated 3000 matches similar to: "htb.init issues"
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 Nov 01
1
Big problem :(((((
Hello!
I have an internet connection of 64kbps garanteed in a channel of 256kbps. On this connection the metropolitan speed is 10Mbps and in the provider''s network the speed is 100Mbps.
I have a few clients behind my linux box and i want to set up some limitations because some of them are using it irrational.
I am marking the packets with 0 for internet; 1 for metropolitan 2 for
2005 Mar 13
1
Traffic Shaping for DVB gateway
Hello all,
I am providing broadband service through DVB circuit.
I have 4KB uplink and 32KB downlink. I want to share
32KB downlink bandwidth among 192.168.0.0/24 (20 users
in this subnet i.e 192.168.0.2-192.168.0.22)subnet
where each user will get 2KB to 6KB bandwidth. And
from 4KB uplink bandwidth each users will get only 1KB
to 2KB bandwidth.
2006 Feb 14
1
Guarantee ICMP respond time ?
Hello to all people there .
Can i guarantee ICMP respond time no metter how loaded is internet line .
i have typical NATed enviroiment like
External IP |linux router| LAN - 192.168.0.0/24
i have example setup with IMQ but is it possible to be done also if i
attache htb to eth0 and eth1 for example .
if i start shaper ping i better that without shaper but it''s not
guarantted i mean
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
2007 Aug 24
3
subdivide 64 kbit bandwidth 32kbit for WWW and 32 Kbit for mail
Hi all,
I''ve got a BOX running CentOS 4.5. It acts as a firewall + router.
I have installed both iptables and iproute2.
I has 3 network cards.
eth0 is connected to Internet (is has an internet ip. pls assume its ip is
1.2.3.4/29). it is a 256 Kbit link.
eth1 is DMZ. its ip is 192.168.100.254
eth2 is LAN. Its ip is 192.168.101.254
I have alreday shaped traffic to 64 Kbit on eth1 for
2005 Mar 15
1
how to bring down htb rate to 3kbit?
Hello Everybody,
I am successful in throttling down the Bandwidth to 8kbit using HTB. Below that I get report to change r2q. I want to bring down the Leaf class Bandwidth to 3kbit.
My script is as below:
Tc Script to throttle down the Bandwidth to 8kbit based on MAC address and IP address
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1:0 htb default 30 r2q 1
tc class add
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
2002 Aug 28
2
HTB - problem with one thread
Hello,
Besides a very good functionality, I have a small, yet stressing, problem.
Let''s say I have a bandwidth of N bits.
I have X clients, everyone with his fixed bandwidth.
I create htb qdsics for each client. Each leaf has sfq queueing
discipline.
A sample config would be like this :
tc class add dev eth0 parent 1:2 classid 1:346 htb rate 32Kbit ceil 32Kbit
burst 4k
2005 Feb 08
1
Shaping and forward
Lartc readers
I have a peculiar problem with shaping and firewalling.
My tc rules work great, below is a smaller version:
#Root
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: htb default 100
#Root Class
tc class add dev eth0 parent 1: classid 1:1 htb rate 1024kbit quantum
20000 burst 15k
#Class for each user
tc class add dev eth0 parent 1:1 classid 1:2 htb rate 32kbit ceil
2005 Jan 24
3
Htb, imq and sfq traffic shaping
Hello,
I wrote a simple traffic shaping script (below) that should have allowed me to shape my internet traffic a bit (ppp0 - adsl 128kbit/64kbit; local interface eth0).
The script works only partially - the speed is being limited but too much. Without running this script my download rate is about 10kBytes (with second computer also downloading at about 6kBytes). After running it my download speed
2007 Aug 30
17
Question about how TC enforces bandwidth limiting
Hello,
I run one of my PCs as my personal router, with iptables+tc to control
traffic and be my firewall.
In TC, I use a combination of htb, qdisc and sfq (as well as prio) to
classify bandwidth. In my current setup, I have 10 classifications of my
bandwidth. (Even I admit this is probably more than I need, but at this
point I''m still learning, so I''ll just leave them be.)
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
2006 Apr 04
3
Another question (now about u32)
Hello all,
I am trying to match some conections using u32 but I tryed this:
[root@ns1 ~]# tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32
match ip src 0/0 match ip dst 0/0 match ip sport 80 0xffff flowid 1:10
RTNETLINK answers: Invalid argument
We have an error talking to the kernel
[root@ns1 ~]#
I have this class at device eth1:
[root@ns1 ~]# tc class show dev eth1
class
2005 Apr 05
10
ppp+vpn+htb
please, help, i have build vpn server (suse 9 + poptop), i have managed to implement tc htb in ip-up script, but every client has own ppp interface (ppp0, ppp1, ppp2...), and my idea is to share available bandwidth, not to limit connection,
how to build root tc rule, when I have more then one interface?... please any one width experiance
regards
_______________________________________________
2009 Apr 30
15
Shorewall Firewall con Openswan and OpenVPN
Hello guys,
I past the last days trying to configure my shorewall 4.06 firewall to
allow openvpn bridging connection.
My scenario is the following:
roadwarrior (openvpn client) -------------> Internet ------------>
(X.Y.W.Z - eth0) Firewall/Gateway (10.x.x.254 - eth1) --------> Local
Lan -------> OpenVPN Server (10.x.x.249 - br0)
where 10.x.x.0-254 is my private lan
X.Y.Z.W is
2004 Dec 29
3
shaping on tcp ports
hi all:
the following scipt is wokring perfectly with limiting ...on limimitng per
ip basis..
----
eth0=public static ip
eth2= private ip ( 192.168.2.1)
--
iptables -t mangle -A POSTROUTING -s ! 192.168.0.0/32 -d 192.168.2.101/32
-j MARK --set-mark 21012
tc class add dev eth2 parent 1:1 classid 1:2101 htb rate 32kbit ceil 64kbit
tc filter add dev eth2 parent 1:0 protocol ip prio 2 handle
2005 Feb 16
6
Re: Bandwith Control with a firewall/bridge
>Miguel Ángel Domínguez Durán wrote:
>> Hello again,
>> First, excuse me for my poor english.
>> I''m trying now to make bandwith control in a firewall machine running
>> Shorewall. This machine is also a bridge using bridge-utils
>> bridge-utils-devel. It is a mandrake 10. The configuration is something
>> like
>> this:
>>
>>
2005 Apr 06
4
Games and QOS on share connection line
Hello. I''m newbie with QoS. I read some articles and I have a question on You. If you have time to spare, it would be great
if you reply. Here is my problem. I''m on wireless network(no earnig comunity). We got 2/2Mbit(soon 4/4) for 100 people(sharing link). Not long ago people start
screaming that their games don''t work good(lagging). So I add to our qos class games
2007 Apr 26
1
HTB+SFQ
Hi folks,
I`ve a problem to use HTB and SFQ.
The first script, below, to show a simple configuration, does work
fine...!!!
But, in the second example, does not work, becouse i put more code to
clasify the traffic by protocol, http and ftp in this case.
Somebody can tell me the errors?
Thx, in advance.-
NOTICE: IMQ device is to asociate with ETH1 my external iface.
SCRIPT que funciona: