Droptail Simulation and Random Early Detection in Network Simulator 3

Fajar Purnama
15 min readNov 15, 2020


This is my English translated undergraduate assignment for my Telecommunication Queuing System course in the Department of Electrical Engineering, Faculty of Engineering, Udayana University. This task has never been published anywhere and I, as the author and copyright holder, license this assignment as customized CC-BY-SA where anyone can share, copy, republish, and sell it provided that my name is written as the original author and notify that the original and open version available here.

Chapter 1 Introduction

1.1 Background

The queue theory is a theory in which customers must queue to get service from the waiter. Queuing theory aims to regulate the level of service with customer arrival data. In queuing theory there are ways to set the right level of service, the level of waiters busyness, how long a customer has to wait, how many customers are in the queue, how big is the waiting room to be prepared, and so on. In the real world, a service cannot be separated from the queue, including services on the data network. To simulate queues on data networks, there are many software such as Network Simulator, which has now developed into NS3 (Network Simulator 3). In NS3 the queue can be set manually, but there are 2 types of queues that have been made, namely Droptail and RED (Random Early Detection) Queue. There are examples made by Marcos Talau and Duy Nguyen. In this paper we will simulate REDQueue on a simple point-to-point computer network.

1.2 Problem

How is the REDQueue simulation provided by Marcos Talau and Duy Nguyen?

1.3 Objective

To simulate REDQueue by Marcos Talau and Duy Nguyen on NS3.

1.4 Benefit

  1. Get an overview of the REDQueue queue simulation.
  2. Can implement queue simulation by yourself.

1.5 Scope and Limitation

  1. Using point-to-point IPv4 networks.
  2. On a 10Mbps network.
  3. Using the Linux version of the NS3 simulator.
  4. Uses Droptail and REDQueue provided on NS3.

Chapter 2 Literature Review

2.1 Queue

Fajar Purnama

this blog contains all my articles licensed under creative commons attribution customized sharealike (cc-by-sa) where you can sell but mention the open one here