similar to: Shaping traffic to local users ?

Displaying 20 results from an estimated 5000 matches similar to: "Shaping traffic to local users ?"

2006 Jan 10
2
Shaping traffic bound for the NAT''ed networks whithout imq
I''m trying to set up a shaper that can shape the inbound traffic to around 40 subnets, that hang on 3 different interfaces of the router. As Linux can''t do ingress shaping I''m left with having to set up 3 seperate shapers, one for each internal interface. This is not completely optimal as I''ll have to limit each of the 3 interfaces to 1/3 of the total
2005 Jan 05
2
Shaping the sum of incoming and outgoing traffic
Hello, does anyone have a working solution for the shaping both incoming and outgoing traffic in such way, that for a given client the *sum* of incoming and outgoing traffic is somehow defined? My ISP does the same thing, it gives me just a line of a defined rate, no matter the traffic direction (i.e. here is your line, the clock speed is 1024kbps, do what you want). I''m a litte bit
2004 Sep 08
3
Help! VLAN tagged traffic not shaping :-(
Hello, I have a linux box sitting between (and bridging/firewalling) 2 LAN segments. I''m using Bridge/Netfilter/IMQ/tc(htb) to control (shape) mail/web traffic that traverses the 2 networks. The networks also have some VLAN tagged traffic flying around. My linux box behaves OK with VLAN traffic except that the shaping doesn''t seem to work. Normal http shapes alright but as soon
2004 Oct 13
1
Traffic shaping and tun devices
Hi folks, I have three network cards on my Slackware box and eth0 and eth1 are for two Internet connections. They have imq0 and imq1. All traffic shaping works fine. Internal eth2 does no traffic shaping. But recently I have put two OpenVPN tunnels (tun devices) and both work via eth0. So my question is - how to shape the traffic on these tun0 and tun1 devices? Thanks Remus
2004 Jan 23
3
Traffic shaping and IP aliases
Hi folks, I have the traffic shaping (HTB and IMQ) on my eth0 (of course no problems with it). And now I would like add some extra IPs on it ( ifconfig eth0:0 xxx.xxx.xxx.xxx and ifconfig eth0:1 xxx.xxx.xxx.xxx). So do I have to set up a new tc rools ( tc qdisc add dev eth0:0 root handle 1: htb default 20 r2q 5 ...) for the eth0:0 and eth0:1 or can still be only tc rules for the eth0? Thanks
2006 Sep 19
5
how to setup massive traffic shaping? (2 class B nets)
Hello I have 2 class-B networks (172.22.0.0/16 and 172.23.0.0/16, over 130k of ip''s) and need to setup traffic tbf shapers with 64kb/s for each ip from 172.22.0.0/16 and 128kb/s for each ip from 172.23.0.0/16 just read lartc and don''t understand how to use u32 for decreasing number of rules and hashing
2005 Jan 24
3
Htb, imq and sfq traffic shaping
Hello, I wrote a simple traffic shaping script (below) that should have allowed me to shape my internet traffic a bit (ppp0 - adsl 128kbit/64kbit; local interface eth0). The script works only partially - the speed is being limited but too much. Without running this script my download rate is about 10kBytes (with second computer also downloading at about 6kBytes). After running it my download speed
2007 Mar 28
1
traffic shaping with NAT: IFB as IMQ replacement?
Hello, Sorry for the many Ccs, but I hope to reach all parties involved. I want to do traffic shaping with NAT and I wanted to do it with IFB instead of IMQ [1]. I tried a lot of things but now I am stuck (and maybe confused). The setup: eth0 eth1 WAN/(Internet) <-> Linux Router <-> LAN Linux router: - does NAT for the LANs - runs local processes
2001 Nov 18
7
Shaping incoming traffic?
I would like to differentiate incoming traffic streams to guarantee minimum bandwidth to some services. However, as per the Adv-Routing-HOWTO it appears that only outgoing traffic can be shaped. Is this correct or is there a way of shaping incoming traffic? The problem could possibly be overcome if there is a way of routing traffic through a virtual host. Any tips on how to go about that? --
2005 Jan 23
1
Shaping traffic with high priority hosts
Dear all My current setup is the following: Normal Hosts --------+ eth0 eth1 | +----------+ +-<->| F/W box |--<-> Internet | +----------+ High priority hosts--+ My eth0 is a normal 100MBps LAN and my Internet connection is a 1Mbps ADSL line. What I want to achieve is to have normal hosts to share a big
2004 Aug 20
1
kernel patch for ipp2p 0.6 ?
On the ipp2p web site, on the download section (http://rnvs.informatik.uni-leipzig.de/ipp2p/index_en.html) there is no kernel patch for ipp2p 0.5c or for ipp2p 0.6. Just the source for the iptables module. Is there something missing ? Do I not have to patch the kernel for 0.5c or 0.6 ? jnk _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl
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
2004 Nov 25
6
Shaping traffic on heavily oversubscribed links?
Hi all, I am having some fun with traffic shaping, and have run into an interesting situation. Here is South Africa, most internet links are heavily oversubscribed, which means that in most cases the local link is _not_ the bottleneck, and shaping on the local link does not help that much... Does anybody have some tips on shaping such links? How can you get interractive traffic if you
2004 May 20
0
Shaping packets instead of bytes
I want to shape the number of packets a certain class can send to the internet. The size of the packets - and therefore the bytes that are actually send - is not to be taken under considaration. Only that a specific rate of packets can leave for the specific class. I haven''t found a way to do this with any of the qdiscs supplied with the default 2.4.25 kernel (htb, cbq, tbf etc
2002 Oct 31
4
Egress shaping over multiple interfaces?
Hello, After reading the excellent HOWTO I got traffic shaping working nicely over ethernet devices on a test setup. I can''t put this setup live though, because our main firewall has three 2mbit hdlc interfaces instead of a single device. We are using multipath routing using iproute2 nexthop at the moment, and that works fine for firewalling. But now I have a need for shaping and
2004 Apr 07
2
Selectively filtering traffic in/out to common threshold
Hello again all, Question: I have a number of users, who need to be shaped at different rates. My question is this: Is there a way that I can shape both *inbound* and *outbound* traffic to not exceed a single threshold, ie. they can get x kbps traffic in or x kbps out, but no more than x kbps in/out combined? Best Regards, -AL.
2006 Jul 13
3
[PATCH] IMQ vs. local traffic
Hello, Some time ago I''ve read somewhere that local traffic in IMQ could hung up the whole system but it was corrected long time ago. So I was very surprised yesterday when it occurred not true. While testing IMQ I''ve observed for some time that - if you tag some local traffic with iptables both in pre- and postrouting - kernel is hunging up. It is happening quite quick with
2007 May 22
3
lc shaping in- and outbound traffic on same box
I''m looking for a way to shape all traffic on a virtual vlan interface, say eth1.100 to a max of 100mbit. The box is a quagga router with eth0 on the inside and vlan interfaces on the eth1 card to our upstream partners. Each partner has his own vlan on eth1. I tried shaping but was only able to shape outbound traffic on the eth1.100 interface. Inbound shaping was also possible, but
2004 Jan 19
3
Ingress Shaping using IMQ
Hi Guys, Here is a question that is probably of concern to many of us. I am under pressure to provide some solution for ingress traffic shaping. What my customer demands is to divide the downstream (ingress) of an ADSL lines to two classes of traffic - important traffic and non important downloads. He has a very reasonable requirement: he wants a guarantee of at least 1000kbps at all times for
2005 Jan 31
3
why there is any traffic in default class?
I have: tc qdisc add dev imq0 root handle 1: htb default 30 tc class add dev imq0 parent 1: classid 1:1 htb rate 512kbit ceil 512kbit tc class add dev imq0 parent 1:1 classid 1:30 htb rate 64kbit ceil 512kbit then: iptables -t mangle -A PREROUTING -i ppp0 -s 192.168.2.2 -j IMQ --todev 0 tc class add dev imq0 parent 1:1 classid 1:22 htb rate 64kbit ceil 128kbit tc filter add dev imq0 protocol