Như chúng ta đã biết Internet là một mạng máy tính toàn cầu, do hàng nghìn mạng máy tính từ khắp mọi nơi kết nối lại. Khác với cách tổ chức theo các cấp nội hạt, liên tỉnh, quốc tế của một mạng viễn thông như mạng thoịa chẳng hạn, mạng Internet tổ chức chỉ có một cấp, các mạng máy tính dù nhỏ, dù to khi nối vào internet đều bình đẳng với nhau
41 trang |
Chia sẻ: franklove | Lượt xem: 2155 | Lượt tải: 1
Bạn đang xem trước 20 trang tài liệu Tài liệu giới thiệu chung về địa chỉ IPV4, để xem tài liệu hoàn chỉnh bạn click vào nút DOWNLOAD ở trên
ÀDFK”LSY*LˇLWKL‚XFKXQJ
1K} FK¶QJ WD ~¯ ELW ,QWHUQHW O P›W PQJ P\ W¢QK WRQ FX GR KQJ
QJKQPQJP\W¢QKW‚NKSP¤LQ|LQ‹LOLWRQzQ.KFY–LFFKW“FK»FWKHR
FFFSQ›LKWOLzQWQKTX‹FWF·DP›WPQJYLQWK{QJQK}PQJWKRLFK
QJ
KQPQJ,QWHUQHWW“FK»FFKF§P›WFSFFPQJP\W¢QKG‡QK¥G‡WRNKL
Q‹LYR,QWHUQHW~XEQK~
QJY–LQKDX’RFFKW“FK»FQK}Y\QzQWUzQ,QWHUQHW
F§FXWU¶F~£DFKFFK~QK~£DFK~FELWWURQJNKLFFK~QK~£DFK~‹LY–L
PQJYLQWK{QJOL~|QJLQK|QQKLX
w‹LY–LPQJYLQWK{QJQK}PQJWKRLFK
QJKQNKFKKQJflFFY‡QJ
NKFQKDXKRQ WRQ F§ WK F§ F‡QJ V‹~LQ WKRL SKyQELW Y–L QKDXEQJP¯
Y‡QJP¯WQKKD\P¯TX‹FWw‹LY–LPQJ,QWHUQHWGRFFKW“FK»FFKF§P›W
FSQzQP«LP›WNKFKKQJKD\P›WP\FK·+RVWKRF5RXWHU~XF§P›W
~£DFK,QWHUQHWGX\QKWPNK{QJ~}†FSKSWU‡QJY–LEWN‰DL’RY\P~£D
FKWUzQ,QWHUQHWWK…FV…OP›WWLQJX\zQ
+QJ FK•F WULXP\ FK· WUzQ KQJ WUxP QJKQPQJw ~£D FK NK{QJ
~}†FWU‡QJQKDXFQSKLF§FXWU¶F~£DFK~FELWTXQOÀWK‹QJQKWYP›W
7“ FK»F F·D ,QWHUQHW J¤L O 7UXQJ WyP WK{QJ WLQ PQJ ,QWHUQHW 1HWZRUN
,QIRUPDWLRQ&HQWHU1,&FK·WUSKyQSK‹L1,&FKSKyQ~£DFKPQJ1HW,’
F⁄Q~£DFKP\FK·WUzQPQJ~§+RVW,’GRFF7“FK»FTXQOÀ,QWHUQHW
F·DW‚QJTX‹FJLDP›WW…SKyQSK‹L7URQJWK…FW~F§WK~£QKWX\QURXWLQJ
WUzQPQJ,QWHUQHWQJRL~£DFK,3F⁄QFQ~QWzQULzQJF·DFFP\FK·+RVW
’RPDLQ1DPH&FSKQWLSWKHRFK¶QJWDK¯\QJKLzQF»XFXWU¶F~FELWF·D
~£DFK,QWHUQHW
,&‹XWUÕFÀDFK”,3&KLWLW
D7KyQKSKQYyKQKG}QJF§DxDFK,3
w£DFK,3~DQJ~}†FV„G•QJKLQWL,3YF§ELWFKLDWKQK2FWHW
P«L2FWHWF§ELWW}|QJ~}|QJE\WHFFK~P~XW‚WULTXDSKLE¢WFKR
~QE¢WFF2FWHWWFKELWQKDXEQJGXFKPEDRJ'PF§WKQKSKQ
FK¢QK
cla ss
b it Net ID Host ID
%LW
%LWQKQGQJO–S&ODVVELW
w£DFKF·DPQJ1HW,’
w£DFKF·DP\FK·+RVW,’
Simpo PDF Merge and Split Unregistered Version -
*KLFK¡7lQOqiDFKPt\FKQKoQJWK§FWNKmQJFKFPt\FKPq
W~WFrFtFPt\FRQ:RUNVWDWLRQFtFFQJWUX\QKSYYp
XF{QFpDFK
%LWQKQGQJO–S&ODVVELW~SKyQELW~£DFKflO–SQR
w£DFK,QWHUQHWELXKLQflGQJELWQK£SKyQ
[\[\[\[\[\[\[\[\[\[\[\[\[\[\[\[\
[\ KRF
9¢G•
ELW QKQ GQJ 2FWHW 2FWHW 2FWHW 2FWHW
w£DFK,QWHUQHWELXKLQflGQJWKSSKyQ[[[[[[[[[[[[
[OV‹WKSSKyQW‚~Q
9¢G•
’QJYLW~\~·F·D~£DFK,3OFRQV‹WURQJW‚QJ2FWHW9¢G•~£DFK,3
WK}fiQJ WK\ WUzQ WK…F W F§ WK O QK}QJ GQJ ~\ ~· O
E&|FO⁄SxDFK,3
w£DFK,3FKLDUDO–S$%&’(+LQWL~¯G‡QJKWO–S$%YJQ
KWO–S&F⁄QO–S’Y(7“FK»FLQWHUQHW~DQJ~GQKFKRP•F~¢FKNKFNK{QJ
SKyQQzQFK¶QJWDFKQJKLzQF»XO–S~X
Simpo PDF Merge and Split Unregistered Version -
16 24
class a :
0
class b
1 0
class c
1 1 0
net id host id
net id host id
net id host id
1 328
octet 1 octet 4octet 3octet 2
8 16 24 32
1 1 1 0
Class d
8 16 24 32
1 1 1 1 0
class e
4XDFXWU¶FFFO–S~£DFK,3FK¶QJWDF§QKQ[WVDX
%LWQKQGQJOQK”QJELW~XWLzQF·DO–S$OF·DO–S%OF·D
O–S&O
Simpo PDF Merge and Split Unregistered Version -
/–S’F§ELW~XWLzQ~QKQGQJOF⁄QO–S(F§E¢W~XWLzQ
~QKQGQJO
w£DFKO–S$w£DFKPQJ¢WY~£DFKP\FK·WUzQW‚QJPQJQKLX
w£DFKO–S%w£DFKPQJY‚DSKLY~£DFKP\FK·WUzQW‚QJPQJ
Y‚DSKL
w£DFKO–S&w£DFKPQJQKLX~£DFKP\FK·WUzQW‚QJPQJ¢W
iD FK 9QJ pD FK 6 PuQJ WL pD 6 Pt\ FK WL pD
OS O« WKX\W V¤ G¢QJ WUlQ W£QJ PuQJ
$ W‚~Q
% W‚~Q
&W‚~Q
’W‚~Q.K{QJSKyQ
(W‚~Q.K{QJSKyQ
iD FK 9QJ pD FK %LW QKQ GuQJ 6 ELW GQJ p
OS V¤ G¢QJ 3KkQ FKR PuQJ
$ W‚~Q
% W‚~Q
&W‚~Q
’
(
1K}Y\QXFK¶QJWDWK\~£DFK,3F§QK§PV‹FFKQKDXEQJGXFKP
QX WK\ QK§P V‹ WK» QKW QK¥ K|Q ELW ~£D FK Q\ fl O–S $ QP WURQJ
NKRQJ~QELW~£DFKQ\flO–S%YW‚~QELW~£DFKQ\fl
O–S&
,LÀDFK”PQJFRQFÓD,QWHUQHW
,3VXEQHWWLQJ
D1JX\tQQKsQ
1K}~¯QzXWUzQ~£DFKWUzQ,QWHUQHWWK…FV…OP›WWLQJX\zQP›WPQJ
NKLJLDQKS,QWHUQHW~}†F7UXQJWyPWK{QJWLQPQJ,QWHUQHW1,&SKyQFKRP›W
V‹~£DFKY‚D~·G‡QJY–L\zXFXO¶F~§VDXQ\QXPQJSKWWULQWKzPOL
SKL[LQ1,&WKzP~§O~LXNK{QJWKXQWLQFKRFFQKNKDLWKFPQJ
+|QQ”DFFO–S~£DFKF·D,QWHUQHWNK{QJSKLKRQWRQSK‡K†SY–L\zX
FXWK…FW~£DFKO–S%FK
QJKQP«LP›W~£DFKPQJF§WKFSFKR
Simpo PDF Merge and Split Unregistered Version -
P\FK·7K…FWF§PQJQK¥FKF§YLFK•FP\FK·WKVO¯QJSK¢UWQKLX
~£DFKF⁄QOLPNK{QJDLG‡QJ~}†FwNKFSK•FYQ~Q\YWQG•QJW‹L
~D~£DFK~}†F1,&SKyQEW~XW‚QxPQJ}fiLWDQJK¡~Qw£DFKPQJ
FRQ
1K}Y\SKyQ~£DFKPQJFRQOPflU›QJ~£DFKFKRQKLXPQJWUzQF|
VflPWpDFKPuQJP1,&SKyQFKRSK‡K†SY–LV‹O}†QJWK…FWP\FK·F§
WUzQW‚QJPQJ
%3KwvQJSK|SSKsQFKLDxDFKP}QJFRQ&KLWLW
7U}–F NKL QJKLzQ F»X SKQ Q\ FK¶QJ WD FQ SKL KLX TXDP›W V‹ NKL
QLPOLzQTXDQW–LYLFSKyQ~£DFKFFPQJFRQ
’HIDXOW0DVN*LWU£WUQ~£DFKPQJ~}†F~£QKQJK¡DWU}–F
FKRW‚QJO–S~£DFK$%&7K…FFKWOJLWU£WKSSKyQFDRQKWNKLWW
FELW~XEQJWURQJFF2FWHWGQKFKR~£DFKPQJ1HW,’
’HIDXOW0DVN /–S$
/–S%
/–S&
6XEQHW0DVNJLWU£WUQF·DW‚QJPQJFRQ
6XEQHW0DVNONWK†SF·D’HIDXOW0DVNY–LJLWU£WKSSKyQFDRQKWF·D
FFELWO\W‚FF2FWHWF·D~£DFKP\FK·VDQJSKQ~£DFKPQJ~WR
~£DFKPQJFRQ
6XEQHW0DVNEDRJLfiFµQJ~LNPY–L~£DFKPQJWLzXFKXQ ~
FKRQJ}fiL~¤FELW~£DFKPQJWLzXFKXQQ\G‡QJFFKR P\ FK· KD\
FKLDUDWKQKFFPQJFRQ0WNKFQ§F⁄QJL¶S 5RXWHU WURQJYLF~£QK WX\Q
FX›FJ¤L
1JX\lQWyFFKXQJ
/\E–WP›WV‹ELWF·DSKQ~£DFKP\FK·~WR~£DFKPQJFRQ
/\~LEDRQKLzXELWSK•WKX›FYRV‹PQJFRQFQWKLW6XEQHWPDVN
PQKNKDLWKFPQJTX\W~£QKVWRUD
Simpo PDF Merge and Split Unregistered Version -
&XWU»F¤DFK£F„D,QWHUQHW¤DFK£,3
1GrM * (He SGHT BGTMF
1K} FK¶QJ WD ~¯ ELW ,QWHUQHW O P›W PQJ P\ W¢QK WRQ FX GR KQJ
QJKQPQJP\W¢QKW‚NKSP¤LQ|LQ‹LOLWRQzQ.KFY–LFFKW“FK»FWKHR
FFFSQ›LKWOLzQWQKTX‹FWF·DP›WPQJYLQWK{QJQK}PQJWKRLFK
QJ
KQPQJ,QWHUQHWW“FK»FFKF§P›WFSFFPQJP\W¢QKG‡QK¥G‡WRNKL
Q‹LYR,QWHUQHW~XEQK~
QJY–LQKDX’RFFKW“FK»FQK}Y\QzQWUzQ,QWHUQHW
F§FXWU¶F~£DFKFFK~QK~£DFK~FELWWURQJNKLFFK~QK~£DFK~‹LY–L
PQJYLQWK{QJOL~|QJLQK|QQKLX
w‹LY–LPQJYLQWK{QJQK}PQJWKRLFK
QJKQNKFKKQJflFFY‡QJ
NKFQKDXKRQ WRQ F§ WK F§ F‡QJ V‹~LQ WKRL SKyQELW Y–L QKDXEQJP¯
Y‡QJP¯WQKKD\P¯TX‹FWw‹LY–LPQJ,QWHUQHWGRFFKW“FK»FFKF§P›W
FSQzQP«LP›WNKFKKQJKD\P›WP\FK·+RVWKRF5RXWHU~XF§P›W
~£DFKLQWHUQHWGX\QKWPNK{QJ~}†FSKSWU‡QJY–LEWN‰DL’RY\P~£D
FKWUzQ,QWHUQHWWK…FV…OP›WWLQJX\zQ
+QJ FK•F WULXP\ FK· WUzQ KQJ WUxP QJKQPQJw ~£D FK NK{QJ
~}†FWU‡QJQKDXFQSKLF§FXWU¶F~£DFK~FELWTXQOÀWK‹QJQKWYP›W
7“ FK»F F·D ,QWHUQHW J¤L O 7UXQJ WyP WK{QJ WLQ PQJ ,QWHUQHW 1HWZRUN
,QIRUPDWLRQ&HQWHU1,&FK·WUSKyQSK‹L1,&FKSKyQ~£DFKPQJ1HW,’
F⁄Q~£DFKP\FK·WUzQPQJ~§+RVW,’GRFF7“FK»FTXQOÀ,QWHUQHW
F·DW‚QJTX‹FJLDP›WW…SKyQSK‹L7URQJWK…FW~F§WK~£QKWX\QURXWLQJ
WUzQPQJ,QWHUQHWQJRL~£DFK,3F⁄QFQ~QWzQULzQJF·DFFP\FK·+RVW
’RPDLQ1DPH&FSKQWLSWKHRFK¶QJWDK¯\QJKLzQF»XFXWU¶F~FELW
F·D~£DFK,QWHUQHW
OGrM ** $uT SQB g
@ BG *1
D7KyQKSKQYyKQKG}QJF§DxDFK,3
w£DFK,3~DQJ~}†FV„G•QJKLQWL,3YF§ELWFKLDWKQK2FWHW
P«L2FWHWF§ELWW}|QJ~}|QJE\WHFFK~P~XW‚WULTXDSKLE¢WFKR
~QE¢WFF2FWHWWFKELWQKDXEQJGXFKPEDRJ'PF§WKQKSKQ
FK¢QK
cla ss
b it Net ID Host ID
%LW
%LWQKQGQJO–S&ODVVELW
w£DFKF·DPQJ1HW,’
w£DFKF·DP\FK·+RVW,’
Simpo PDF Merge and Split Unregistered Version -
*KLFK¡7lQOqiDFKPt\FKQKoQJWK§FWNKmQJFKFPt\FKPq
W~WFrFtFPt\FRQ:RUNVWDWLRQFtFFQJWUX\QKSYYp
XF{QFpDFK
%LWQKQGQJO–S&ODVVELW~SKyQELW~£DFKflO–SQR
w£DFK,QWHUQHWELXKLQflGQJELWQK£SKyQ
[\[\[\[\[\[\[\[\[\[\[\[\[\[\[\[\
[\ KRF
9¢G•
ELW QKQ GQJ 2FWHW 2FWHW 2FWHW 2FWHW
w£DFK,QWHUQHWELXKLQflGQJWKSSKyQ[[[[[[[[[[[[
[OV‹WKSSKyQW‚~Q
9¢G•
’QJYLW~\~·F·D~£DFK,3OFRQV‹WURQJW‚QJ2FWHW9¢G•~£DFK,3
WK}fiQJ WK\ WUzQ WK…F W F§ WK O QK}QJ GQJ ~\ ~· O
E&|FO⁄SxDFK,3
w£DFK,3FKLDUDO–S$%&’(+LQWL~¯G‡QJKWO–S$%YJQ
KW O–S & F⁄Q O–S’ Y ( 7“ FK»F LQWHUQHW ~DQJ ~ GQK FKRP•F ~¢FK NKF
NK{QJSKyQQzQFK¶QJWDFKQJKLzQF»XO–S~X
Simpo PDF Merge and Split Unregistered Version -
16 24
class a :
0
class b
1 0
class c
1 1 0
net id host id
net id host id
net id host id
1 328
octet 1 octet 4octet 3octet 2
8 16 24 32
1 1 1 0
Class d
8 16 24 32
1 1 1 1 0
class e
4XDFXWU¶FFFO–S~£DFK,3FK¶QJWDF§QKQ[WVDX
%LWQKQGQJOQK”QJELW~XWLzQF·DO–S$OF·DO–S%OF·D
O–S&O
Simpo PDF Merge and Split Unregistered Version -
/–S’F§ELW~XWLzQ~QKQGQJOF⁄QO–S(F§E¢W~XWLzQ
~QKQGQJO
w£DFKO–S$w£DFKPQJ¢WY~£DFKP\FK·WUzQW‚QJPQJQKLX
w£DFKO–S%w£DFKPQJY‚DSKLY~£DFKP\FK·WUzQW‚QJPQJ
Y‚DSKL
w£DFKO–S&w£DFKPQJQKLX~£DFKP\FK·WUzQW‚QJPQJ¢W
iD FK 9QJ pD FK 6 PuQJ WL pD 6 Pt\ FK WL pD
OS O« WKX\W V¤ G¢QJ WUlQ W£QJ PuQJ
$ W‚~Q
% W‚~Q
&W‚~Q
’W‚~Q.K{QJSKyQ
(W‚~Q.K{QJSKyQ
iD FK 9QJ pD FK %LW QKQ GuQJ 6 ELW GQJ p
OS V¤ G¢QJ 3KkQ FKR PuQJ
$ W‚~Q
% W‚~Q
&W‚~Q
’
(
1K}Y\QXFK¶QJWDWK\~£DFK,3F§QK§PV‹FFKQKDXEQJGXFKP
QX WK\ QK§P V‹ WK» QKW QK¥ K|Q ELW ~£D FK Q\ fl O–S $ QP WURQJ
NKRQJ~QELW~£DFKQ\flO–S%YW‚~QELW~£DFKQ\fl
O–S&
*KL QK iD FK WK§F W NKmQJ SKkQ WURQJ WUoQJ KS W~W Fr FtF ELW WURQJ PW KD\ QKL
X
2FWHW V¤ G¢QJ FKR pD FK PuQJ KD\ pD FK Pt\ FK p
X EvQJ KD\ p
X EvQJ iL
X Qq\
p¡QJ FKR W~W Fr FtF OS pD FK
H g
@ BG -O "
7“QJTXWFKXQJ
Simpo PDF Merge and Split Unregistered Version -
%LWWK»QKWOELWQKQGQJO–S$
ELWF⁄QOLWURQJ2FWHWWK»QKWGQKFKR~£DFKPQJ
2FWHWF⁄QOLF§ELWGQKFKR~£DFKF·DP\&K·
&ODVV$
2FWHW 2FWHW 2FWHW 2FWHW
8 16 24
0
net id host id
1 32
PQJP\FK·WUzQP›WPQJ
DqDFKP}QJ1HW,’
.KrQjQJSKkQpDFK
.KL~PV‹ELWFK¶QJWD~PW‚WULTXDSKL QK}QJNKL W¢QKJL WU£ WKS
SKyQQ F·DELWOLW¢QKW‚SKLTXDWULEW~XW‚ELW2FWHWWK»QKWGQKFKR
~£DFKPQJELW OELWQKQGQJO–S$ELWF⁄QOLW‚ELW~QELWGQK
FKR~£DFKPQJ 1K}QJWUzQWK…FW~£DFKNKLWWFFFELWEQJ
KRFEQJ~XNK{QJSKyQFKRPQJ.KLJLWU£FFELW~XEQJJLWU£WKS
SKyQONK{QJF§QJK¡DF⁄Q~£DFKONKLFFELW~XEQJG‡QJ~WK{QJ
ERQ›LE›QzQWUzQWK…FWF⁄QOLPQJ
2FWHW
0
net id
7 6 . . .. . . . . ..0 bit
&FKW¢QK~£DFKPQJO–S$
6‹WK»W…%LWQW¢QKW‚SKLTXDWUL
*LWU£QK£SKyQKD\F·D%LW[[[[[[[
*LWU£WKSSKyQW}|QJ»QJNKLJLWU£ELW VOQ
*LWU£WKSSKyQW}|QJ»QJNKLJLWU£ELW NK{QJW¢QK
*LWU£WKSSKyQO–QQKWNKLJLWU£F·DELW~XEQJO
6DX~y\OFFKW¢QKWU¤QYQJLWU£F·DWWFFF%LW
Simpo PDF Merge and Split Unregistered Version -
*LWU£W}|QJ»QJY–L
WK»W…ELWQ1HW,’
*¢DWU£Q w£DFKPQJ
.K{QJSKyQ
Simpo PDF Merge and Split Unregistered Version -
Simpo PDF Merge and Split Unregistered Version -