Displaying 20 results from an estimated 10000 matches similar to: "tc rules for Internet Radio"
2002 Oct 28
6
Fw: wondershaper kills eth0 :(
Hi,
When i do ''wshaper start'' the interface i have defined stops routing
traffic for some reason. It resumes routing when i do ''wshaper stop''.
I''m using debian stable (3.0 woody) with debian''s default 2.4.18-686
kernel.
When I run the script I get no errors, and when I do a ''status'',
everything looks correct.
Can ANYONE
2006 Jan 26
3
tc qdisc ingress problem ?
Hi, all
I''ve got problems with tc qdisc ingress.
I''m using vanillia kernel 2.6.14.4 patched with
http://www.ssi.bg/~ja/routes-2.6.14-12.diff, and iproute2-2.6.14-051107.
i am using ingress to limit incoming traffic :
(DEV is eth1 / DOWNLINK is 7700)
# attach ingress policer:
tc qdisc add dev $DEV handle ffff: ingress
# filter *everything* to it (0.0.0.0/0), drop everything
2004 Oct 21
1
can''t understand howto example
tc class add dev $DEV parent 1: classid 1:1 htb rate ${UPLINK}kbit burst 6k
tc qdisc add dev $DEV handle ffff: ingress
tc filter add dev $DEV parent ffff: protocol ip prio 50 u32 match ip src \
0.0.0.0/0 police rate ${DOWNLINK}kbit burst 10k drop flowid :1
why does the download is being sent to class 1 which is limited by uplink ?
why the rate is being mentioned in filter and in class ?
2007 Sep 01
9
complete linux and shaping newbie needs help
Hi there good people,
I''m a newbie in what concerns running Linux on machines other than
desktops, so I need help from all you gurus out there :-)
I have Linux installed on an old computer (Winchip C6, Pentium clone),
acting as a router/firewall for two other computers. Both these
machines are connected to the firewall via a dedicated ethernet card
each, on different subnets,
2002 Jun 12
3
Why this stupid ingress tc does not work ?
Hi !
I wanted to shape my analog modem connection so I took these two lines
from the ''wondershaper'' script:
tc qdisc add dev $DEV handle ffff: ingress
#tc filter add dev $DEV parent ffff: protocol ip prio 50 u32 match ip
\ src 0.0.0.0/0 police rate ${DOWNLINK} burst 10k drop flowid :1
with DEV=ppp0 and DOWNLINK=24kbit.
But, when I activate it, nothing comes back from the
2005 Dec 27
3
Ingress policing (matching netfilter marks)
Hi,
I''m having issues with policing my incoming traffic by matching packet marks
made by iptables. I''ve checked as many sites and guides as I can find, and I
seem to be doing the exact same thing as they all are, but there''s still no
success. As such, I was wondering if anyone can have a quick look to see if
I''ve done anything obviously stupid?
Essentially, I
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
2007 Jul 30
17
tc n00b
Hi everyone,
I''m new to tc but I need to use it to set up shaping on a new NAT box.
In short:
Each user must have their upload limited to 128kbit and downlink limited
to 256kbit.
Global bandwidth to be limited to 100Mbit
Interactive packets to have higher priority
200+ users, so need to match packets fast
So far I have managed to get the download limits working. However I need
to
2004 Nov 25
12
simple dual Internet connection setup not sending return packets on correct interface
I have a very simple setup exactly as described in the HOWTO section "
4.2. Routing for multiple uplinks/providers".
One is cable (eth1: dhcp) and the other is PPPoE (ppp0).
I used the following commands to configure the routing once all of my
interfaces are up and i have configured SNATing for them:
ip route add 66.11.173.0/24 dev ppp0 src 66.11.173.224 table 11
ip route add default
2007 Jun 18
1
Fwd: police burst is mandatory?
Hi.
I''m using the following filter from lartc "ultimate PPP" example:
tc filter add dev $DEV parent ffff: protocol ip prio 50 u32 match ip src \
0.0.0.0/0 police rate ${DOWNLINK}kbit burst 10k drop flowid :1
It works fine, but when I remove the "burst 10k", I receive the following
error:
"burst" requires "rate".
Illegal "police"
2005 Apr 05
8
Qos with 2 internet connections problems
Hi all, ive got 2 internet connections set up via the nano howto (which
are working great) and we are running NAT.
Was looking in to qos mainly to stop large http downloads/ftp downloads
from hogging the line so that browsing for other users doesnt slow to a
crawl, but if the line is free and no one is doing anything then for it
to use the available bandwith. The wondershaper sounded exactly what
2006 Aug 21
1
QoS on a bridge+NAT
I have a setup where I have three NIC in a Debian box. I have eth1
conected to internet and eth0 NAT''ed to 192.168.1.1. eth1 and eth2 are
bridged together, given ip 192.168.122.2.
What I want to achieve is to perform traffic shaping on the bridge as
well as prioritizing the traffic from eth0 very low. (This is from
trental flat ...) However it seems that I am unable to perform thhe
2007 Jun 24
5
Traffic shaping on multiple interfaces
I''m trying to setup traffic shaping on my linux gateway/router.
The system has 3 interfaces:
eth0 - My LAN - with IP address 192.168.0.254
eth1 - The ethernet connection to which my ADSL modem is connected. This
has a 10.25.x.x IP, more on this later. The ADSL link has an upstream of
~1.2mbit.
ppp0 - The PPP connection which is my WAN connection, with a real world IP.
The system acts
2005 Feb 16
10
VOIP Challenges...
Greetings -
I''m new to QoS, so please be gentle (and yes, I''ve RTFM, though I don''t
understand every bit of it)
Here''s the thing; I''ve tried several scripts--simple and complex--for
classifying my Vonage traffic into a high-priority queue, but no matter what
I do it doesn''t seem to work. Right now I''m using the HTB script
2006 Jun 16
3
tc ingress policing with multiple subnets
Hello everybody on the list,
I have the following situation where I want to police the speed of incoming
packets from specific subnets to 1024kbps and then police all the rest to
256kbps, which is the speed my ISP grants for the rest of the internet.
So, eth1 is the one connected to the cable modem and then to the internet.
I do:
tc qdisc add dev eth1 ingress handle ffff:
then:
tc filter
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
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
2004 Jun 08
11
how flexible is ingress traffic policing to bandwidth limit?
[I sent this earlier but I guess the list is subscriber-only?]
I just set up wondershaper, it has a simple filter on the downstream
direction to limit the bandwidth usage:
tc qdisc add dev $DEV handle ffff: ingress
tc filter add dev $DEV parent ffff: protocol ip prio 50 u32 match ip src \
0.0.0.0/0 police rate ${DOWNLINK}kbit burst 10k drop flowid :1
This is effective but is there any way to
2006 Nov 20
2
Fwd: Traffic Shaping on a Transparent Bridge not working!
I''m trying to shape traffic on a Devil-Linux box.
This note was originally sent to their maillist,
because the LARTC list appears to have been down
for the past few days. My mailbox was just flooded
with a half dozen or so confirmation requests in response
to my repeated attempts to subscribe to this list.
---------- Forwarded message ----------
From: drew einhorn
2004 May 06
2
imap problems
Hi,
I''m really new to traffic shaping and try to implement the wshaper.htb
script.
I have a linux box that serves as vdr, mldonkey, samba, apache and
mailserver (imap), connected to my LAN with 100mbit. I''m connected to
the inet via adsl with a hardware router/firewall, got 384k downlink 64k
uplink. When I have mldonkey running, imap (via Outlook) gets *very*
slow (mails with