search for: imq1

Displaying 20 results from an estimated 32 matches for "imq1".

Did you mean: imq
2004 Nov 19
2
HTB&IMQ
...is wrong(it is about NAT) i will post here my "script" maybe someone could tell me what is wrong my kernel(2.6.9) is patch with imq(linuximq.net) and my iptables(1.2.11) also #flush tc qdisc del dev eth0 root tc qdisc del dev eth1 root tc qdisc del dev imq0 root tc qdisc del dev imq1 root ifconfig imq0 down ifconfig imq1 down iptables -t mangle -F #UPLOAD ifconfig imq0 up tc qdisc del dev imq0 root tc qdisc add dev imq0 root handle 1 htb default 99 tc class add dev imq0 parent 1: classid 1:10 htb rate 1536kbit # 8k max 15k tc class add dev imq0 parent 1:10 classi...
2006 Feb 14
1
Guarantee ICMP respond time ?
...l 128kbit prio 7 tc qdisc add dev imq0 parent 2:333 handle 333: sfq perturb 10 echo "Done" #----------------------------------------------------------------------------- #----------------------------------------------------------------------------- echo "Loading Traffic Shaper imq1 Upload" tc qdisc del dev imq1 root tc qdisc add dev imq1 root handle 2: htb default 333 r2q 1 tc class add dev imq1 parent 2: classid 2:2 htb rate 192kbit #ICMP tc class add dev imq1 parent 2:2 classid 2:30 htb rate 32kbit prio 0 tc filter add dev imq1 parent 2:0 protocol ip handle 5 fw...
2007 May 02
7
tc u32 match !port
How can i redirect all traffic that not come from port 80 to a flow ? i was thing about some like tc filter add dev imq1 parent 1: protocol ip prio 7 u32 match ip sport !80 ...... But this not work. Another doubt, if i have two rules that intersects , for example , one filter with u32 match ip src 10.10.10.10 flowid 1:10 and other with u32 match sport 80 0xffff flowid 1:11 , which one will work in case of a packet...
2005 May 18
4
HTB + IMQ + IPtables marking.
...an eth1 ? eth1 shaped just exactly the same as rate i defined in HTB. I just have 1024Kbps from my ISP and i defined the total parent rate for 768Kbps. But what happened is the traffic monitored at eth0 almost all the time eating all the bandwidth we have. # DOWNSTREAM 768Kbps /sbin/ip link set imq1 up /sbin/tc qdisc add dev imq1 root handle 2: htb default 0 /sbin/tc class add dev imq1 parent 2: classid 2:1 htb rate 768Kbit /sbin/tc class add dev imq1 parent 2:1 classid 2:10 htb rate 128kbit ceil 768kbit /sbin/tc class add dev imq1 parent 2:1 classid 2:20 htb rate 128kbit ceil 768kbit /sbin/...
2005 Oct 01
2
imq + htb
.../bin iptables -t mangle -F 2>/dev/null iptables -t mangle -X 2>/dev/null iptables -t mangle -N markov iptables -t mangle -I PREROUTING -j markov iptables -t mangle -N markov2 iptables -t mangle -I POSTROUTING -j markov2 tc qdisc del dev imq0 root >/dev/null 2>&1 tc qdisc del dev imq1 root >/dev/null 2>&1 #bring up the imq0 ip link set dev imq0 up #marking of incoming from eth1,eth2,eth3 iptables -t mangle -A markov -i eth1 -j MARK --set-mark 1 iptables -t mangle -A markov -i eth2 -j MARK --set-mark 2 iptables -t mangle -A markov -i eth3 -j MARK --set-mark 3 #forwa...
2006 Mar 28
1
Please help - totally confused (NAT + FWMARK + IMQ + HTB)
...clean everything iptables -X iptables -X -t nat iptables -X -t mangle iptables -F iptables -F -t nat iptables -F -t mangle # NAT setup # user 1 nat iptables -t nat -A POSTROUTING -s $user1ip -j SNAT --to-source $publicip1 (repeat for all users) # setup IMQ ip link set imq0 up ip link set imq1 up # flush mangle iptables -t mangle -F # MARK user1''s traffic - mark normal and priority traffic # mark download(?)(postrouting?) iptables -t mangle -A POSTROUTING -d $user1ip -j MARK --set-mark 0x1890 iptables -t mangle -A POSTROUTING -d $user1ip (and other options for priority dow...
2004 Aug 31
4
WRR problem and other things
Hello I have problem with wrr and more than 1300 classes when i try to add qdisc like: tc qdisc add dev imq1 parent 1:21 handle 1000: wrr dest ip 1512 0 then i have a message like: RTNETLINK answers: Cannot allocate memory And some other problem: When I do more than 2048 filters I have message like: Classes: tc class add dev imq1 parent 1:1 classid 1:9 htb rate 1024kbit ceil 2048kbit .. tc class add d...
2007 Mar 22
8
Shape own router
...rote: > Well , thanks to imq all my client machines are now shaped and > everything is great ... > But now i have a doubt , is there a way to shape the traffic that goes > to the route [doing a wget from the router for example ]? > > > I have a PREROUTING IMQ0 and a POSTROUTING IMQ1 , everything is > working like i`d expect but i`d like to be able to shape download from > the router in the same htb qdisc provide by IMQ1. is there a way ? > > -- > []''s > Salatiel > > "O maior prazer do inteligente é bancar o idiota > diante de um id...
2005 Apr 19
5
Strange pings.
...o create a filter that will match all packets? ##### script iptables -t mangle -F PREROUTING iptables -t mangle -F POSTROUTING iptables -t mangle -A PREROUTING -i ! lo -j IMQ --todev 0 iptables -t mangle -A POSTROUTING -o ! lo -j IMQ --todev 1 tc qdisc del root dev imq0 tc qdisc del root dev imq1 tc qdisc add dev imq0 root handle 1 htb default 2 tc qdisc add dev imq1 root handle 1 htb default 2 tc class add dev imq0 parent 1:0 classid 1:1 htb rate 12mbit burst 2k prio 1 quantum 2048 tc class add dev imq1 parent 1:0 classid 1:1 htb rate 12mbit burst 2k prio 1 quantum 2048 tc class add dev i...
2005 Jul 05
1
[HTB] about SCHED_JSCALE value
at 1 Jul 2005, I request help about HTB setting because my HTB setting did not work. After days, I found the source code bug lead to problem. My linux kernel is v2.4.17 port for mips by boardcom. boardcom set HZ to 200 in linux/include/asm-mips/param.h. In linux/include/net/pkt_sched.h, SCHED_JSCALE is set to 0 according to HZ=200. When I set SCHED_JSCALE to 13, the problem is solved. Shun
2005 Jul 27
8
IMQ
ive got such network: |--------| |-------------| | WORLD |---|ROUTER/server| ------ NATED LAN |--------| |-------------| I want to use imq on ROUTER, what behaviour to choose ? AA, BA, AB, BB ?? --
2005 Jul 08
5
HTB Rate and Prio
Hi, I wanted to implement some QOS on my Linux Box with HTB, but after some time spend on the configuration and tests, I still don''t manage to have some correct results. Here are the details : -ROOT 2000 kbits -HIGHPRIO SUBCLASS 50 kbits prio 0 -SUBCLASS1 750 kbits prio 1 -SERVICE1 250 kbits prio 1
2005 Jun 08
14
HTB is being hang my computer :/
What''s wrong... I have Celeron 633MHz nd 768Mb RAM. When I''m running my script everything is OK, but when I''m connecting Internet and LAN link computer is hanging. But when i dissconnect this everything is OK. I have 500 users, 1500 classes and 3000 filters. Is it normal? What should I do?
2005 May 24
6
Problem with marking packets...
...a 192.168.10.1 dev eth0 table neo ip rule add fwmark 0x03 table neo ip route add 80.53.133.24/29 dev $DEV_DSL table dsl ip rule add fwmark 0x04 table dsl And I''m marking traffic as I want. IMQ is working in AB mode. I have src IP before nat, and dst after nat. Upload traffic is going to IMQ1 here: iptables -t mangle -A POSTROUTING -j IMQ --todev 1 Some ideas?
2007 Feb 27
2
Creating a contended section of bandwidth with HTB and IMQ
Hi All, I''m trying to create a contended section of bandwidth using IMQ. I have the imq0 device up and running, with traffic passing through it. Firstly, I need to throttle the entire device imq0 to 2mbit/s. I would then like to add throttle rules for individual IP addresses, allowing them to pass up to 512kbit/s each, as long as imq0 has not reached its 2mbit/s. The configuration
2004 Aug 24
1
IMQ on 2.6.x + iptraf = problem
2005 Jan 24
3
Htb, imq and sfq traffic shaping
...tell me what have I done wrong ? Thank you for replies. Ixen -------------- My configuration: Celeron 450MHz, 256MB RAM Kernel 2.6.9 patched for imq support (imq devices compiled into kernel) iptables 1.2.11 (also patched for imq) Script: #!/bin/sh DOWNIF=''imq0'' UPIF=''imq1'' rc_done=" done" rc_failed=" failed" TC=''/sbin/tc'' IPTABLES=''/usr/sbin/iptables'' IFCONFIG=''/sbin/ifconfig'' MODPROBE=''/sbin/modprobe'' return=$rc_done tc_reset () { # remove old devices if an...
2004 Apr 19
0
[Fwd: HTB in 3 levels for shaping on both VLAN and QOS]
I have 4 VLANs which i would like to give different priority on our internet connection. I would also like to shape traffic, according to its FWmark, in EACH VLAN. I have created this setup, with a HTB classes in a HTB class in a HTB class. (3 levels). ROOT IMQ1 QDISC 1:0 | HTB 1:1 (HTB AT LINE UPPER LIMIT) | /----------------------------------\ | | | | HTB 1:11 HTB 1:12 HTB 1:13 HTB 1:14 (HTB CLASS FOR EACH VLAN) | |...
2006 May 11
9
HFSC and prioritization
I''m using HFSC to limit bandwidth for our wireless customers. However, I''d also like the bandwidth prioritized based on packet type. This is what I''m trying right now, and I''d just like some input from anyone out there knowledgeable in this on whether it does what I want it to do: Eth1 -> HFSC ........|-> HFSC (User1) (Min 512 Kb, Max 1024 Kb, Burst 1536
2002 May 21
5
ingress and egress
ingress can be used to control the incoming packet, such as: tc qdisc add dev eth0 handle ffff: ingress tc filter add dev eth0 parent ffff: protocol ip prio 5 u32 match ip src 172.16.1.11 police rate 10kbit burst 10k drop flowid :1 tc filter add dev eth0 parent ffff: protocol ip prio 5 u32 match ip src 172.16.1.22 police rate 10kbit burst 10k drop flowid :2 first ,I do not sure these method can