NETWORK+ GUIDE TO
NETWORKS, FOURTH EDITION
2
!"!#$#$
%
&
"!'
!"!#
(!
!") !"#
*
3
+&,-
& ./!#
$#$& %
,( // !
,+,/ /"/- 0
+0 / .*-
0 $
4
1,&12
*" .
/ 3 "4 !
!/("
("*( 5 2%
' 6 .
/
'#
6$#$ %
5
#+1%'12
12#112-
!4(
&,%1 / "
,!
!!2% 0%
( / 2%
(
*" "/( !
/
#
"
6
7#1126
+1%'12
12-
*(*"*
"
)
(*".
8 . /
*9
/!*( / .
. .
7
7#1126
+&,-
Figure 4-1: A TCP segment
8
7#1126
+&,-
Figure 4-2: TCP segment data
9
7#1126
+&,-
Figure 4-3: Establishing a TCP connection by three handle
&,+&1,%%1%'12-
Figure 4-4: A UDP segment
11
+112-
* !/ (
(*
,:
"
(#
& (
./6 ;!#
*!
12
+&,-
Figure 4-5: An IP datagram
13
+&,-
Figure 4-6: IP datagram data
14
'+112
'%12-
"
!!*"
! .
!
(
/!*"+2-;
15
'+11&
'%%'12-
"/ .
/ .
/ / .
< .!
))/ /
! .* ! .*
1'/
( ./. /
.
16
%1+%,,112&
12-
"
( '%+"-!
(/'%:
+.-
%1(6( .
. 4'%))/ .
," /%1(
/%18 (<("
" %1(
%1( / " .
%1"
17
1%1+11%,,1
12&12-
% ('%
* "
!* :
%1
1%1*/ (!'%
%,,1#
(!. .
%6 8=>)( /(
,* ! ("
?*! . .!
/
>@@*!( /
19
%,,1#+&,-
Figure 4-8: IP addresses and their classes
20
%,,1#+&,-
' " .
(. ("*
* A+*A-
./
/*!
!
B>C*!*// .
!
2(
<.60 $// *
!/
! <. & ; 2 ;
21
%1D%,,,,'%2
%
'// "!; .
,/ /(( ? >@@
( "
("
/( /
( "8*
&'%E
*"* #)( <
("( /
=>)( /( /( *:
!/! (./
*
( .6(* . .!
//.
./
23
%%,,1
/* 8
6/ ".
" !
' / "
*/".
24
+1%12-
& !
*:'%.
" /"
," /
% "
('%*
6
:
!*
7 /!*
!!
25
,7+,D%'7
F&1%12-
%// !. . 8
*"*
% "
1/ .
/ ./
1 ! . .
(/*
* . .# <.
' . !/(