Displaying 20 results from an estimated 11000 matches similar to: "Shaping incoming traffic on the other interface"
2005 Jul 08
5
HTB Rate and Prio
Hi,
I wanted to implement some QOS on my Linux Box with HTB, but after some time
spend
on the configuration and tests, I still don''t manage to have some correct
results. Here are the details :
-ROOT 2000 kbits
-HIGHPRIO SUBCLASS 50 kbits prio 0
-SUBCLASS1 750 kbits prio 1
-SERVICE1 250 kbits prio 1
2005 Dec 27
9
2.6.14 - HTB/SFQ QoS broken?
Hello,
First of all, I already contacted Martin Devera, the developer of HTB, and
he told me to search for help on this mailinglist, thus I am describing
my problems here now...
I am kind of seriously annoyed by QoS as I have been trying for over 3 years
to get it working properly - first I did not understand how it works, then
it seemed not to work, then it was working perfectly for half a
2002 Oct 16
10
htb limiting trouble: no overlimit or dropped packets
Hi!
I''m trying to limit the uplink bandwidth using htb but no packets are
overlimit or dropped. :-(
My router config:
* Linux kernel 2.4.20-pre10 (htb v3.7) with everything built as
modules in QoS, iptables in use.
* tc binary from htb3.6-020525.tgz
* external interface eth0: Internet access, 512 kbit/s uplink speed
* internal interface eth1: internal LAN, 100 Mbit/s
The hosts in the
2004 Oct 21
2
how to read the stats
Hi
I have setup iproute2 and need a bit of help reading the stats from it
===== output
qdisc htb 1: r2q 10 default 20 direct_packets_stat 0 ver 3.17
Sent 547326809 bytes 1342627 pkts (dropped 9303, overlimits 2817572
requeues 0)
backlog 46p
qdisc sfq 10: limit 128p quantum 1514b flows 128/1024 perturb 10sec
Sent 41874343 bytes 730889 pkts (dropped 0, overlimits 0 requeues 0)
qdisc sfq
2007 May 08
5
limit bandwidth per host question
EHLO tc gurus.
New to traffic control. Unfortunately, the politicians here in Denmark
have decided that a PC is the same as a television set - so anyone
owning a PC and internet connection of over 255 kbit/s must pay DKR
2200/year = EUR 300 = USD 400 in television licence fees :-( This is a
lot of money for poor students, so we want to offer the students the
*option* of limiting their
2004 Jul 28
3
Re: Re: HTB 3.13 please help
//Just to not forget eth0 is WAN and eth1 is LAN . The box is NATing my lan.
I configured tcng to shape both download and upload
and i got connection loss again.
Maybe it is my script fault or it is something bad with packets marking .
this is how i mark outgoing packets
iptables -t mangle -A MYSHAPER-OUT -p tcp -s 192.168.1.23 -j MARK --set-mark
$ip
and this part of my script which is intented
2004 Apr 04
2
IMQ & NAT
Hi all, my IMQ device works OK (thanks to Andy Furniss), but now I''ve
problems to attach the traffic in the qdisc''s. This is my conf:
-----------------------------------------------------------------------
INET
|
|eth0 300Kbps
ROUTER (NAT)
|eth1
|
LAN
-----------------------------------------------------------------------
MAX=300
tc qdisc add dev imq0 root handle 1: htb
2006 Jan 25
4
tcf_action_destroy destroying
Hi,lartc
I used iproute-060110 with iptables1.3.4 on gentoo 2005r1 kernel 2.6.14-5.
I find some error messages in system logfile:
HTB: quantum of class 10001 is big. Consider r2q change.
HTB: quantum of class 10010 is big. Consider r2q change.
tcf_action_init_1: successfull police
HTB: quantum of class 20001 is big. Consider r2q change.
HTB: quantum of class 20020 is big. Consider
2004 Jul 20
3
Fw: HTB - Really Big problem
----- Original Message -----
From: MichaĆ Joachimiak
To: lartc@mailman.ds9a.nl
Sent: Tuesday, July 20, 2004 3:45 PM
Subject: HTB - Really Big problem
Hello everybody!
Since week i dig lists and www and can''t find solution for my problem.
I''m using HTB 3.13 kernel 2-4-25 smp iptables 1.2.9.
I''ve got situation like this:
LAN------Linux Box(routing only)------- Linux
2005 Apr 12
8
HTB ATM MPU OVERHEAD (without any patching)
I know there is that handy patch available to very efficiently use ATM
bandwidth, but I was wondering what the best values to use with a
non-patched iproute2 would be. Anyone here care to check my logic in coming
up with these numbers and perhaps suggest better values?
My transmit speed is 768kbps per ADSL line (I have two). This is the HTB
shaping I do on the interface (logic used for this
2004 Apr 15
8
Making tcp start transfers slow
Hey list
I have almost gotten my shaping setup up and running as planned. The
last barrier seems to be tcp overshooting availible bandwidth when its
starting a transfer, and thereby bursting the line, so ping rises for a
moment. At least this is my best guess at the problem :)
There is a possibility that its just plain old traffic being bursty for
some reason.. I am using bittorrent to test this,
2007 Aug 29
11
tc not matching
Dear all,
I''m having real problems getting tc to do anything useful at all. I''m
also under pressure to get this fixed before the students start arriving
later this month (I work in a university).
In short, I want each IP address to be hard limited to 128kbit down,
64kbit up, never to be allowed more bandwidth than this. It is also
important that the latency remains
2006 Jan 24
3
Is local originated traffic affected?
Hi!
I built some rules to shape traffic from my linux router in both
dirrections: to the Internet and to the LAN.
When i apply the rules my computer cannot acces the Internet or the LAN.
Is this behavior normal? Do I need to write some rules for local IPs of
my router? (I have sevaral, both on the internal and the external NICs.)
Thank you for any advice!
Sorin.
2004 Aug 04
5
Asterisk QOS working perfect using sveasoft 3.11g
As seen on my post at:
http://www.sveasoft.com/modules/phpBB2/viewtopic.php?p=28112#28112
This works very well... It does NOT work with stable 4.0! sveasoft
will be issuing a bug fix for this (4.1) in the near future.
Final Rev of working script w/ asterisk support
I'm not going to run alchemy on production machines until it is stablish.
Remember to set your uplink properly and to set
2006 Feb 06
2
p2p marking, again
Hey, one more question for ipp2p
iptables -t mangle -A DSL-IN -p tcp -m ipp2p --ipp2p -j CONNMARK
--restore-mark
iptables -t mangle -A DSL-IN -p tcp -m mark ! --mark 0 -j ACCEPT
iptables -t mangle -A DSL-IN -p tcp -m ipp2p --ipp2p -j MARK --set-mark 7
iptables -t mangle -A DSL-IN -p tcp -m ipp2p --ipp2p -j CONNMARK --save-mark
iptables -t mangle -A DSL-IN -p udp -m ipp2p --ipp2p -j MARK
2007 Mar 15
1
Problem attaching htb class to a htb qdisc
I''m trying to build a QoS system that would divide the outgoing traffic
into four categories, each one also subdivided into two more categories.
For that I chose a htb root qdisc subdivided into four classes, each of
these classes contains also a htb qdisc. Until these point everything
goes well, but when I try to attach a new class to the leaf htb qdisc a
problem with the sintaxis
2003 Jul 05
13
HTB doesn''t respect rate values
Hi,
machine: AMD K6 200 MHz
Linux distribution: Mandrake 8.1
kernel: compiled 2.4.21
applied this:
#define PSCHED_CLOCK_SOURCE PSCHED_CPU in file
linux/include/net/pkt_sched.h bevore compiled the kernel
(described on http://www.docum.org/stef.coene/qos/faq/cache/40.html)
bandwitch on eth0: 128kbit
The most simple configuration - 122kbit guaranted for WWW (sport 80) and
2001 Dec 24
11
Traffic balancing by IP.
Hello all!
As far as I know that the traffic that will pass thru the router is balanced
so that all connections have the same privilegies. Is it possible to
configure the linux based router so that all computers will have the same
privilegies? I mean that if in default case full traffic is splitted by
connections, so I need to split it by users to prevent one user occupy all
traffic by starting
2004 Sep 28
2
Shaping not working
Hi folks,
I''m trying to shape two clients in my LAN when accessing the internet.
Actual situation is that EVERY traffic goes into 1:40, so the client
which should fall into 1:30 does not get the lower uplink it should
have, but the uplink defined for the client defined as 1:30
When I disable the definition of 1:40, every traffic falls into 1:30
(except for the traffic defined to be in
2003 Aug 08
1
Looking for a good htb traffic shaping script to prioritize incoming traffic
I am looking for a good htb traffic shaping script to prioritize incoming
traffic over outgoing traffic for my machine. I have a 100mbit line, ftp
up, backup data comming in, but whenever mirrors starts grabbing it they use
all the traffic and the backup data comming in (the important data) drops to
like 300kb/sec. I was thinking some script doing
sleep 60
[if downstream > 1mb/sec, limit