Displaying 20 results from an estimated 3000 matches similar to: "tc and HTB"
2006 Aug 13
1
ingress and flowid
Hi there,
I am trying to understand our router / firewall, that was configured
by another person. It is a Debian GNU/Linux with several
configurations with tc and iptables.
I have a question about flowid in ingress qdisc. As fas as I know,
this qdisc is a dummy one, and flowid is just used with :1 because the
traffic have to be redirected to something.
However, in our router, there are some
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
2003 Dec 02
2
forwarding in tcng
Hi!
I am learning tcng without having experiance of tc and I am trying to
build something that shall schedule traffic dependent on the value in the
IPv4 packets ip_ttl field.
I have read the tcng reference manual and cannot find information about
forwarding. Is it possible to farward packets from ingress to egress
without sending them upwards in layers?
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
2004 Nov 16
2
tc rules for Internet Radio
I am currently using the ultimate-tc script from
http://lartc.org/howto/lartc.cookbook.ultimate-tc.html
and I want to make sure that internet radio packets (mp3 streaming audio)
will always get through no matter what. I have added some iptables commands
like this:
iptables -A OUTPUT -t mangle -p tcp --dport 8000 -j TOS --set-tos
Minimize-Delay
iptables -A OUTPUT -t mangle -p tcp --sport 8000 -j
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 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 Nov 24
8
tc and iptables trouble
Hi all
I have a trouble configuring the qdiscs, when I indicate the "perturb 10" option to tc, i gives me this error:
tc qdisc add dev eth0 parent 5:1323 handle 1323 sfq perturb 10
RTNETLINK answers: Invalid argument
if I don''t put the "perturb 10" option, it works.
another question is about iptables, when I indicate the " --set-mark" option:
iptables -t
2004 Jan 19
5
a couple of questions regarding htb
Dear list,
I want to rate-limit a couple of customers in both up and down
directions.
They get a different speed for traffic staying on our network than for
traffic towards/from the internet,
so that''s a master class and 2 child classes per customer per interface.
I made a test setup with cbq which worked, but wasn''t too reliable I
measured a tolerance of about 30%.
I read
2003 Jun 06
4
tc show error for ingress
Hi,
I am trying to do both ingress and egress bandwidth management on a bridge.
eth0 is the WAN interface. IPTraf shows that the following script is running
successfully and it limits bandwidth both ways to 256 KB
However when I want to see the statistics using tc - it only shows me stats
for htb class
and not for ingress class. The tc output is as follows:
tc -s -d class show dev eth0
class
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
2004 Apr 24
9
newbie: TC[NG] with (256kbit/s down and 768kbit/s up) on a router
Hi all,
this is really not really very easy to understand, or, to get in.
Well, I''ve the following configuration on the router box:
LAN
- interface: eth0
- network: 192.168.2.5/24
- bandwidth: 100Mbit/s
INET interface
- interface: ppp0
- network: .dynamic.ip./0
- bandwidth: DOWN=1536kbit/s and UP=256kbit/s
the LAN interface is to serve 6 other clients with internet and
2007 Jun 26
2
classification of incoming traffic with tc
Hi all,
Another requirement we have is that traffic entering the DS domain be
classified then subsequently assigned a (different?) DSCP based upon its
classification.
For illustrative purposes only let''s say (for traffic entering the DS domain
on dev eth0):
- WWW traffic would be marked BE
- traffic destined for 10.10.10.10 would be marked AF11
- VoIP traffic from 20.20.20.20 would
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.)
2010 Aug 20
3
Users mapping in security tab
Hi there,
I have a Samba installation acting as a Domain Member with a disk share (the
partiton is mounted with acl and user_xattr options). I am not using
winbind, because I want the domain users to be mapped to Unix users.
Everything works right, excepting the users in the Windows Explorer security
tab. I will try to explain the situation with an example.
I have username map, that maps
2005 Dec 27
5
TC in Wireless Environment
Hi,
Has anyone used TC in a wireless environment, which is dynamic. I understand
that the parameters for queuing are static and cannot be changed unless the
queuing discipline is deleted and reloaded with different parameters.
If anyone can share any experience, that would be helpful.
Thanx.
Azim.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
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
2006 Jan 18
3
Download and upload independency
Hello everyone:
As it is known, when you limit uplink bandwidth it usually gets downlink
bandwidth to a lower value.
I just want to know what is the optimal configuration for eth1 and imq0
according to some variables of tc(HTB), txqueuelen, mtu, etc. to make
these packet flows less independent on an ethernet based network.
Thank you in advance.
-Diego
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,
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