similar to: Too stupid to figure out shaping

Displaying 20 results from an estimated 2000 matches similar to: "Too stupid to figure out shaping"

2004 Jun 18
2
shaping a ciber cafe
Hi, I''m looking for a script in order to do traffic control on a ciber cafe LAN, with linux router. Ciber has about 40 hosts, and I haven''t much bandwidth (512kbit). Also, I''ve a squid cache and it works very good! I''ve found Jim QoS script, and FairNat. Which is more suitable for me ? Jim QoS ? FairNat ? other ? If I put FairNat, I would need ZPH patch
2004 May 19
14
Can anyone fix this?
Hi, I appologise for the bad ettiquite of this, but I have tried looking for some HTB examples that would help me, and am having trouble understanding how the tc filters should work, but I can''t figure out why this isn''t working. I''ve written this script, based upon the ultimate traffic shaper at LARTC, to try and shape for me and my 3 housemates. The idea being to
2004 Apr 08
1
traffic shaping on single ip...
Hi all. Im using the following CQB shaper to shape IP addresses: DEV=eth1 (internal eth) tc qdisc del dev $DEV root tc qdisc add dev $DEV root handle 1: cbq avpkt 1000 bandwidth 100mbit tc class add dev $DEV parent 1: classid 1:1 cbq rate 256kbit allot 1500 prio 5 bounded isolated tc class add dev $DEV parent 1: classid 1:2 cbq rate 512kbit allot 1500 prio 5 bounded isolated tc filter add dev
2009 Oct 30
4
traffic shaping with two internal interfaces
Hi, my shorewall is version 4.0.15 on Debian Lenny. I have 3 following interfaces: eth0 net (4mbit/512kbit) eth1 loc (100mbit) eth2 loc (100mbit) I want to shape traffic from net on two lan interfaces like: - default is 2000mbit for each local interface - if is no traffic on eth1 is 4mbit for eth2 (and vice versa) My tcdevices eth0 4000mbit 512kbit eth1 -
2005 Mar 25
1
Routing Load balancing and traffic shaping through 2 ISP links
Hello, I started off by reading the Linux Advanced Routing & Traffic Control Howto, then searched a bit around the web. I see many documents discussing these matters with kernel 2.2.x but they are quite old, something around 1998-2000. I have some questions but I might as well start by exposing my setup to clarify things. I have a couple of internet links: a leased line of 256kbit/s and an
2005 Nov 02
4
must cut the line down too much for shaping to work
Hi, my situation: One internet connection 256 kbps uplink/downlink, pretty stable speed, a Linux router with three NICs (one to ISP, one to DMZ and one with VLANs enabled to our LAN). Each of three VLANs (1, 10, 11) is a region for me; id 1 gets guaranteed 128 kbps, id 10 and 11 both get guaranteed 64 kbps (both uplink and downlink). Simple configuration. After I read relevant parts of lartc
2005 Dec 14
5
oom-killer.
Hi all, Just watching for my first time the 'oom-killer' call in a CentOS 4.2 workstation. System was running normally but with high load of nice process, iow, rosetta and seti, others appart, nautilus, etc... i realized that after a night of standby running normally, the next moorning after few manual operations from X-session in local console, it started a massive swapping, this time
2006 Jul 20
1
QoS doubt about network machine
Hello all, I am with a doubt about QoS solution... I have a 4 Mbit backbone coming from the telco I use... This is the link I serve to my clients, so I make this classes: $TC qdisc add dev $DL root handle 1: htb default 60 CLASS="/sbin/tc class add dev $DL parent" $CLASS 1: classid 1:1 htb rate 4096Kbit $CLASS 1:1 classid 1:10 htb rate 256Kbit ceil 3072Kbit burst 15k $CLASS 1:1
2002 May 27
1
security = none?
hey guys. I am running a samba server on my machine at home, which has two other machines on it - both running windows, one's mine and one's my flatmates. Since I am running samba on a trusted network (and I do have the hosts allow rule restricting access so that when I connect to the net people can't just start using my samba server), I am wanting to essentially remove the security
2004 Feb 09
1
Dreaded RTNETLINK answers: Invalid argument
Hi All, We are running a 2.4.20 kernel, with the htb modules loaded, and are receiving the RTNETLINK error when trying to filter on handles. We also have the latest tc downloaded from htb site, and verified it is the executable being executed. We have tracked it to the {handle 1 fw} portion. Hardware is 4501 Soekris and WISP-Dist latest, patched with latest tc. Any ideas on what would cause
2006 Mar 30
3
Difficulty in configuring QOS
Hi, I''m trying to configure QOS , but I''m don''t have success. My files: #/etc/shorewall/tcdevices #INTERFACE IN-BANDWITH OUT-BANDWIDTH eth0 256kbit 256kbit eth1 256kbit 256kbit eth2 256kbit 256kbit #/etc/shorewall/tcclasses #INTERFACE MARK RATE CEIL PRIORITY OPTIONS eth1
2005 Apr 28
1
Packets Going to default class
Hi I have tested with FC3 but iam not able get any good results on that. in the list some one recomend me that > 3.17 HTB should work I saw latest FC4 test2 has the HTB 3.17 with iptables 1.3.0 i have install in my P4 box, and trying to test when iam uploading its working perfect, but when iam downloading its going to default class can some one experinced the same problem below is the my
2005 Oct 23
1
Script for metropolitan
The script is corect ? #!/bin/bash /sbin/iptables -F -t mangle /sbin/iptables -X /sbin/iptables -t mangle -N mark_horiz_src /sbin/iptables -t mangle -N mark_horiz_dst /sbin/iptables -t mangle -A PREROUTING -i eth0 -j mark_horiz_src /sbin/iptables -t mangle -A PREROUTING -i eth1 -j mark_horiz_dst /sbin/iptables -t mangle -A OUTPUT -o eth0 -j mark_horiz_dst /usr/local/bin/mipclasses -s
2006 Feb 05
1
htb prio ...
Hey, I have such a script: tc qdisc add dev $DEV root handle 1:0 htb default 21 r2q 2 tc class add dev $DEV parent 1:0 classid 1:11 htb rate 100mbit tc class add dev $DEV parent 1:11 classid 1:21 htb rate 512kbit ceil 512kbit tc class add dev $DEV parent 1:11 classid 1:23 htb rate 1024kbit ceil 1024kbit tc class add dev $DEV parent 1:11 classid 1:25 htb rate 3072kbit
2005 May 04
4
OpenSwan traffic shaping with HTB & sfq
Hi All, I''ve got an interoffice IPSEC VPN in place that I''m trying to give priority to terminal service (tcp 3389) traffic. I''ve created rules at each end, but have hit a bit of a dillemma. As the data is encrypted I must also give highest priority to protocol 50 otherwise the priority is lost as the packet gets encrypted. When I do this however, I can''t
2005 May 19
7
equal bandwidth for all IPs
Hi, How can I set equal bandwidth of 512kbit downlink and 256kbit uplink for every single IP address of 254 IP addresses I have in my LAN? Regards, ro0ot
2005 Dec 04
3
Shaping per machine
I''m trying to shape each machine on an interface to 256k each, but I''m getting stuck and only able to shape an entire interface to 256k. What should I be doing differently here? tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 1: htb default 10 tc class add dev eth0 parent 1: classid 1:1 htb rate 100MBit ceil 100MBit tc qdisc add dev eth0 parent 1:10 handle 110:
2004 Jul 23
2
marking and shaping outbound passive ftp traffic
Will the following rules work to mark and shape OUTBOUND ftp speed (passive ftp ports 50000-60000) on my linux server? I want to be able to run these commands on the actual computer that is running the ftp server. iptables -t mangle -N MYSHAPER-OUT iptables -t mangle -I POSTROUTING -o eth0 -j MYSHAPER-OUT iptables -t mangle -A MYSHAPER-OUT -p tcp --dport 50000:60000 -j MARK --set-mark 1 tc
2006 Jan 12
1
Qos and bandwidth control
hi everybody. im trying to set up an QoS config, using layer7 (http://l7-filter.sourceforge.net/) for protocol detection. im suposing 3 clients with this configuration: 3 clients: 1.2.3.1 , 1.2.3.2 , 1.2.3.3 1.2.3.1 has 256kbit bandwidth "guaranteed" clients 1.2.3.2 and 1.2.3.3 has 256kbit bandwith so im marking every packet using layer7 iptables module, classifying them in three
2006 Mar 29
1
How to define class type hierarchy of speeds?
Hi I''m very very new to tc iproute etc and have read the LARTC howto. What I want to do is create some "master" classes of bandwidth limit and below that per ip address which "inherits" from this master class. Example: one queue for 128Kbps other queue for 256Kbps What I want now is that for example in "class" 128Kbps the ip 10.0.0.5, 10.0.0.8 etc. goes