Displaying 20 results from an estimated 1000 matches similar to: "tc philosophy, will this work?"
2004 Aug 09
2
cbq dosen''t shape on MARK for one host.. strange!
Hello all, this is my first post here. Sorry for my english.
Gentoo LAN router, 2.4.26-hardened-r2
There are 2 WAN links, one LAN link. I am doing some iptables/routing/tc magic 
in my scripts. What''s interesting is marking packets traveling from all IP''s 
in LAN.
Interesting commands are:
-------------
for ip in `seq 50`;
do
        $IPTABLES -t mangle -A FORWARD -o eth2 -d
2004 Sep 11
0
How classes/filters work .. hmm.
What I need to do:
shape every user on my LAN to 256Kbit
-- class for web trafiic with rate X ceil 256Kbit
-- class for other(p2p) traffic with rate 1Kbit ceil 200Kbit
This is good because even if they have p2p programs running they will always 
have fast web surfing.
I can do it with bash scripts - one class per ip with 2 children.
But I wonder if something like this would work:
# class
2004 Nov 10
2
Reset Statistics?
2004 Sep 30
3
iproute2-2.2.4
I was trying to install iproute2-2.2.4. I get an error when i run the
makefile. I get a parse error in /usr/include/arpa/inet.h.
Can someone help me?
Thanks.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
2004 Sep 24
2
CONNMARK problem
Hello everybody.
i have the folowing problem:
i have this in the top of PREROUTING chain in mangle table
iptables -t mangle -A PREROUTING -j CONNMARK --set-mark 0        # rule 1
iptables -t mangle -A PREROUTING -m connmark --mark 5            # rule 2
iptables -t mangle -A PREROUTING -m connmark --mark 6            # rule 3
i think when packet is passing trough my POSTROUTING in mangle table
2004 Sep 09
4
imq config
Dear all,
I know this is not imq mailing list. But many of the users over here
have done exactly what i want.
Requirement:- I want to tight bound eth1 for 100 kbps
but after i want to create many classes of 64 kbps or 50 kbps and
others. But the total sum of classes is more than 100 kbps so my eth1 is
not restrciting total bandwidth at 100kbps.
According to search on google imq is the solution.
2004 Sep 06
5
HTB problem...
Hi folks.
Let''s say I would like to make some bandwidth control on my network
using HTB. I have 2 clients:
PC1: 192.168.100.2
PC2: 192.168.100.3
Server:
192.168.100.1
This has 2 NIC''s eth1 is local and eth2 is connected to the internet.
It could be nice to have a script, where you could specify, how much
bandwidth you want for a specific host on a network, like, PC1 has
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
_______________________________________________
2004 Nov 09
23
SEPARATING VOIP AND SURFING
Dear list:
I have a problem I cannot handle yet, and need to
solve it as soon as possible.  Would be very greatful
with anybody who can help me.
I have a 512/512 link to internet, that I want to
share between several computers.  I have eth0, with a
public IP address, conected to Internet, and also,
eth1, with a private IP address, for network with the
surfing computers.  I have a main class with
2004 Sep 09
5
Limiting speed of individual TCP sessions ?
Hi All,
Does anyone know of a way to limit the speed of *individual* TCP sessions, 
but without placing any overall bandwidth limits, and without requiring an 
explicit QoS entry for every ip address the machine is communicating with ?
The scenario is a mailserver - say you want to limit individual TCP 
sessions (pop3, smtp etc) to no more than 512Kbit so that an individual 
session
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
2007 Jul 20
2
priorityjumping not working, Dial goes to n+1 not n+101
Priorityjumping is totally ignored by my asterisk (tested 1.4.4 and
1.4.7.1 on FreeBSD 6.2)
[general]
priorityjumping=yes
With n+101:
exten => 1337,1,Dial(SIP/zytek,5,Ttj)
exten => 1337,102,Dial(SIP/zytek,${RINGTIME},${OPTIONS})
exten => 1337,n,Hangup
    -- Executing [1337 at firma:1] Dial("SIP/113-087a3000", "SIP/zytek|5|Ttj") in new stack
    -- Called zytek
   
2007 Jul 11
2
Music on hold stops on blind transfer
Asterisk 1.4.6 at FreeBSD6.2-RELEASE
Client hears pure silence when waiting for call answer. Music on hold stops 
when transferer pics a number and client doesn't even hear ringing. 
Is this normal behaviour? How to change this?
Log says everything, MOH should stop after call pickup, not before Dial.
-- Executing [113 at firma:1] Dial("SIP/zytek-08737000",
2005 Mar 14
1
htb.init issues
Hi!
Here''s what I want:
root class 0010
 premium parent class 1000
   premium child classes 1xyz
 best-effort parent class 2000
  best-effort child classes 2xyz
 default class 3000
Here''s how I do it:
eth1:
DEFAULT=3000
eth1-0010.root:
RATE=100Mbit
LEAF=sfq
eth1-0010:1000.premium
CEIL=352Kbit
RATE=352Kbit
PRIO=2
LEAF=sfq
eth1-0010:1000:1xyx.child1
CEIL=32Kbit
RATE=8Kbit
2007 Jul 17
1
Not hearing the caller after 2 x Flash
Me again, another problem.
As I said before, I have 2 lines going into "incoming" context.
When client calls, I press Flash, client hears music on hold (only on
voip line as said in previous post), when I get back and press Flash
again to get back to my client I cannon hear him, but he hears me
without problems.
I have just tested in on the LAN, same situations, happens everytime.
   
2007 Feb 11
8
Is ESFQ working?
Hi there, i am trying to shape a network for a college dorms...
INTERNET---- ETH0--------Nat Box-------ETH1--------LAN
I have set up  classes of traffic (HTTP, FTP, MAIL, IM, OTHER) and i have 
assigned a rate for everyone with a HTB qdisc. The limit based in traffic is 
working flawlessly.
However, under every HTB class i have set up a ESFQ queue discipline with hash 
value set to
2007 Mar 20
3
Fairness queuing across a range of IP addresses
I have a block of IP addresses (2048) used for ADSL connections to 
customers.
In order to provide a fair slice of available bandwidth on the contended 
services I would like to be able to set up some kind of SFQ filter, but 
using a hash of the destination IP address rather than the the full 
source and destination ip and port. This would be done at the Internet 
side gateway for traffic being
2007 May 16
1
tcng + esfq
FYI,
   i''ve just created a quick patch adding esfq (Enhanced Stochastic
Fairness queueing discipline) for tcng (Traffic Control Next
Generation).
  Patch is located at http://devel.dob.sk/tcng+esfq.
  Enjoy.
Sam
2007 Oct 29
6
Fair que between 255 users
Hello guys
I have a subnet with 255 users, which need to share 1 single slow internet
connection, so i would like to implement a kind of *fair queuing *on the
UPLOAD between them, which means that they all share the connection
equally..
The tools that i have available is: A linux box with IPROUTE2,HTB and TC..
I have looked at some examples, and my first idea was to make 255 entries in
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,