1 ns-3 Premier Egemen Çetinkaya Department of Electrical Engineering & Computer Science The...
-
Upload
joseph-rich -
Category
Documents
-
view
212 -
download
0
Transcript of 1 ns-3 Premier Egemen Çetinkaya Department of Electrical Engineering & Computer Science The...
![Page 1: 1 ns-3 Premier Egemen Çetinkaya Department of Electrical Engineering & Computer Science The University of Kansas ecetin01@ittc.ku.edu .](https://reader036.fdocuments.in/reader036/viewer/2022083007/56649e915503460f94b95b09/html5/thumbnails/1.jpg)
3 October 2008 EKC 1
ns-3 Premier
Egemen Çetinkaya
Department of Electrical Engineering & Computer Science
The University of Kansas
http://wiki.ittc.ku.edu/resilinets_wiki/index.php/Main_Page
![Page 2: 1 ns-3 Premier Egemen Çetinkaya Department of Electrical Engineering & Computer Science The University of Kansas ecetin01@ittc.ku.edu .](https://reader036.fdocuments.in/reader036/viewer/2022083007/56649e915503460f94b95b09/html5/thumbnails/2.jpg)
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
![Page 3: 1 ns-3 Premier Egemen Çetinkaya Department of Electrical Engineering & Computer Science The University of Kansas ecetin01@ittc.ku.edu .](https://reader036.fdocuments.in/reader036/viewer/2022083007/56649e915503460f94b95b09/html5/thumbnails/3.jpg)
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)
![Page 4: 1 ns-3 Premier Egemen Çetinkaya Department of Electrical Engineering & Computer Science The University of Kansas ecetin01@ittc.ku.edu .](https://reader036.fdocuments.in/reader036/viewer/2022083007/56649e915503460f94b95b09/html5/thumbnails/4.jpg)
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
![Page 5: 1 ns-3 Premier Egemen Çetinkaya Department of Electrical Engineering & Computer Science The University of Kansas ecetin01@ittc.ku.edu .](https://reader036.fdocuments.in/reader036/viewer/2022083007/56649e915503460f94b95b09/html5/thumbnails/5.jpg)
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
![Page 6: 1 ns-3 Premier Egemen Çetinkaya Department of Electrical Engineering & Computer Science The University of Kansas ecetin01@ittc.ku.edu .](https://reader036.fdocuments.in/reader036/viewer/2022083007/56649e915503460f94b95b09/html5/thumbnails/6.jpg)
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
![Page 7: 1 ns-3 Premier Egemen Çetinkaya Department of Electrical Engineering & Computer Science The University of Kansas ecetin01@ittc.ku.edu .](https://reader036.fdocuments.in/reader036/viewer/2022083007/56649e915503460f94b95b09/html5/thumbnails/7.jpg)
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
![Page 8: 1 ns-3 Premier Egemen Çetinkaya Department of Electrical Engineering & Computer Science The University of Kansas ecetin01@ittc.ku.edu .](https://reader036.fdocuments.in/reader036/viewer/2022083007/56649e915503460f94b95b09/html5/thumbnails/8.jpg)
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
![Page 9: 1 ns-3 Premier Egemen Çetinkaya Department of Electrical Engineering & Computer Science The University of Kansas ecetin01@ittc.ku.edu .](https://reader036.fdocuments.in/reader036/viewer/2022083007/56649e915503460f94b95b09/html5/thumbnails/9.jpg)
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
![Page 10: 1 ns-3 Premier Egemen Çetinkaya Department of Electrical Engineering & Computer Science The University of Kansas ecetin01@ittc.ku.edu .](https://reader036.fdocuments.in/reader036/viewer/2022083007/56649e915503460f94b95b09/html5/thumbnails/10.jpg)
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
![Page 11: 1 ns-3 Premier Egemen Çetinkaya Department of Electrical Engineering & Computer Science The University of Kansas ecetin01@ittc.ku.edu .](https://reader036.fdocuments.in/reader036/viewer/2022083007/56649e915503460f94b95b09/html5/thumbnails/11.jpg)
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
![Page 12: 1 ns-3 Premier Egemen Çetinkaya Department of Electrical Engineering & Computer Science The University of Kansas ecetin01@ittc.ku.edu .](https://reader036.fdocuments.in/reader036/viewer/2022083007/56649e915503460f94b95b09/html5/thumbnails/12.jpg)
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
![Page 13: 1 ns-3 Premier Egemen Çetinkaya Department of Electrical Engineering & Computer Science The University of Kansas ecetin01@ittc.ku.edu .](https://reader036.fdocuments.in/reader036/viewer/2022083007/56649e915503460f94b95b09/html5/thumbnails/13.jpg)
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