similar to: HTB question (problem with tc filter + NAT)

Displaying 20 results from an estimated 10000 matches similar to: "HTB question (problem with tc filter + NAT)"

2005 Mar 12
0
What are the proper values for rate/ceil in tc ?
Hello! I am using shapping whith htb. My question is what are the propper values I can use in rate/ceil. I use htb.init for quick building of my classes/rules and have 2 groups of clients with 2 different bandwidth assignemet : A. 16--->48kbps B. 16---->128Kbps It seems to work everything OK, but can I use lower values for rate like 8Kbps ? What about using 32-->96Kbps? I let htb to
2005 Jan 14
0
problem with mark, need help
Hello. I have eth1 for WAN(0.0.0.0) and eth0 for LAN (192.168.10.0/24), need to setup that local user get access to $LOCAL_IP network and ip 192.168.10.2, 192.168.10.3 (will be more in future) to internet, but bandwidth to $LOCAL_IP is 128kbps and for internet is 8kbps. i wrote rc.firewall #!/bin/bash #env IPTABLES="/usr/sbin/iptables" LOCAL_IP="62.64.80.0/21 62.221.38.0/24
2007 Feb 01
0
tc filter Questions
I''m attempting to set up a hierarchy of tc qdiscs with filters, but the filters don''t seem to be working correctly.  I''m running iptables 1.3.5 with iproute 2.6.16.20060323 on a Gentoo 2.6.18 kernel.  The system takes all my tc setup, but does not filter packets as I am expecting it to based on my ruleset. My tc qdiscs and classes are added correctly and report as
2005 Sep 27
2
QoS-iptables-iproute-tc (doesn''t work together:S)
Hello i''m having some issues trying to match packets using iptables mark, iproute filter and tc filter.- i mean, when i do iptables -t mangle -A INPUT -p tcp --dport 80 -j MARK --set-mark 20 iptables -t mangle -A PREROUTING -p tcp --dport 25 -j MARK --set-mark 10 iptables -t mangle -A FORWARD -p tcp -i eth0 -o eth1 --dport 25 -j MARK --set-mark 10 $TC qdisc del dev $INET_IFACE root $TC
2005 Dec 22
2
strange tc filter behavior
Hi All I am fighting this for 3 days and could not find any reason it is not working the way I want to (or I the way think it should). Internet output interface = eth2 (htb qdisc) Internet input interface = imq0 (eth2 attached - htb qdisc) main class = imq0 1:1 sub1 = 1:ffff (default) sub2 = 1:10 (src ports 1433/tcp or 1434/tcp or 81/tcp or 82/tcp) sub3 = 1:11 (src and dst port 25/tcp )
2006 Aug 15
5
howto reduce the ping?
Hi, with the attached config my gaming ping is still +20ms, even if the line isn''t saturated..can anybody give me a hint how to get a better response time? my line: 1024/128kbit outbound: one htb qdisc for gaming (7kbps) prio 0 ceil 14kbps<- should get more traffic when needed. Htb again for irc and default. inbound: css, irc, p2p, default <- same shema as before, give css
2006 Jun 27
0
tc filter problems, please help...
Hi Guys, I have a couple of problems that are driving me nuts. This is the script I am using to setup restirctions and bw limitations: #Adding root class. tc qdisc add dev eth0 root handle 1: htb default 10 &>/dev/null tc class add dev eth0 parent 1: classid 1:1 htb rate 100Mbit ceil 100Mbit burst 2k quantum 1536 tc qdisc add dev eth1 root handle 1: htb default 10 &>/dev/null tc
2005 Oct 14
0
tc filter not filtering -or- what am I going wrong?
Dear All I am trying a very simple set up: (a bit long message follows) #Flush previous definitions $TC qdisc del dev $VVNET root >&/dev/null $TC qdisc del dev $INTERNET root >&/dev/null $IPT -t mangle -D PREROUTING -i $INTERNET -d 200.231.56.0/24 -j IMQ --todev 0 # Mothers off all disciplines $TC qdisc add dev $VVNET root handle 1: htb default FFFF r2q 1 $TC qdisc add dev
2006 Mar 01
0
new to TC need help
Hello, I am new to TC and need some help with something that I need to do I have the following setup which works just fine but with a little problem. I need the user 172.16.1.100 in the case that it is using both classes never to exceed 256kbit now it goes up to 512kbit because both classes offer 256 each. How can I finally restrict this user to only 256kbit no matter what.
2005 Nov 02
0
TC not rate limiting for me
Hi, I''ve have my IP and TC scripts working OK but my rate limiting does not seem to be being appiled. My available download speed is around 150kbps. I''d like to limit this box and the machines it forwards for to 10kbps each, a total of 20kbps. Thus leaving 130kbps unused. The classes I''ve created are simple and the stats show they are moving bytes OK, however; the
2005 Apr 26
8
HTB Weird Shaping Question(Bug?). Please Help!
Hi all, I have a script that allocates an ADSL(1500K/256K) bandwidth to three users. My idea is to allow each user having a guarentee rate, while each one is allowed to burst to the max rate while no one is using the bandwidth. I use imq0 for uplink (for some mobility reason) and imq1 for downlink. Everything works smoothly except for VoIP traffic. There are three VoIP phones attached to a
2005 Jan 31
1
tc, VLAN, ebtables issue
Hi all, I am testing one QOS system, I want to control bandwidth by VLAN id. Here is my test network: Internet Gateway | | QOS control box ( Bridge box, Redhat 9, 2.4.28 kernel with ebtables-brnf-8_vs_2.4.28 patch) | | VLAN Switch | | PC PC In my QOS control box, it is a bridge box, I used Redhat 9, 2.4.28 kernel with ebtables-brnf-8_vs_2.4.28
2005 Dec 14
1
mgen & tc
Hello, I have the following proplem. My DiffServ configuration is working fine when I do ping, but when I use mgen the packets are not detected at the core router. Here is my core router configuration: #!/bin/bash tc qdisc add dev eth1 handle 1:0 root dsmark indices 64 set_tc_index tc filter add dev eth1 parent 1:0 protocol ip prio 1 tcindex mask 0xfc shift 2 tc qdisc add dev eth1 parent
2004 Nov 22
0
Testing if tc works as configured and shaping rtp traffic
Hi, I have implemented qos at my gateway, mostly for speeding up dns and [video,voice] chat traffic and to slow down p2p traffic. It seems every thing is working properly, as by browsing speed has been improved. But I want to test it by sending various traffic and to see through which qdisc the traffic flows, so that i can be certain that it is working the way I want it to work. The rules
2005 Nov 25
1
Difference between snmp traffic rate, and rate from tc
Hello, I use rrdtool to graph the traffic in the different classes on an interface, eth1. Basically, I use the output from tc -s qdisc ls dev eth1 my tc script (which is only for testing the graphing) looks like this: /sbin/tc qdisc add dev eth1 root handle 1: htb default 20 r2q 1 /sbin/tc class add dev eth1 parent 1: classid 1:1 htb rate 200kbit burst 15k /sbin/tc class add dev eth1 parent
2007 Jun 14
0
tc: Trying to understand what I have done
Hi list, Up front: A bit sorry this post turned out a wee bit long I work as a system administrator for the Atlas College in the Netherlands. We are what is called a merger school consisting of 5 separate (more or less) locations and one central administration. The network is a class A network (10.0.0.0/8) in which all locations have there own subnet (i.e. 10.9.0.0/16 for the central
2007 Jul 08
0
Troubles with tc/iptables - per TCP session tc
Hello, I have read most of the relevant emails already posted to the LARTC mailingilist and I have not found a solution to my problem. What I am trying to do is: limit the HTTP output traffic to 30Mbps and also to limit each HTTP connection at 512Kbps, if the client downloads more than 1MB. I have managed to limit the total traffic but not the traffic of each HTTP connection. Here it is my
2003 Jun 12
11
htb problem
Hi, I have some interesting problem with htb , I set up root class and sub-classess: $TC qdisc add dev eth0 root handle 1: htb $TC class add dev eth0 parent 1: classid 1:1 htb rate 1990kbit ceil 2000kbit $TC class add dev eth0 parent 1:1 classid 1:10 htb rate 190kbit ceil 200kbit $TC class add dev eth0 parent 1:1 classid 1:11 htb rate 1400kbit ceil 1600kbit $TC class add dev eth0 parent 1:1
2005 Dec 09
0
error in TC FILTER documentation ???
I''ve done some tests with TC FILTER and his PRIO and think that is an error or OMISION on TC FILTER DOCUMENTATION from: http://lartc.org/howto/lartc.qdisc.filters.html#AEN1100 Let''s say we have a PRIO qdisc called ''10:'' which contains three classes, and we want to assign all traffic from and to port 22 to the highest priority band, the filters would be:
2006 Sep 10
1
HTB and tc filter
Help me  ... I try use the tc filter, but seems he doesn''t work, I already reconfigured my kernel ( 2.4.32 ) with all options related a QOS enabled ( like modules ) and nothing happens. I get the tc tool from HTB source package, well  this is my set : eth0 is my internal NIC. tc qdisc add dev eth0 root handle 1: htb default 12 tc class add dev eth0 parent 1: classid 1:1 htb rate