Contents - beck

advertisement
Cambridge University Press
052160124X - TCP/IP Essentials: A Lab-Based Approach
Shivendra S. Panwar, Shiwen Mao, Jeong-dong Ryoo and Yihan Li
Table of Contents
More information
Contents
Preface
Note to instructors
Acknowledgements
General conventions
List of abbreviations
0
TCP/IP overview
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
0.10
0.11
1
The Internet
TCP/IP protocols
Internetworking devices
Encapsulation and multiplexing
Naming and addressing
Multiple access
Routing and forwarding
Congestion control and flow control
Error detection and control
Header formats of the protocols
An example: how TCP/IP protocols work
together
page xiii
xv
xvi
xvii
xviii
1
1
2
5
7
8
15
16
17
18
19
22
Linux and TCP/IP networking
26
1.1
1.2
1.3
1.4
26
26
31
35
Objectives
Linux and TCP/IP implementations
Linux commands and tools
Diagnostic tools
vii
© Cambridge University Press
www.cambridge.org
Cambridge University Press
052160124X - TCP/IP Essentials: A Lab-Based Approach
Shivendra S. Panwar, Shiwen Mao, Jeong-dong Ryoo and Yihan Li
Table of Contents
More information
viii
Contents
1.5
1.6
1.7
2
3
4
Exercises with Linux commands
Exercises with diagnostic tools
Exercises on port numbers
36
39
41
A single segment network
43
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
2.9
43
43
50
52
54
54
55
58
59
Objectives
Local area networks
Network interface
The Internet Control Message Protocol
The Sock traffic generator
Network interface exercises
ARP exercises
Exercises with ICMP and ping
Exercises with IP address and subnets mask
Bridges, LANs and the Cisco IOS
61
3.1
3.2
3.3
3.4
3.5
3.6
3.7
61
61
66
71
73
75
76
Objectives
Ethernet bridges
Configuring a bridge or router
Exercises on Cisco IOS
A simple bridge experiment
Spanning tree exercises
Exercise on the Cisco IOS web browser UI
Static and dynamic routing
77
4.1
4.2
4.3
4.4
4.5
4.6
4.7
77
77
89
90
91
93
95
© Cambridge University Press
Objectives
Static and dynamic routing
Manipulating routing tables
Traceroute
A simple router experiment
RIP exercises
Routing experiments with ICMP
www.cambridge.org
Cambridge University Press
052160124X - TCP/IP Essentials: A Lab-Based Approach
Shivendra S. Panwar, Shiwen Mao, Jeong-dong Ryoo and Yihan Li
Table of Contents
More information
ix
Contents
4.8 OSPF exercise
4.9 Static routing experiment
4.10 Traceroute experiment
5
6
7
97
98
99
UDP and its applications
100
5.1
5.2
5.3
5.4
5.5
5.6
5.7
5.8
100
100
101
102
106
106
107
108
Objectives
The User Datagram Protocol
MTU and IP fragmentation
Client–server applications
Using the sock program
UDP exercises
Path MTU discovery exercise
Exercises with FTP and TFTP
TCP study
111
6.1
6.2
6.3
6.4
6.5
6.6
6.7
6.8
6.9
6.10
6.11
6.12
111
111
112
114
123
124
126
127
128
128
129
130
Objectives
TCP service
Managing the TCP connection
Managing the TCP data flow
Tuning the TCP/IP kernel
TCP diagnostic tools
Exercises on TCP connection control
Exercise on TCP interactive data flow
Exercise on TCP bulk data flow
Exercises on TCP timers and retransmission
Other exercises
Exercises with DBS and NIST Net
Multicast and realtime service
134
7.1
7.2
134
134
© Cambridge University Press
Objectives
IP multicast
www.cambridge.org
Cambridge University Press
052160124X - TCP/IP Essentials: A Lab-Based Approach
Shivendra S. Panwar, Shiwen Mao, Jeong-dong Ryoo and Yihan Li
Table of Contents
More information
x
Contents
7.3
7.4
7.5
7.6
7.7
8
9
Realtime multimedia streaming
Simple multicast exercises
IGMP exercises
Multicast routing exercises
Multicast video streaming exercise
145
152
154
156
158
The Web, DHCP, NTP and NAT
159
8.1
8.2
8.3
8.4
8.5
8.6
8.7
8.8
8.9
8.10
8.11
159
159
164
169
172
175
178
180
181
182
185
Objectives
The HyperText Transfer Protocol
The Dynamic Host Configuration Protocol
The Network Time Protocol
The IP network address translator
Socket programming in a nutshell
HTTP exercises
DHCP exercises
NTP exercises
NAT exercises
Socket programming exercises
Network management and security
187
9.1
9.2
9.3
9.4
9.5
9.6
9.7
9.8
9.9
9.10
9.11
9.12
9.13
187
187
192
193
198
200
203
205
208
209
210
211
212
© Cambridge University Press
Objectives
Network management
Network security overview
Encryption, confidentiality, and authentication
Application layer security
Transport layer and web security
Network layer security
System security
SNMP exercises
Exercises on secure applications
Exercises on a secure Apache server
Exercises on firewalls and iptables
Exercises on auditing and intrusion detection
www.cambridge.org
Cambridge University Press
052160124X - TCP/IP Essentials: A Lab-Based Approach
Shivendra S. Panwar, Shiwen Mao, Jeong-dong Ryoo and Yihan Li
Table of Contents
More information
xi
Contents
References and further reading
214
Appendix A: instructor’s guide
216
A.1
A.2
A.3
A.4
A.5
A.6
216
217
219
229
230
232
Lab operation mechanism
Lab equipment
Software installation and configuration
Estimated budget
Root privilege for system commands
Internet access
Appendix B: initial configuration of the routers
233
B.1 Initial configuration of router1
B.2 Initial configurations of the other routers
233
235
Appendix C: source code
236
C.1
C.2
C.3
C.4
236
239
245
246
Command files for the DBS experiments
Netspy source code
HTML and CGI files
Socket programming source code
Appendix D: list of key requests for comments (RFC)
253
Index
258
© Cambridge University Press
www.cambridge.org
Download