Displaying 20 results from an estimated 2000 matches similar to: "Incoming trafic shaping (depending on src IP)"
2005 Jan 05
0
tc and ntop inconsistent trafic.
Dear List,
I am trying to limit some IP blocs with tc with following three step.
# interface
tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 256kbit
# class
tc class add dev eth0 parent 1: classid 1:1 cbq rate 64kbit \
allot 1500 prio 5 bounded isolated
# rules
# download
tc filter add dev eth0 parent 1: protocol ip prio 16 u32 \
match ip dst 10.0.1.0/24 flowid 1:1
# upload
tc
2001 Jun 27
4
Priotizing Bandwith but without Shaping the Bandwith
Hello, I''m Alexandra
Well, i have been working with cbq around 3 month ago without any
problems, what i do is control the bandwith to 64Kbit for input and
output and it works well.
But now I don''t want control the Bandwith, i only need prioritize udp
trafic over tcp trafic
Can somebody to help me with my requirement?
Thanks
Alexandra
2007 Feb 25
4
Trafic control - simple config, need help
I am completely new to this.. I am trying to make simple traffic control..
I have read quite some manuals and posts that i found, but i don''t understand
much, i think..
My situation is: i have linux server which i am using for firewall for local
network.. also on same linux server i have torrentflux for downloading torrents..
What i want to do is to give priority to local clients(2-3
2001 Dec 24
2
Two u32 problems: module count and fw
Hi All,
I found 2 unusual behavior with u32 classifier in Kernel 2.4.12. Ive u32
compiled as module.
1> u32 filter seems not working if there is already some fw filter used for
some other class. In order to get u32 working Ive to delete root class,
which in terms delete all fw filters too, and then same command for u32
works. fw is also compiled as module.
2> If I add u32 filter to my
2007 Apr 09
3
tc (CBQ) and UDP packets
2004 Mar 15
1
cbq init query
Hello,
Just wondering, from what I have been reading, would using
the word bounded solve my problem? I have not actually tried
using bounded yet, I will asap, however from what I
understand it only applies to classes? I simply have 2 cbq
files, cbq-1200.internal, and cbq-1200.external, both of
which are identical except one says eth1 instead of eth0.
Within each file I have :
2005 Sep 28
1
Control Trafic
Hi !
I have an error in this script as it is not working and I can''t figure out what that is.
Anyone can help?
Thanks!
#!/bin/bash
### unitati de masura pt debit
# kbps - kilobytes per second
# mbps - megabytes per second
# kbit - kilbits per second
# mbit - megabits per second
EXT_IF="eth0"
INT_IF="eth1"
TC=/sbin/tc
IPTABLES=/sbin/iptables
# RATE
2006 Aug 24
3
Help On Upload Limiting Using CBQ.init
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Guys
Ive got an internet cafe on which I have a debian sarge box running.
The Debian box acts as a gateway and it has masquerading on. I have 40
client PC and i do not want to assign more than 64k per pc for upload
and the same is true for download too. Ive done alot of research and Ive
read tutorials about CBQ and HTB. I found that CBQ.init is
2005 Jan 06
3
tc and ntop inconsistent data flow
Dear List,
Sorry for the dublicated email but I couldn''t get any answer.
I am trying to limit some IP blocs with tc with following three step.
# interface
tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 256kbit # class
tc class add dev eth0 parent 1: classid 1:1 cbq rate 64kbit \
allot 1500 prio 5 bounded isolated
# rules
# download
tc filter add dev eth0 parent 1:
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
2001 Dec 13
14
tc: u32 match in nexthdr not working?
Hello,
it seems, that filtering on nexthdr (TCP/UDP) content, especially
src or dst port, is not working.
The following has no effect on 2.4.16 or older (even 2.2) kernels:
# tc filter add dev eth0 parent ffff: protocol ip prio 50 u32 match tcp
dst 3128 0xffff police rate 40kbit burst 10k drop flowid :1
Even if
# tc filter ls dev eth0 parent ffff:
filter protocol ip pref 50 u32
filter protocol
2003 Apr 23
1
cbq.init
About the cbq.init. Four machines which traffic to limit in same LAN.
Is the samething if I put limiting rules to four different files or all to
the same file? Like:
DEVICE=eth0,10Mbit,1Mbit
RATE=64Kbit
WEIGHT=6Kbit
PRIO=5
RULE=192.168.0.5
RULE=192.168.0.6
RULE=192.168.0.7
RULE=192.168.0.8
OR four equal files with different IPs, Ids and no PARENT rule?
What style of ID numbering you use if
2004 Apr 08
1
traffic shaping on single ip...
Hi all. Im using the following CQB shaper to shape IP addresses:
DEV=eth1 (internal eth)
tc qdisc del dev $DEV root
tc qdisc add dev $DEV root handle 1: cbq avpkt 1000 bandwidth 100mbit
tc class add dev $DEV parent 1: classid 1:1 cbq rate 256kbit allot 1500 prio 5 bounded isolated
tc class add dev $DEV parent 1: classid 1:2 cbq rate 512kbit allot 1500 prio 5 bounded isolated
tc filter add dev
2003 Aug 20
9
CBQ_bandwidth
Hi Stef,
Reffering to page < http://www.docum.org/stef.coene/qos/faq/cache/7.html
> I found a para as follows,
" CBQ is not always as accurate as it should be. See docum.org on the
test page for some tests with bounded classes. The algorithm used by cbq
is very "link sensitive". It calculates the link idle time and for that
it needs the real link bandwidth, average
2004 Jul 09
4
HTB & Bdw Guarantee
Hello,
I have problems setting up HTB.
This is my setup :
NET 1024/256 ADSL
||
eth1
Linux Firewall
eth0
||
LAN 10.a.a.a
I want to GUARANTEE for an IP (10.x.y.z) a 800kbit
bandwidth for HTTP download.
But When 10.x.y.z does no HTTP download, other trafic
must get the whole bandwidth, of course.
The script I use (see below) is quite the same as
presented at (the greeeeat page) :
2005 Oct 11
3
Inaccurate results without natting the traffic.
Hi folks.
For quite a while, I tried to use linux (cbq and htb) to control
bandwidth in order to replace a cisco equipment used to play this role
on our network.
After trying here and there, with a bunch of different distros,
different versions, different compilations, ... the closest I could
get was as follows:
(using htb.init and cbq.init)
Desired BW ==> Achieved BW
128k ==> 404.78
2006 Sep 07
1
Rate limits whithin rate limits
Hi all,
I''m sure I''m soing something wrong here.
I am trying to set up a rate limit inside another rate limit.
eg. I have a 512K rate limit on a particular VLAN. I am using an IFB so
that packets passing through the bridge are counted at each port.(ie the
throughput is limited to 512K, not just the traffic in one direction.)
This part works OK, but I also want to limit a
2008 Dec 09
2
Rails and Ruby behind proxy
Hi there,
I''ve a little problem.
On my code, I use the flickraw gem. On the application.rb there is a
require ''flickraw'' who create a new instance, and for that need to
pass the net.
It works at home, but in my office we have a proxy, and when I launch
webrick I have an error saying that I''m behind a proxy :(.
Does anyone have an idea on how to correct this
2002 Jun 24
4
Gigabit Etnernet router
Hi,
I would like to build new router with 3 Gigabit Ethernet card. Need I
dual procesor system or not ? I would like to have trafic controling (htb
or cbq/sfq) and firewall (iptables) on this router.
Can you recommend me some good motherborad with 64-bit PCI-X ?
--
`)_|_('' PSIkappa
I k psi _at_ atlantis.sk
2004 Jan 21
2
Slightly offtopic: IRC channel archives
Hi all.
I fear I''m slightly offtopic with this question, but I''ll keep it short:
who is (or feels) responsible for the #lartc irc-channel in oftc.net?
I''d appreciate if that person would get in contact with me (off-list) in
order to discuss some ideas I have. Thanks in advance.
Bye, Mike
_______________________________________________
LARTC mailing list /