similar to: kernel configuration and tc commands for traffic shaping

Displaying 20 results from an estimated 5000 matches similar to: "kernel configuration and tc commands for traffic shaping"

2005 Dec 11
6
shareaza
Hi, A, B and C are three machines. A and C directly access to theInternet while B access to the Internet through A. +-------------------------------------------------------------+ | +-------------+ +-------------+ | | | A | | B | | | | | --- eth0 ---> <--- eth0 --- | | | | | 192.168.0.1
2003 May 23
7
CBQ DEVICE BW?
Hi, The CBQ config file shud be some thing like this. DEVICE=eth0,10Mbit,1Mbit RATE=50Kbit WEIGHT=5Kbit Shall i hardcode the DEVICE BW as 10/100 Mbit or Shall i use any other tool like ethtool for getting this. ethtool gives Speed: 10Mbps If so, how about, if i use some other Interfaces other than eth0, like ppp0 or some other? C''d anybody can give a suggestion over this? thanks
2001 Feb 20
2
Incoming trafic shaping (depending on src IP)
Hi there, i''m trying to shape incoming trafic on my linux box. I want it to depend on the source IP adress of the packets (in fact, i got a VPN on an ADSL link and wanted to get at least/max 64Kbit/s for the VPN) So i tried this : tc qdisc add dev ppp0 root handle 1:0 cbq bandwidth 512Kbit avpkt 1000 cell 8 tc class add dev ppp0 parent 1:0 classid 1:1 cbq bandwidth 512Kbit rate
2000 Nov 18
9
priority bands don't reduce interactive latency?
I run a small Linux webserver and NAT router from my cable modem at home. Whenever someone starts an http download, all other traffic from my LAN is starved. Bandwidth is not really an issue, but latency is particularly horrible -- pings that usually come back in 20ms can take up to 600ms while the web server is active! I set up QoS (netfilter+iproute2) on the NAT machine in an attempt to give
2006 Apr 14
3
Shaping per IP in PPPoE borrowing or sharing Uplink or Downlink
helo again. I think this question i am asking is worth: we know that pppoe-server creates a pppX device on each connection done to it. So, when i have to shape, i have to shape each pppX connection device on itself alone. What i know is that the borrowing method on one device by itself, e.g. ppp0, alone using HTB or the like. this means that i have to create for another device, e.g. ppp1,
2003 Sep 09
5
newbie - shaping a PSTN connection
Hi - I''ve been going through the LARTC how-to and have successfully used the sample scripts (and wondershaper) with my xDSL links. I''m now faced with the challenge of providing 8 users at work an effective remote access connection over a PSTN ppp connection. The critical traffic in this case relates to our stock enquiry application which is running over terminal services.
2004 Jul 10
3
limiting doesn''t work
Hi folks, I read the fantastic LARTC How-to and after that i tried to limit one host in my LAN for both down-and upload bandwidth usage. I took section 15.9. and added uplink-limiting as I understood it from the previous chapters. Unfortunately it doesn''t work. I ran the script and went to the specified PC, started a download, and watched the rate. The rate was always about 2000 kbit/s,
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
2007 Apr 09
3
tc (CBQ) and UDP packets
2002 Dec 07
4
Why my script doesn''t work ???
Hi All, I''m using iptables-1.2.7a on RedHat8 kernel 2.4.20. I wanted to limit the file-sharing traffic to the internet. I marked the packets with iptables: iptables -A FORWARD -t mangle -p tcp -s 192.168.1.1/24 -d ! 192.168.1.1/24 --dport 1024:1862 -j MARK --set-mark 1 iptables -A FORWARD -t mangle -p tcp -s 192.168.1.1/24 -d ! 192.168.1.1/24 --dport 1864:65535 -j MARK --set-mark 1
2001 Dec 26
3
Understanding the Examples
Hello everybody, I am trying to understand the Advance routing and Traffic control. In the examples section of the how to an example script is given. Section 15.8.2 (the ultimate setup for Your internet connection) The example says download is 800 and upload is 220 ###### uplink # install root CBQ tc qdisc add dev ppp0 root handle 1: cbq avpkt 1000 bandwidth 10mbit Maybe I am
2004 Aug 06
2
new features request
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 13 Feb 2004, Geoff Shang wrote: > Mihai RUSU wrote: > > > Another nice feature to add would be a "bandwidth" limit (so just a new > > <limit> type entry). > > Problem with this is, what do you do once the limit has been reached? Who > do you kick? Or do you just not allow anymore listeners? I
2004 Nov 25
1
Shaping with htb and VLAN
Hello At first I must tell you that I´m a real newbie with Linux (and english as well...) I´m using 2 vlans and shaping works quite well without vlan Now I want to do load balancing at these vlans. Any vlan should get the same minimum/maximum bandwidth of download and use the bandwidth that isn´t used by the other one at the moment. But with vlan the shaping doesn´t work. Can you please tell me
2003 Feb 05
1
cbq.init for one port on a subnet
Sub:[LARTC] cbq init for one port on a subnet Hello, We use cbq.init to limit bandwidth. It works great on a per-user basis. Now I''d like to limit traffic from a netblock to the Internet on port 6699. Network is 192.168.0.160 mask 255.255.255.224 eth0 is the gateway eth1 connects the netblock in question Is this the proper syntax; DEVICE=eth0,10Mbit,1Mbit RATE=100Kbit
2003 Dec 08
1
tc troubles with pfifo_fast qdisc on 2.4.23 kernel
Hi! I was updated kernel from 2.4.22 to 2.4.23 and now tc tools can''t correctly determine default (pfifo_fast) qdisc on interface: # tc/tc qdisc ls dev ppp0 qdisc pfifo_fast 0: [Unknown qdisc, optlen=20] but, if I assign f.e. cbq qdisc for some device all show correctly: # tc/tc qdisc ls dev ppp1 qdisc tbf 8009: rate 32Kbit burst 10Kb lat 1.5s qdisc cbq 66: rate 10Mbit
2003 Apr 07
4
BW using CBQ/tc for VPN Ipsec i/f?
Hi all, I want to allocate bandwidth for ipsec interface using CBQ/tc. Suppose the conf. file is like this, DEVICE=ipsec0,10Mbit,1Mbit RATE=128Kbit WEIGHT=10Kbit PRIO=5 RULE=192.128.1.0/24 Does it work or What else options need to be taken care like ipsec packets/protocol/port # etc.? C''d anybody suggest please? regds, Srikanth. _______________________________________________ LARTC
2004 Sep 28
3
Suggestion.
Hi, I''m new to the list. I intend to learn about some Linux Networking features to help myself and others. I''m looking to control the bandwidth in my office. Basically there are like 20 computers, a 2MB Adsl Line. And I would love to let them only use a certain amount of bandwidth. For example let every client use 20KB of internet bandwidth of the 210KB we can download
2004 Jan 23
16
IMQ Stability
Hello all, I have been doing a lot of archive searching over the last week reading posts on IMQ and it''s apparent stability / instability. I have seen a number of posts about it not being maintained as well. Can anyone talk to me about IMQ''s stability in a heavy throughput environment (20 Mbps) and what was causing IMQ to fail if you know. Thanks, Mike
2004 Oct 28
12
HTB: Problem with excess bandwidth distribution
Hello, I have a serious problem with HTB which I wasn''t able to solve myself. I run a masquerading router with ppp0 as interface to the Internet. Three clients need to share a downstream of 1 MBit, which I want to divide with tc. When I see a packet being forwarded to one of these clients, I give it the appropriate unique mark: iptables -t mangle -A FORWARD -d 192.168.34.141 -j MARK
2003 Jul 16
1
Problen in cbq , fw
Hi, In my LAN Iam trying to make following setup: - All the traffic generated by 10.0.2.1 should go to 10.0.2.11, If the destination of this traffic is internet than it should be placed on its interface eth1. Outgoing traffic on eth1 should be shaped.For this I am using fw filters and cbq. _______ 10.0.2.1 -------> 10.0.2.11(eth0 )----| A