Preface |
|
ix | |
Author Biographies |
|
xiii | |
|
|
1 | (36) |
|
1.1 Rapid Evolution of Voice and Data Communication Techniques |
|
|
1 | (2) |
|
1.2 Evolution of Computer Communication Networks |
|
|
3 | (2) |
|
1.3 Convergence of Data and Telecommunication Networks |
|
|
5 | (1) |
|
1.4 Integration of TCP/IP into Unix |
|
|
6 | (1) |
|
|
6 | (1) |
|
|
7 | (6) |
|
1.6 Overview of Simulation |
|
|
13 | (5) |
|
1.6.1 Advantages of simulation |
|
|
14 | (1) |
|
1.6.2 Disadvantages of simulation |
|
|
15 | (1) |
|
1.6.3 Types of simulation |
|
|
16 | (2) |
|
1.7 A Few Basic Concepts in Simulation |
|
|
18 | (9) |
|
1.7.1 Monte Carlo simulation |
|
|
19 | (1) |
|
1.7.2 Confidence intervals |
|
|
20 | (4) |
|
1.7.3 A brief history of computer-aided simulation |
|
|
24 | (1) |
|
1.7.4 Simulation versus other evaluation techniques |
|
|
25 | (1) |
|
1.7.5 Writing your simulation program versus using a simulation tool |
|
|
26 | (1) |
|
1.7.6 Basic simulation terminology |
|
|
27 | (1) |
|
1.8 Discrete-Event Simulation |
|
|
27 | (3) |
|
1.8.1 Model validation techniques |
|
|
29 | (1) |
|
1.9 Basics of Network Simulation |
|
|
30 | (1) |
|
|
31 | (1) |
|
1.11 Common Mistakes in Simulation |
|
|
32 | (5) |
|
|
37 | (24) |
|
2.1 TCP/IP Protocol Suite |
|
|
37 | (2) |
|
|
39 | (2) |
|
2.3 Architecture of TCP/IP |
|
|
41 | (2) |
|
2.4 Overview of the Operation of TCP |
|
|
43 | (2) |
|
2.5 Application Layer Protocols of TCP |
|
|
45 | (1) |
|
2.6 TCP/IP versus the ISO/OSI Model |
|
|
45 | (1) |
|
2.7 Adaptation of the TCP Window |
|
|
46 | (2) |
|
2.8 Improvement of TCP Performance |
|
|
48 | (5) |
|
2.8.1 Traditional networks |
|
|
49 | (1) |
|
2.8.2 TCP in mobile networks |
|
|
50 | (3) |
|
|
53 | (8) |
|
3 Network Programming Using Socket API |
|
|
61 | (46) |
|
|
61 | (1) |
|
|
62 | (9) |
|
|
71 | (12) |
|
|
71 | (3) |
|
|
74 | (4) |
|
3.3.3 Byte ordering functions |
|
|
78 | (1) |
|
3.3.4 Address conversion functions |
|
|
78 | (1) |
|
3.3.5 Functions for protocol addresses |
|
|
79 | (1) |
|
3.3.6 Functions for hostname |
|
|
80 | (3) |
|
|
83 | (11) |
|
3.4.1 Synchronous I/O multiplexing using select() call |
|
|
84 | (10) |
|
|
94 | (7) |
|
|
101 | (6) |
|
|
107 | (36) |
|
|
108 | (1) |
|
4.2 Simulator Input and Output |
|
|
109 | (1) |
|
4.3 NS2 Installation Steps |
|
|
110 | (8) |
|
|
112 | (2) |
|
|
114 | (1) |
|
|
115 | (3) |
|
4.4 NS2 Directories and Files |
|
|
118 | (1) |
|
4.5 Network Animator (NAM) |
|
|
119 | (4) |
|
4.6 NS2 Program Structure |
|
|
123 | (2) |
|
|
125 | (18) |
|
5 Basics of Protocol Simulation Using NS2 |
|
|
143 | (44) |
|
|
143 | (1) |
|
|
144 | (1) |
|
5.3 Basic Programming Constructs |
|
|
145 | (11) |
|
|
146 | (1) |
|
|
147 | (2) |
|
5.3.3 Mathematical expressions |
|
|
149 | (1) |
|
|
150 | (6) |
|
|
156 | (2) |
|
|
158 | (1) |
|
|
159 | (1) |
|
|
160 | (2) |
|
|
162 | (3) |
|
5.8.1 Reading and writing files |
|
|
163 | (2) |
|
5.9 Object-Oriented Tel (OTcl) |
|
|
165 | (4) |
|
5.9.1 Classes and objects |
|
|
165 | (4) |
|
|
169 | (5) |
|
5.10.1 General structure of AWK |
|
|
171 | (1) |
|
5.10.2 Other AWK constructs |
|
|
171 | (3) |
|
|
174 | (13) |
|
|
176 | (4) |
|
|
180 | (1) |
|
|
181 | (2) |
|
5.11.4 Saving plots into files |
|
|
183 | (4) |
|
6 Wired Network Simulation |
|
|
187 | (80) |
|
|
187 | (1) |
|
6.2 Step-by-Step Wired Network Simulation |
|
|
187 | (6) |
|
6.3 Visualization Using NAM |
|
|
193 | (4) |
|
6.4 Link Layer --- Links and Queueing |
|
|
197 | (10) |
|
6.4.1 Point-to-point links |
|
|
198 | (5) |
|
|
203 | (4) |
|
6.5 Network Layer --- Routing |
|
|
207 | (13) |
|
6.6 Transport Layer --- Transport Agents |
|
|
220 | (18) |
|
6.6.1 User datagram protocol (UDP) |
|
|
220 | (1) |
|
6.6.2 Transmission control protocol (TCP) |
|
|
221 | (17) |
|
|
238 | (13) |
|
6.8 Application Layer --- Traffic Generators |
|
|
251 | (5) |
|
|
251 | (3) |
|
6.8.2 Simulated applications |
|
|
254 | (2) |
|
6.9 Network Dynamics---Node/Link Failure Models |
|
|
256 | (1) |
|
|
257 | (10) |
|
7 Wireless Network Simulation |
|
|
267 | (44) |
|
7.1 Wired versus Wireless Network Simulation |
|
|
269 | (2) |
|
7.2 Step-by-Step Wireless Network Simulation |
|
|
271 | (12) |
|
7.3 Wireless Networking Modules |
|
|
283 | (2) |
|
7.3.1 Mobile node architecture |
|
|
283 | (2) |
|
|
285 | (3) |
|
7.4.1 Destination sequenced distance vector (DSDV) |
|
|
285 | (1) |
|
7.4.2 Dynamic source routing (DSR) |
|
|
286 | (1) |
|
7.4.3 Temporally ordered routing algorithm (TORA) |
|
|
287 | (1) |
|
7.4.4 Ad hoc on demand distance vector (AODV) |
|
|
288 | (1) |
|
|
288 | (3) |
|
7.6 Network Performance Metrics |
|
|
291 | (5) |
|
7.7 Practical Simulation Issues |
|
|
296 | (7) |
|
7.7.1 Generating scenario |
|
|
297 | (1) |
|
7.7.2 Generating a connection pattern |
|
|
297 | (5) |
|
7.7.3 More performance metrics |
|
|
302 | (1) |
|
|
303 | (8) |
Index |
|
311 | |