NdnSIM Tutorial.

Slides:



Advertisements
Similar presentations
Network II.5 simulator ..
Advertisements

Network Simulation One tool to simulation network protocols for the Internet is the network simulator (NS) The simulation environment needs to be set-
An Introduction to NS-2 * Gayatri Swamynathan CS 276 TA *some slides are from a presentation by Haobo Yu & Nader Salehi, USC/ISI.
Ns-2 Tutorial Exercise (1) Multimedia Networking Group, The Department of Computer Science, UVA Jianping Wang Adopted from Nicolas’s slides Jianping Wang,
1 o Two issues in practice – Scale – Administrative autonomy o Autonomous system (AS) or region o Intra autonomous system routing protocol o Gateway routers.
Authors: Alexander Afanasyev, Priya Mahadevany, Ilya Moiseenko, Ersin Uzuny, Lixia Zhang Publisher: IFIP Networking, 2013 (International Federation for.
An XML Front-End for ns-3 George Riley and Josh Pelkey Georgia Institute of Technology.
- walkthrough of classic hidden terminal problem in WiFi-
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
Transition Mechanisms for Ipv6 Hosts and Routers RFC2893 By Michael Pfeiffer.
Matnet – Matlab Network Simulator for TinyOS Alec WooTerence Tong July 31 st, 2002.
1 Modified Schedule Day 2 Network AniMator (nam) Examples simple.tcl mcast.tcl Day 3 Wireless (ad-hoc)
Routing.
Course Project for CS Objective Simulate the FatTree network using ndnSIM. Simulate a multicast session with l oadbalancing Add more producers to.
Jennifer Rexford Princeton University MW 11:00am-12:20pm Wide-Area Traffic Management COS 597E: Software Defined Networking.
ROUTING PROTOCOLS Rizwan Rehman. Static routing  each router manually configured with a list of destinations and the next hop to reach those destinations.
Loupe /loop/ noun a magnifying glass used by jewelers to reveal flaws in gems. a logging and error management tool used by.NET teams to reveal flaws in.
1 Semester 2 Module 6 Routing and Routing Protocols YuDa college of business James Chen
Internet Traffic Management Prafull Suryawanshi Roll No - 04IT6008.
Network Layer Moving datagrams. How do it know? Tom-Tom.
CISCO NETWORKING ACADEMY Chabot College ELEC IP Routing Protocol Highlights.
BRITE integration with ns-3 Joshua Pelkey and Dr. George Riley Wns3 March 25, 2011.
1 CS 4396 Computer Networks Lab Dynamic Routing Protocols - II OSPF.
Routing and Routing Protocols Routing Protocols Overview.
Internet Traffic Management. Basic Concept of Traffic Need of Traffic Management Measuring Traffic Traffic Control and Management Quality and Pricing.
1 Enabling Large Scale Network Simulation with 100 Million Nodes using Grid Infrastructure Hiroyuki Ohsaki Graduate School of Information Sci. & Tech.
Introduction to NS2 -Network Simulator- -Prepared by Changyong Jung.
WAN technologies and routing Packet switches and store and forward Hierarchical addresses, routing and routing tables Routing table computation Example.
Modeling Process CSCE 668Set 14: Simulations 2 May be several algorithms (processes) runs on each processor to simulate the desired communication system.
SAN DIEGO SUPERCOMPUTER CENTER Working with Inca Reporters Jim Hayes Inca Workshop September 4-5, 2008.
Ns-3 Training Computer and Communication Network Lab Department of Electrical Engineering National Sun Yat-Sen University 5/13/2013.
Iris Simulator Overview Mitchelle Rasquinha CASL, School of ECE Georgia Institute of Technology ece8813a 7 th Sept 2010.
Role and Mechanism of Queue Internet Engineering.
Ns-3 tutorial Katto lab Tadashi Yamazaki 8 November 2012.
Let’s ChronoSync: Decentralized Dataset State Synchronization in Named Data Networking Zhenkai Zhu Alexander Afanasyev (presenter) Tuesday, October 8,
Network Simulator-2 Sandeep singla 1998A2A7540. NS-2 A discrete event simulator Focused on modeling network protocols –Wired, wireless –TCP,UDP,unicast,multicast.
Running large scale experimentation on Content-Centric Networking via the Grid’5000 platform Massimo GALLO (Bell Labs, Alcatel - Lucent) Joint work with:
CCNA 3 Week 2 Link State Protocols OSPF. Copyright © 2005 University of Bolton Distance Vector vs Link State Distance Vector –Copies Routing Table to.
CCNA 2 Week 6 Routing Protocols. Copyright © 2005 University of Bolton Topics Static Routing Dynamic Routing Routing Protocols Overview.
Design, Implementation and Tracing of Dynamic Backpressure Routing for ns-3 José Núñez-Martínez Research Engineer Centre Tecnològic de Telecomunicacions.
Using Routing and Remote Access Chapter Five. Exam Objectives in this Chapter:  Plan a routing strategy Identify routing protocols to use in a specified.
Stainov - DataComMET CS TC5353 THE NETWORK LAYER 5.2 ROUTING ALGORITHMS - adaptive Distance Vector Routing (Bellman-Ford, Ford-Fulkenson). It was used.
Network Information: Manipulation, Sharing, and Visualization Dr. Greg Bernstein Grotto Networking
© 2002, Cisco Systems, Inc. All rights reserved..
1 CSE 5346 Spring Network Simulator Project.
+ Routing Concepts 1 st semester Objectives  Describe the primary functions and features of a router.  Explain how routers use information.
EE 6951 term project Columbia University The Fu Foundation School of Engineering and Applied Science 2002 Spring.
7/11/0666th IETF1 QoS Enhancements to BGP in Support of Multiple Classes of Service Andreas Terzis Computer Science Department Johns Hopkins University.
Install CB 1.8 on Ubuntu. Steps Followed Install Ubuntu (Ubuntu LTS) on Virtual machine – (VMware Workstation) (
1 Emulab's Current Support For IXPs: An example of support for non-PCs.
NS-2 Training 12/12/2011. Introduction  NS-2: Network Simulator Generation 2  Latest Release: 2.35 / Nov. 4, 2011 
Interaction and Animation on Geolocalization Based Network Topology by Engin Arslan.
Dynamic Routing on a Fast Data Plane
ns-3 Training 5/08/2017 Computer and Communication Network Lab
Notes Onur Ascigil, Vasilis Sourlas, Ioannis Psaras, and George Pavlou
Routing and Routing Protocols: Routing Static
Forwarding and Routing IP Packets
Due: a start of class Oct 26
Introduction to ZBOSS Embedded Systems Software Training Center
CCNA 2 v3.1 Module 6 Routing and Routing Protocols
Spyridon (Spyros) Mastorakis University of California, Los Angeles
Routing.
Advanced Network Training
Routing and Routing Protocols: Routing Static
Distributed P2P File System
Dynamic Routing and OSPF
Ns-3 Tutorial Xin Li.
Replica Placement Heuristics of Application-level Multicast
16EC Computer networks unit II Mr.M.Jagadesh
Routing.
Presentation transcript:

ndnSIM Tutorial

About ndnSIM ns-3 based Named Data Networking (NDN) simulator Current version 2.0 Web, http://ndnsim.net

Index Getting started ndnSIM helpers Examples Metrics

Getting Started Preferred OS Install dependencies Ubuntu Linux 14.04 Only describe the steps on Ubuntu 14.04 Visit http://ndnsim.net/ for more Install dependencies

Download ndnSIM source Download ndn-cxx Download ns3 and add ndnSIM into it May take hours to download, depending on the github server

Compile ndn-cxx Compile ns-3 Enable the examples (under ./src/ndnSIM/examples/) The g++ compiler may crash several times, retry with './waf'

Index Getting started ndnSIM helpers Examples Metrics

ndmSim helpers NDN stack helper Routing: where Interest can be forwarded Manual routes

Automatic shortest path routes install NDN interfaces on nodes specify which node exports which prefix calculate and install FIBs on every node

Forwarding strategy Specify the desired per-name prefix forwarding strategy for one, more or all the nodes of a topology. Strategy name /localhost/nfd/strategy/best-route /localhost/nfd/strategy/broadcast Install on one node Install on all nodes

Link Control helper Allows scheduling of link failures and failure recoveries

Application Helper Create helper for specific applications class Assign prefix on which application operates Assign application-specific attributes using AppHelper::SetAttribute(): Install application on one or more nodes:

Index Getting started ndnSIM helpers Examples Metrics

Example: ndn-simple.cpp

Consumer is simulated using ConsumerCbr reference application and generates Interests towards the producer with frequency of 10 Interests per second

Producer is simulated using Producer class, which is used to satisfy all incoming Interests with virtual payload data (1024 bytes).

Run the program Run with log model Run with Python visualizer $ NS_LOG=ndn.Producer:ndn.Consumer ./waf --run=ndn-simple ./waf --run=ndn-simple --vis

Example: ndn-grid-topo-plugin.cpp A 3 × 3 grid topology Use AnnotatedTopologyReader to load topology file

topo-grid-3x3.txt

ndn-grid-topo-plugin.cpp

$ ./waf --run=ndn-grid-topo-plugin --vis

Example: ndn-different-strategy-per-prefix.cpp A grid topology The broadcast strategy to be installed for the name prefix "/prefix1" in all the nodes For the name prefix "/prefix2", the best-route strategy will be installed in all the topology nodes

ndn-different-strategy-per-prefix.cpp

$ ./waf --run=ndn-different-strategy-per-prefix --vis

Example: ndn-load-balancer.cpp A load balancer topology

topo-load-balancer.txt

ndn-load-balancer.cpp

./waf --run=ndn-load-balancer --vis

Example: ndn-simple-with-link-failure.cpp

Index Getting started ndnSIM helpers Examples Metrics

Metrics ndn::L3RateTracer Tracing the rate in bytes and in number of packets of Interest/Data packets forwarded by an NDN node Output file format is tab-separated values Time, Node, FaceId, Type, Packets, Kilobytes, PacketsRaw, KilobytesRaw See http://ndnsim.net/2.0/metric.html for details

L2Tracer traces only packet drop on layer 2 (e.g., due to transmission queue overflow). Output file format is tab-separated values, Time, Node, Interface, Type, Packets, Kilobytes, PacketsRaw, KilobytesRaw See http://ndnsim.net/2.0/metric.html for details

Example: ndn-tree-tracers.cpp topo-tree.txt

ndn-tree-tracers.cpp

./waf --run=ndn-tree-tracers Create "rate-trace.txt", analyze

Example: ndn-tree-tracers.cpp topo-tree-25-node.txt

./waf --run=ndn-tree-with-l2tracer --vis