Network Emulation in the NS Simulator. Kishore Ramachandran

Similar documents
Configuring Cisco IOS IP SLAs Operations

Corso di Reti di Calcolatori II

STUDY OF SOCKET PROGRAMMING AND CLIENT SERVER MODEL

Transport Protocols for Data Center Communication. Evisa Tsolakou Supervisor: Prof. Jörg Ott Advisor: Lect. Pasi Sarolahti

Investigating the Use of Synchronized Clocks in TCP Congestion Control

Synchronous Two-Phase Rate and Power Control in WLANs

Congestion Control Without a Startup Phase

NS-2 Tutorial. Kumar Viswanath CMPE 252a.

NETWORK SIMULATION USING NCTUns. Ankit Verma* Shashi Singh* Meenakshi Vyas*

Network Simulators, Emulators and Testbeds

Chapter 8: I/O functions & socket options

Lecture 2-ter. 2. A communication example Managing a HTTP v1.0 connection. Managing a HTTP request. transport session. Step 1 - opening transport

An Integrated Experimental

1 What is network simulation and how can it be useful?

Textbook Charles Petzold, Programming Windows, 5th edition, Microsoft Press. References - other textbooks or materials none

6. Correspondence relationship between Educational goals and Course goals

IT 341: Introduction to System

ECE 333: Introduction to Communication Networks Fall 2001

PART IV. Internetworking Using TCP/IP

IP SLAs Overview. Finding Feature Information. Information About IP SLAs. IP SLAs Technology Overview

Evaluation Strategies. Nick Feamster CS 7260 February 26, 2007

CCNA 1 Chapter 7 v5.0 Exam Answers 2013

Configure Transmission Control Protocol (TCP) and User Datagram Protocol (UDP) Service Settings on a Switch

Chapter 4 Network Layer: The Data Plane

EVENT DRIVEN PACKET SIMULATOR

