Questions tagged [dummynet]

dummynet is a live network emulation tool, originally designed for testing networking protocols, and since then used for a variety of applications including bandwidth management.

dummynet is a live network emulation tool, originally designed for testing networking protocols, and since then used for a variety of applications including bandwidth management. It simulates/enforces queue and bandwidth limitations, delays, packet losses, and multipath effects. It also implements various scheduling algorithms. dummynet can be used on the machine running the user's application, or on external boxes acting as routers or bridges. dummynet runs within your operating system (FreeBSD, OSX, Linux, Windows) and works by intercepting selected traffic on its way through the network stack, as in the figure above, and passing packets to objects called pipes which implement a set of queues, a scheduler, and a link, all with configurable features (bandwidth, delay, loss rate, queue size, scheduling policy...).

5 questions
3
votes
0 answers

Dummynet installation on all components on system

I have a setup of 1 master node (which doubles as slave) and 2 slave nodes. I installed dummynet on the master node and configured the rules. I am wondering if I will have to do the same on the slave nodes as well(i.e install dummynet and setup…
momo coder
  • 101
  • 1
  • 4
1
vote
0 answers

dummynet corruption, reordering of package

I am new to dummynet/ipfw and I would like to know if I can do a couple of things using this tool. 1 - I need to make an exception in the pipe of a particular IP but that for all the others if the filters are applied. How could I do this? 2- I need…
Alex
  • 149
  • 2
  • 9
0
votes
0 answers

At what layer of the OSI model does ipfw works?

Clearly, when I use iptables to drop packets in output of a sender A, the TCP instance of A re-send them because it never gets ACK from the receiver B of those lost packets. In the end, depending on the probability of drop (>0), all data from A…
Lili_marston
  • 149
  • 1
  • 12
0
votes
1 answer

Dummynet does not match on flows

I have two machines as shown below: To internet<---->PC_A<----->PC_B PC_A has two interfaces (one connected to internet and other to PC_B). PC_B has to go through PC_A to connect to the Internet. I run Dummynet on PC_A. PC_A has IP 192.168.1.1 on…
jamie
  • 89
  • 4
  • 11
0
votes
1 answer

How to simulate bandwidth and delay in localhost with dummynet (ipfw)

I am using a web server in localhost:8080 and I'm trying to use dummynet (ipfw) to simulate latency and low bandwidth to that server but somehow I cannot get it to work. When I use the command sudo ipfw add pipe 1 all from any to any sudo ipfw pipe…
Hải Phong
  • 5,094
  • 6
  • 31
  • 49