Advanced Network Simulations Simplified: Practical guide for wired, Wi-Fi (802.11n/ac/ax), and LTE networks using ns-3
- Length: 360 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2023-04-07
- ISBN-10: 1804614459
- ISBN-13: 9781804614457
- Sales Rank: #0 (See Top 100 Books)
Get to grips with the essential concepts and features of ns-3 using practical examples and assessments
Purchase of the print or Kindle book includes a free PDF eBook
Key Features
- Explore network simulation for development, testing, and evaluation activities
- Understand the key building blocks of simulation and evaluate network topologies
- Learn how to set up and evaluate wired, Wi-Fi (802.11a/b/g/n/ac/ax), and 4G LTE networks
Book Description
Network simulation is a powerful technique that uses software programs to replicate the behaviors of real networks. Network simulators are programs that can predict the performance of computer networks or wireless communication networks. This book is your hands-on guide to ns-3, a script-based simulator that allows for learning, experimenting, and evaluating wired, wireless (802.11a/b/g/n/ac/ax), and 4G long-term evolution (LTE) networks quickly and at low cost.
You’ll begin by learning how to install and use ns-3, along with exploring its key features such as building blocks for creating a variety of wired or wireless network topologies, installing suitable protocols and applications, identifying and resolving networking issues, and systematically evaluating network performance. As you make progress, you’ll gain a clear understanding of simulation errors, exceptions, and abrupt events. You’ll also discover how to set up and evaluate Ethernet, Wi-Fi (802.11n/ac/ax) LANs, ad-hoc, and LTE networks. The concluding chapters discuss LTE advanced topics such as capacity planning, site surveys, radio resources, mobility management, and interference handling. By the end of this simulation book, you’ll be able to use ns-3 to implement, analyze, debug, and evaluate the performance of wired or wireless networks, as well as setting up custom test scenarios.
What you will learn
- Get to grips with the installation of ns-3 for learning and research
- Explore ns-3 logging, debugging, tracing, and evaluation on networks
- Discover various wired, wireless, and ad hoc networks
- Understand the set-up using Wi-Fi protocols, placement, and mobility models
- Find out how to set up advanced Wi-Fi technologies such as 802.11n/ac/ax features
- Explore LTE basics, advanced network features, and research activities
Who this book is for
This book is primarily for network engineers, networking researchers, and undergraduates. Postgraduate students, researchers, and professors interested in network simulations will also find this book useful. A basic understanding of network simulation technology will be helpful in grasping the topics present in this book.
Cover Title Page Dedication Contributors Table of Contents Preface Part 1: Exploring Network Simulator-3 (ns-3) Thoroughly and Quickly Chapter 1: Getting Started with Network Simulator-3 (ns-3) Technical requirements Getting started with installing ns-3 Exploring ns-3 code easily using the Code::Blocks editor Installing and configuring Code::Blocks for ns-3 Exploring various ns-3 modules’ source code Understanding an ns-3 program’s structure Starting your first network simulation First simulation implementation activity using ns-3 First simulation evaluation using ns-3 Playing ns-3 simulations using NetAnim How to install and use NetAnim How to use the NetAnim GUI (panels and their menus) Visualizing a network simulation using NetAnim Playing your simulation using NetAnim Summary Chapter 2: Monitoring, Debugging, Tracing, and Evaluating Network Topologies in ns-3 Monitoring ns-3 simulation steps and events using logging How to display existing modules’ logging details at various levels How to include your own logging statements in your simulation program Identifying and resolving simulation issues using a debugger Going through the gdb commands quickly Walking through a simulation using gdb Detecting and resolving a simulation crash Using callbacks and traces for inspection of ns-3 nodes and protocols Accessing CSMA protocol-processed packets in your simulation Understanding TCP protocol implementation in ns-3 Performance evaluation and validation of simulations using Flow Monitor How to use Flow Monitor in ns-3 simulations Understanding Flow Monitor results Using gnuplot to project simulation results The gnuplot basics How to parse simulation results for plotting How to plot line charts and bar charts Summary Chapter 3: ns-3 Key Building Blocks for Simulations Setting up a variety of network nodes using ns-3 nodes and containers ns-3 wired networking hosts Interconnecting networks Wireless networking devices setup Connecting nodes using a variety of channels ns-3 wired channels ns-3 wireless channels Quickly installing and configuring InternetStack and applications ns-3 UDP client and server applications ns-3 UDP echo client and server applications ns-3 TCP bulk send and packet sink applications ns-3 On-Off TCP/UDP applications ns-3 HTTP client and server applications The step-by-step procedure for building a simple LAN The step-by-step procedure for building a simple wireless LAN Summary Part 2: Learn, Set Up, and Evaluate Wired and Wi-Fi (802.11a/b/g/n/ac/ax) Networks Chapter 4: Setting Up and Evaluating CSMA/P2P LANs, Wi-Fi LANs, and the Internet Step-by-step procedure for setting up CSMA/CD LANs CSMA/CD LANs simulation in ns-3 CSMA/CD LANs evaluation in ns-3 Step-by-step procedure for setting up Wi-Fi LANs Wi-Fi LANs simulation in ns-3 Wi-Fi LANs evaluation in ns-3 Step-by-step procedure for setting up heterogeneous LANs (CSMA and Wi-Fi LANs) Heterogeneous LAN simulation in ns-3 Heterogeneous LAN evaluation in ns-3 Step-by-step procedure for setting up and evaluating an internet simulation topology Internet simulation in ns-3 Internet evaluation in ns-3 Summary Chapter 5: Explore Basic Wi-Fi Technologies and Set Up and Evaluate Wireless Ad Hoc Networks Getting started with Wi-Fi nodes and channels in ns-3 ns-3 Wi-Fi PHY configuration ns-3 supporting propagation loss, delay, and error rate models Exploring Wi-Fi – operating modes, rate control algorithms, and QoS support using ns-3 Wi-Fi operating modes (infrastructural or ad hoc) ns-3 support for rate control algorithms ns-3 QoS support Understanding placement models and mobility models ListPositionAllocator GridPositionAllocator RandomDiscPositionAllocator RandomRectanglePositionAllocator GridBuildingAllocator and RandomRoomPositionAllocator ns-3 mobility models Setting up wireless ad hoc networks Setting up a wireless or mobile ad hoc network in ns-3 Evaluation of the ns-3 Wi-Fi ad hoc network Configuring and installing a variety of ad hoc network routing algorithms in ns-3 Configuring and installing various ns-3 ad hoc routing protocols in your simulations Evaluating the ns-3 Wi-Fi ad hoc routing algorithms Summary Chapter 6: Researching Advanced Wi-Fi Technologies – 802.11n, ac, and ax in ns-3 Understanding the 802.11n, ac, and ax Wi-Fi PHY and MAC enhancements supported in ns-3 ns-3 supporting 802.11n, ac, and ax Wi-Fi PHY layer features ns-3 supporting 802.11n, ac, and ax Wi-Fi MAC layer features Simulating advanced Wi-Fi features – channel bonding and FA Setting up an 802.11n Wi-Fi LAN in ns-3 for simulating channel bonding and FA Testing the channel-bonding and FA features of 802.11n in an ns-3 simulation Simulating advanced Wi-Fi features – MIMO and OFDM Setting up and evaluating an 802.11ac Wi-Fi LAN in ns-3 for testing the MIMO and OFDM features Testing the MIMO and OFDM features of 802.11ac in an ns-3 simulation Exploring spectrum/resource management in Wi-Fi 6 using ns-3 Setting up and simulating resource scheduling in 802.11ax/Wi-Fi 6 networks Evaluating the resource scheduling feature of 802.11ax Exploring spectrum reuse in Wi-Fi 6 using ns-3 Setting up and simulating resource scheduling in 802.11ax/Wi-Fi6 networks Evaluation of the BSS coloring feature Summary Part 3: Learn, Set Up, and Evaluate 4G Long-Term Evolution (LTE) Networks Chapter 7: Getting Started with LTE Network Simulations Using ns-3 Understanding the LTE network nodes, protocols, and features supported in ns-3 ns-3 LTE implementation supporting E-UTRAN features Learning how to set up and configure various LTE nodes in ns-3 ns-3 LTE RAN nodes setup and their configuration Configuring ns-3 resource scheduling, handover, and interference control algorithms ns-3 LTE EPC node setup and configuration Simulating LTE RAN and EPC networks using ns-3 key building blocks Setting up and configuring the LTE EPS network hands-on activity using ns-3 Evaluation of LTE EPS simulation setup Summary Chapter 8: Researching LTE Network Radio Resource Management and Mobility Management Using ns-3 Exploring LTE radio resource-scheduling algorithms supported in ns-3 ns-3 LTE operating spectrum Common design considerations of ns-3 LTE radio resource schedulers ns-3 LTE schedulers’ performance evaluation hands-on activity ns-3 LTE schedulers’ performance evaluation Simulating and testing LTE EPC QoS bearers’ supporting features in ns-3 Evaluation of LTE EPS QoS bearers Setting up an LTE network mobility scenario using ns-3-supported handover algorithms Generation and handling of handover measurement reports LTE standard handover events’ simulation ns-3.36 LTE module supporting handover algorithms ns-3 LTE mobility scenario simulation ns-3 LTE mobility scenario evaluation Summary Chapter 9: Researching LTE Advanced Networks: LTE HetNets and Interference Management Using ns-3 Using ns-3 REM plots for site surveying and LTE deployments LTE deployment site surveying using ns-3 – hands-on activity REM plot generation and inspection Setting up LTE HetNets using ns-3 LTE HetNets setup in ns-3 LTE HetNet evaluation Exploring and configuring the LTE interference management algorithms supported in ns-3 ns-3 supporting LTE interference management approaches Testing how the ns-3-supporting LTE Strict FR, Soft FFR, and Enhanced FFR algorithms work Summary Index About Packt Other Books You May Enjoy
Donate to keep this site alive
How to download source code?
1. Go to: https://github.com/PacktPublishing
2. In the Find a repository… box, search the book title: Advanced Network Simulations Simplified: Practical guide for wired, Wi-Fi (802.11n/ac/ax), and LTE networks using ns-3
, sometime you may not get the results, please search the main title.
3. Click the book title in the search results.
3. Click Code to download.
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.