International Journal of Scientific Research and Modern Education (IJSRME) ISSN (Online): ( Volume I, Issue I,

IKR SimLib-QEMU: TCP Simulations Integrating Virtual Machines

Supporting Service Differentiation for Real-Time and Best-Effort Traffic in Stateless Wireless Ad-Hoc Networks (SWAN)

Application Layer Switching: A Deployable Technique for Providing Quality of Service

GENI Experimental Infrastructure Wireless & Sensor Networks Aug 8, 2005

Investigating the Use of Synchronized Clocks in TCP Congestion Control

Assignment #1. Csci4211 Spring Due on Feb. 13th, Notes: There are five questions in this assignment. Each question has 10 points.

SJTU 2018 Fall Computer Networking. Wireless Communication

Experimental Analysis and Demonstration of the NS2 Implementation of Dynamic Buffer Sizing Strategies for Based Wireless Networks

Performance Study of CCNx

ns-3 Training Emulation

Overview of the ORBIT Radio Grid Testbed for Evaluation of Next-Generation Wireless Network Protocols

Computer Science 461 Midterm Exam March 14, :00-10:50am

Network Architecture

Network Programming. Introduction to Sockets. Dr. Thaier Hayajneh. Process Layer. Network Layer. Berkeley API

F5 Big-IP Application Security Manager v11

Lecture 19. Principles behind data link layer services Framing Multiple access protocols

Large-Scale Network Simulation Scalability and an FPGA-based Network Simulator

Moving Beyond Sockets

Project Title: Open Virtualized WiMAX Base Station Node for GENI Wide-Area Wireless Deployments

Avaya ExpertNet Lite Assessment Tool

CSE 461 Midterm Winter 2018

IREEL: Remote Experimentation with Real Protocols and Applications over Emulated Network

ECE 4400:427/527 - Computer Networks Spring 2017

cs144 Midterm Review Fall 2010

CS454/654 Midterm Exam Fall 2004

Lab 2. All datagrams related to favicon.ico had been ignored. Diagram 1. Diagram 2

Precision Time Protocol, and Sub-Microsecond Synchronization

DMN1 : COMMUNICATION PROTOCOL SIMULATION. Faculty of Engineering Multimedia University

Network Requirements

ns-3 Direct Code Execution Lacage (INRIA) ns-3 DCE GEC9 1 / 14

Appendix A. Methodology

Lab WLAN Design

Network Requirements

The DETER Testbed: Overview 25 August 2004

F5 Networks F5LTM12: F5 Networks Configuring BIG-IP LTM: Local Traffic Manager. Upcoming Dates. Course Description. Course Outline

Distributed Systems. Day 2: Principles Jan 29, 2019

Configuring CSM Scripts

Multimedia in the Internet

Configuring Cisco IOS IP SLAs Operations

Communication. Overview

Configuring Cisco IOS IP SLA Operations

The Measurement Manager Modular End-to-End Measurement Services

Time-Step Network Simulation

CMSC 417 Project Implementation of ATM Network Layer and Reliable ATM Adaptation Layer

A Model-Driven Multi-Paradigm Integrated Simulation Framework For Analysis of Communication Networks

Local Area Networks and the Network Protocol Stack

Configuring your VLAN. Presented by Gregory Laffoon

Evaluation of Emulab as Experimental Platform by Comparing TCP and SCTP

COMPUTER NETWORKS PERFORMANCE. Gaia Maselli

COMPUTER NETWORK PERFORMANCE. Gaia Maselli Room: 319

CPS221 Lecture: Layered Network Architecture

Lab Configuring and Verifying Extended ACLs Topology

ZENworks for Desktops Preboot Services

NGN Progress Report. Table of Contents

Link Layer and LANs. CMPS 4750/6750: Computer Networks

The Interconnection Structure of. The Internet. EECC694 - Shaaban

Kaazing Gateway: An Open Source

Assignment 10: TCP and Congestion Control Due the week of November 14/15, 2012

One More Bit Is Enough

Executive Overview. D1.3.2-VanetMobiSim/Ns-2: A VANET simulator for CARLINK

Lecture 1 Overview - Data Communications, Data Networks, and the Internet

Sebastian Zander, Grenville Armitage. Centre for Advanced Internet Architectures (CAIA) Swinburne University of Technology

NS-3-Click: Click Modular Router Integration for NS-3

ns-2 Tutorial Contents: Today Objectives of this week What is ns-2? Working with ns-2 Tutorial exercise ns-2 internals Extending ns-2

MESSAGES error-reporting messages and query messages. problems processes IP packet specific information

1 A Local Area Network (LAN) consists of four computers and one server. The LAN uses a bus topology.

Optical Packet Switching

UDP and TCP. Introduction. So far we have studied some data link layer protocols such as PPP which are responsible for getting data

Shield -- A First Line Worm Defense. Helen J. Wang, Chuanxiong Guo, Dan Simon, and Alf Zugenmaier Feb 25, Motivation

Course Outline. Introduction to Azure for Developers Course 10978A: 5 days Instructor Led

Experimental Networking ECSE-4963

Computer Networks 1DV201

Multicast service model Host interface Host-router interactions (IGMP) Multicast Routing Distance Vector Link State. Shared tree.

Router Router Microprocessor controlled traffic direction home router DSL modem Computer Enterprise routers Core routers

Transcription:

Network Emulation in the NS Simulator. Kishore Ramachandran

Emulation the why and the how. Motivation (Why?) Simulations make simplifying assumptions. Results not always basis for real-world deployment. Possible approaches (How?) Network emulation Interaction of simulated components with real-world components. Environment emulation Build an environment where real-world implementations may be executed directly from the simulator.

NS Emulation (NSE) Network emulation is approach adopted by NSE. First approach adopted because Large existing base of protocol implementations in the simulator. Difficulty in implementing all these in operational systems. Seen as a logical extension of the ns-2 simulator.

NSE what can be done. Test performance of experimental algorithms and protocols implemented in the simulator using real-world traffic. Hypothetical scenario I Traffic Traffic WINLAB student working. Simulation of a router running experimental AQM scheme. Web server (ACM, IEEE, etc)

NSE what can be done. Hypothetical scenario II http requests http requests http responses Web client using experimental transport protocol implemented in simulator. http responses Web server (ACM, IEEE, etc) implemented on top of experimental transport protocol implemented in simulator.

NSE what can be done. Evaluate real-world implementations against repeatable interference generated in a simulator. Hypothetical scenario III Traffic Traffic WINLAB student working. Simulation of a linear multiple bottleneck topology to see the effect of cross-flows on a realworld TCP flow/s. Web server (ACM, IEEE, etc)

NSE Challenges Synchronization of event scheduler to real-time. Provision of packet generation and capture facilities. Translation between internal packet format of simulator and that of real-world implementations.

NSE Challenge I Synchronization of event scheduler to realtime. Scheduler operates in virtual time. Current time is immediately advanced to the dispatch time of next pending event. Asynchronous arrival of I/O events can restrict execution time of simulation.

NSE Solution to challenge I Use wall-clock time for the dispatch of events. Handle asynchronous arrival of I/O events in addition to events in the simulator. Drawbacks with method used: Scheduling not exact; Under sufficient load, scheduler may fall behind. Scheduler implemented as a loop due to the Tcl I/O event notifier function that does not provide maximum blocking time.

NSE Solution to Challenge II Network objects provide access to network packets. Use UDP/IP sockets API for UDP/IP datagrams and raw IP packets. Use libpcap for frame-level capture and filtering.

NSE Challenge III Translation between internal and external packet formats. NS-2 uses its own network layer address format. Does not understand standard IP address formats. Combines port identifiers with network layer node address.

NSE Solution to Challenge III Tap agents are used to encapsulate/deencapsulate live network traffic inside/from simulator packets. They are network-independent and can be used at various protocol layers. Each tap agent is associated with a network object.

NSE Complete picture. Tap Agents convert network packets into simulator compatible packets. Associated Network Objects provide live network access.

NSE Modes of operation. Opaque mode. Network data treated as uninterpreted packets. Real-world protocol fields not directly manipulated. Protocol mode. Ability to interpret and/or generate network data with standard protocol field assignments. Protocol-specific traffic manipulation scenarios are possible here. Opaque mode is well-supported. Very limited support for protocol mode.

How NSE fits into EMULAB. Boss Test node log node management event Log Path Log Path tmcd tmcc Nseinput.tcl Event scheduler elvind elvind TCP over Control net. NSE parse events tbdb node agent trafgen Ns script **Thank you ORBIT EMULAB team. Experimental network

Future areas of study. More detailed EMULAB-NSE details. Symphony protocol development environment as an example of environment emulation. Wireless emulator from Lucent, Bell Labs.