Post on 07-Feb-2016
description
3 October 2008 EKC 1
ns-3 Premier
Egemen Çetinkaya
Department of Electrical Engineering & Computer Science
The University of Kansas
ecetin01@ittc.ku.edu
http://wiki.ittc.ku.edu/resilinets_wiki/index.php/Main_Page
3 October 2008 EKC 2
Outline
Introduction General comparison of ns-2 vs. ns-3 Model comparison of ns-2 vs. ns-3 References, links, documents
3 October 2008 EKC 3
Introduction1
ns-3 is a discrete event network simulator for Internet systems
Targeted for research & education Community-oriented open source development Free and open source software Emphasis on layers 2-4 of the network stack Integration of open source tools/software and
capability to simulate and emulate (e.g. tcpdump, Ethereal packet analysis)
3 October 2008 EKC 4
Introduction2
Can be installed on any platform e.g. desktop, server, on 32 or 64 bit architectures
So far experience shows that installations are very easy (Ubuntu LTS, Fedora 9, Cygwin)
Installed latest release of ns-3, ns-3.2 to ITTC machines (lutetium and freestyle)
Planned to reuse many models in ns-2 ns-3 is not backward compatible, ns-2 scripts
cannot be run in ns-3
3 October 2008 EKC 5
Introduction3
Customizable trace files ns-3 development so far focuses on the core
feature development rather than the models No support for visualization yet, but saw bunch of
threads on the subject Python bindings for ns-3 is a work in progress, and
some limitations are know by developers http://www.nsnam.org/wiki/index.php/NS-3_Python_Bindings
3 October 2008 EKC 6
Introduction4
Roadmap can be found on the following link - http://www.nsnam.org/wiki/index.php/Roadmap
Releases are date driven, instead of feature or bug driven
There are already papers being published - http://www.nsnam.org/wiki/index.php/Papers
3 October 2008 EKC 7
ns-2 vs. ns-3 Comparison1
First release: 1996 vs. 2008 Based on: ns-1 & REAL simulator vs. ns-2,
GTNets, YANS Architecture: OTcl & C++ vs. C++ & optional
Phyton scripting Funded by: DARPA VINT,SAMAN & NSF
CONSER vs. NSF CISE & INRIA Current support: Volunteers, USC ISI &
Sourceforge vs. NSF, INRIA, GT, WashU & volunteers
3 October 2008 EKC 8
ns-2 vs. ns-3 Comparison2
Scripting: OTcl vs. Python Visualization: nam vs. ns3-viz, pyviz, nam,
iNSpect ? (all under development) Scalability: sequential simulations vs. distributed
simulations
3 October 2008 EKC 9
Model Comparison: ns-2 vs. ns-3Application and Transport
Ping, vat, telnet, FTP, multicast, FTP, probabilistic and trace-driven traffic gen., webcache
TCP, UDP, SCTP, XCP, TFRC, RAP, RTP, Multicast: PGM, SRM, RLM, PLM
Sockets-like API, P2P, traffic generator
TCP stack emulation (Linux,BSD), DDCP, additional high speed TCP variants, UDP
3 October 2008 EKC 10
Model Comparison: ns-2 vs. ns-3Network
Unicast: IP, MIP, DV, LS, IPinIP, SR, Multicast: SRM,
MANET: AODV, DSR, DSDV, TORA, IMEP,
Queuing: DiffServ, RED, WFQ, DropTail
full IPv4 & IPv6 support, NAT, BGP, OSPF, RIP, IS-IS, PIM-SM, IGMP/MLD, static (Dijkstra) unicast, static multicast
MANET: OLSR
3 October 2008 EKC 11
Model Comparison: ns-2 vs. ns-3Link and MAC
ARP, HDLC, GAF, MPLS, LDP
MAC: CSMA, 802.11b, 802.15.4, satellite Aloha
new 802.11 model, 802.11 variants (mesh, QoS), 802.16, TDMA, CDMA, GPRS, CSMA
3 October 2008 EKC 12
Model Comparison: ns-2 vs. ns-3 Physical and Mobility
TwoWay,shadowing,Omni Antennas,Energy model Satellite repeater
Many including bonn-motion tool
IEEE 802 physical layers, Rayleigh and Rician fading channels, GSM, Jakes composite loss model, Friis, log-distance
Hierarchical, Random direction, RWP, RW, ns-2 Scen-Gen
3 October 2008 EKC 13
References
ns-3 main page for documents, news etc.http://www.nsnam.org/ ns-3 wiki page roadmap, howtos, etc.http://www.nsnam.org/wiki/index.php/Main_Page ns-3 users grouphttp://groups.google.com/group/ns-3-users Thomas R. Henderson, Sumit Roy, Sally Floyd,
George F. Riley, ns-3 project goals, ACM, Proceeding from the 2006 workshop on ns-2: the IP network, Pisa, Italy, 2006