Questions tagged [traffic-shaping]

Traffic shaping is a technique to delay some or all datagrams to comply with desired traffic profile.

Traffic shaping is a network traffic management technique which delay some or all datagrams to bring them into compliance with a desired traffic profile. Traffic shaping is used to optimize or guarantee performance, improve latency, and/or increase usable bandwidth for some kinds of packets by delaying other kinds.

232 questions
0
votes
1 answer

Linux Traffic Shaping with "tc": QoS filter for requests directly on the host not applied?

I'm trying to reduce the interface thoughput to debug my application on slower network speed. I've remembered a tc statement to do this on a interface which was working in the past. I used it on a dedicated (remote) development machine. This is the…
0
votes
1 answer

Traffic shaping bandwidth and latency based on IP

I am aware of how to shape latency and bandwidth separately. For bandwidth, I can do wondershaper etho0 100 100 for latency I can run tc qdisc add dev eth0 root netem delay 200ms However, I need to restrict shaping to specific IP connections and I…
ehuang
  • 109
  • 3
0
votes
2 answers

Redirect request from HAProxy if all the instances are down

I have a situation where I have 2 HAProxy load balancers, say LAP1 and LAP2. And I have two servers, say S1 and S2 behind LAP1 and s3, s4 behind LAP2. My question is that if S1, S2 goes down, all the traffic coming to LAP1 will be redirected to…
curiousguy
  • 115
  • 7
0
votes
1 answer

throttling traffic with tc, but bandwidth is wrong

I am using these commands to set up bandwidth throttling: tc qdisc del dev eth1 root tc qdisc add dev eth1 root handle 1: cbq avpkt 1000 bandwidth 100Mbit tc class add dev eth1 parent 1: classid 1:1 cbq rate 1Mbit allot 1500 prio 3 bounded…
nn4l
  • 1,336
  • 5
  • 22
  • 40
0
votes
1 answer

PRIO qdisc example not working

I have a TP-Link WR1043-ND with OpenWrt 12.09 (r36088, Linux 3.3.8). There is a bridge called br-lan joining eth0.1 (tagged VLAN for the 4 LAN ports) and wlan0 (Wi-Fi). There is also the WAN port at eth0.2. For the moment I want to try an example in…
derringer
  • 21
  • 1
  • 4
0
votes
6 answers

I've been asked to document every port used by every application on every server. Is there a good tool for this?

Basically I need to say Server1, with ipaddress 1.2.3.4 has Application1 on it, and that network traffic uses ports 100, 101, and 103 Since many of these servers were built and setup before I started working here and there is no documentation from…
MoSiAc
  • 167
  • 2
  • 12
0
votes
1 answer

split traffic on two eth ports

I have a linux Proxmox server with two ethernet ports. The problem is that I have two uplinks that I would like to use with different bandwidth limitations. The first uplink maxes out at 100mbs and the other maxes out at 10mbps. Is it possible to…
DiverseAndRemote.com
  • 2,011
  • 3
  • 15
  • 16
0
votes
1 answer

enabling MPLS,RSVP and OSPF-TE

I am using Juniper J-series routers to emulate a small telco and VPN customer.I need to use OSPF so that the routing information can be propagated to all P and PE nodes (basically all core and edge routers).Note that I don't want the routing…
liv2hak
  • 303
  • 4
  • 13
  • 25
0
votes
1 answer

tc don't see marked packets

Server has 2 interfaces: eth1 with address 13.0.0.254/24 eth0 with address 172.20.203.4/24. It's routing traffic between this two networks. Task is to limit bandwidth between this two networks to 1Vbit/sec, but not to limit bandwidth between…
Selivanov Pavel
  • 2,126
  • 3
  • 23
  • 47
0
votes
1 answer

Can I use iptables to limit port's outgoing bandwidth?

I want to limit my linux server port 8080 at speed 500KB/s, can I do this with iptables?
timy
  • 659
  • 1
  • 7
  • 14
0
votes
2 answers

Input traffic shaping

I know that I can shape output traffic with tc or a similar tool. However, I want to shape the input traffic now—actually, I want to prioritize downloading of files of certain type through a slow lossy connection. I know the reason tc can only shape…
whitequark
  • 474
  • 1
  • 3
  • 11
0
votes
1 answer

traffic shaping, prioritizing packets without using a bitrate ceil/max

I've written a script that shapes traffic into 3 pipes. The first pipe needs to be high priority and always be send first. This works perfectly now on 1 condition. I enter a correct ceil/max bitrate. This script is written to work an a device that…
Malic
  • 93
  • 1
  • 1
  • 6
0
votes
7 answers

How can I block LimeWire on my corporate network?

I need to block LimeWire on my corporate network for bandwidth reasons, I just need to know what ports need to be blocked at the firewall to prevent my users from accessing this. What ports should I block at the firewall to disable LimeWire?
0
votes
1 answer

Per Sender Traffic Limit on Cisco 6500

I have a 6509 with ~1000 user machines in different vlans, I want to allow 10 servers to send as much as they can/want but to limit all client machines from all subnets to have a sending rate limit of 1Mbps with no receiving limitation. It is worth…
Hosm
  • 53
  • 1
  • 9
0
votes
1 answer

How to install ipfw / DummyNet on Ubuntu 10.10?

There seems to be a man page an ipfw but I can't find what package I have to install to use ipfw / DummyNet. Any hints?
Jan Deinhard
  • 2,363
  • 5
  • 26
  • 33