1. Trang chủ
  2. » Tất cả

Cách thức hoạt động của IP version 4

41 384 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 41
Dung lượng 272,45 KB

Nội dung

DFKLSY*LẽLWKLáXFKXQJ 1K} FKảQJ WD ~ ELW ,QWHUQHW O PW PQJ P\ WÂQK WRQ FX GR KQJ QJKQPQJP\WÂQKWáNKSPăLQ|LQơLOLWRQzQ.KFYLFFKWêFKằFWKHR FFFSQLKWOLzQWQKTXơFWFDPWPQJYLQWK{QJQK}PQJWKRLFKQJ KQPQJ,QWHUQHWWêFKằFFKFĐPWFSFFPQJP\WÂQKGQKƠGWRNKL QơLYR,QWHUQHW~XEQK~QJYLQKDX'RFFKWêFKằFQK}Y\QzQWUzQ,QWHUQHW FĐFXWUảF~ÊDFKFFK~QK~ÊDFK~FELWWURQJNKLFFK~QK~ÊDFK~ơLYL PQJYLQWK{QJOL~|QJLQK|QQKLX wơLYLPQJYLQWK{QJQK}PQJWKRLFKQJKQNKFKKQJFFYQJ NKFQKDXKRQWRQFĐWKFĐFQJVơ~LQWKRLSKyQELWYLQKDXEQJP YQJPWQKKD\PTXơFWwơLYLPQJ,QWHUQHWGRFFKWêFKằFFKFĐPW FSQzQPôLPWNKFKKQJKD\PWP\FK+RVWKRF5RXWHU~XFĐPW ~ÊDFK,QWHUQHWGX\QKWPNK{QJ~}FSKSWUQJYLEWNẵDL'RY\P~ÊD FKWUzQ,QWHUQHWWKẳFVẳOPWWLQJX\zQ +QJ FKãF WULXP\ FK WUzQ KQJ WUxP QJKQ PQJw ~ÊD FK NK{QJ ~}FWUQJQKDXFQSKLFĐFXWUảF~ÊDFK~FELWTXQOWKơQJQKWYPW 7ê FKằF FD ,QWHUQHW JăL O 7UXQJ WyP WK{QJ WLQ PQJ ,QWHUQHW 1HWZRUN ,QIRUPDWLRQ&HQWHU1,&FKWUSKyQSKơ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~ÂFKNKFNK{QJ SKyQQzQFKảQJWDFKQJKLzQFằXOS~X 16 24 class a : 0 class b 10 class c 1 10 net id host id net id host id net id host id 1 32 8 octet 1 octet 4 octet 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 /S'FĐELW~XWLzQ~QKQGQJOFÔQOS(FĐEÂW~XWLzQ ~QKQGQJO wÊDFKOS$wÊDFKPQJÂWY~ÊDFKP\FKWUzQWáQJPQJQKLX wÊDFKOS%wÊDFKPQJYáDSKLY~ÊDFKP\FKWUzQWáQJPQJ YáDSKL wÊDFKOS&wÊDFKPQJQKLX~ÊDFKP\FKWUzQWáQJPQJÂW $ Wá~Q % Wá~Q &Wá~Q 'Wá~Q.K{QJSKyQ (Wá~Q.K{QJSKyQ $ 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\ OS $ QP WURQJ NKRQJ~QELW~ÊDFKQ\OS%YWá~QELW~ÊDFKQ\ OS& ,LDFKPQJFRQFểD,QWHUQHW ,3VXEQHWWLQJ D1JX\tQQKsQ 1K}~QzXWUzQ~ÊDFKWUzQ,QWHUQHWWKẳFVẳOPWWLQJX\zQPWPQJ NKLJLDQKS,QWHUQHW~}F7UXQJWyPWK{QJWLQPQJ,QWHUQHW1,&SKyQFKRPW Vơ~ÊDFKYáD~GQJYL\zXFXOảF~ĐVDXQ\QXPQJSKWWULQWKzPOL SKL[LQ1,&WKzP~ĐO~LXNK{QJWKXQWLQFKRFFQKNKDLWKFPQJ +|QQDFFOS~ÊDFKFD,QWHUQHWNK{QJSKLKRQWRQSKKSYL\zX FXWKẳFW~ÊDFKOS%FKQJKQPôLP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ÊQKWX\QURXWLQJ WUzQPQJ,QWHUQHWQJRL~ÊDFK,3FÔQFQ~QWzQULzQJFDFFP\FK+RVW 'RPDLQ1DPH&FSKQWLSWKHRFKảQJWDK\QJKLzQFằXFXWUảF~FELW FD~ÊDFK,QWHUQHW 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 class bit Net ID Host ID %LW %LWQKQGQJOS&ODVVELW wÊDFKFDPQJ1HW,' wÊDFKFDP\FK+RVW,' *KLFKĂ7lQOqiDFKPt\FKQKoQJWKĐFWNKmQJFKFPt\FKPq W~WFrFtFPt\FRQ:RUNVWDWLRQFtFFQJWUX\QKSYYpXF{QFpDFK %LWQKQGQJOS&ODVVELW~SKyQELW~ÊDFKOSQR wÊDFK,QWHUQHWELXKLQGQJELWQKÊSKyQ [\[\[\[\[\[\[\[\[\[\[\[\[\[\[\[\ [\ KRF 9ÂGã wÊDFK,QWHUQHWELXKLQGQJWKSSKyQ[[[[[[[[[[[[ [OVơWKSSKyQWá~Q 9ÂGã 'QJYLW~\~FD~ÊDFK,3OFRQVơWURQJWáQJ2FWHW9ÂGã~ÊDFK,3 WK}đQJ WK\ WUzQ WKẳF W FĐ WK O QK}QJ GQJ ~\ ~ O E&|FOÔSxDFK,3 wÊDFK,3FKLDUDOS$%&'(+LQWL~GQJKWOS$%YJQ KWOS & FÔQ OS' Y ( 7ê FKằF LQWHUQHW ~DQJ ~ GQK FKR PãF ~ÂFK NKF NK{QJSKyQQzQFKảQJWDFKQJKLzQFằXOS~X 16 24 class a : 0 class b 10 class c 1 10 net id host id net id host id net id host id 1 32 8 octet 1 octet 4 octet 3octet 2 8 16 24 32 1 1 1 0 Class d 8 16 24 32 1 1 1 1 0 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ELW~XEQJGQJ~WK{QJ ERQLEQzQWUzQWKẳFWFÔQOLPQJ 2FWHW 0 net id 7 6 . . . . . . 0 bit &FKWÂQK~ÊDFKPQJOS$ 6ơWKằWẳ%LWQWÂQKWáSKLTXDWUL *LWUÊQKÊSKyQKD\FD%LW[[[[[[[ *LWUÊWKSSKyQW}|QJằQJNKLJLWUÊELW VO *LWUÊWKSSKyQW}|QJằQJNKLJLWUÊELW NK{QJWÂQK *LWUÊWKSSKyQOQQKWNKLJLWUÊFDELW~XEQJO 6DX~y\OFFKWÂQKWUăQYQJLWUÊFDWWFFF%LW [...]... KWOS&FÔQOS'Y(7êFKằFLQWHUQHW~DQJ~GQKFKRPãF~ÂFKNKFNK{QJ SKyQQzQFKảQJWDFKQJKLzQFằXOS~X octet 1 octet 2 octet 3 octet 4 class a : 1 8 16 24 32 0 net id host id class b 1 0 host id net id class c 1 1 0 host id net id Class d 8 16 24 32 8 16 24 32 1110 class e 11110 4XDFXWUảFFFOS~ÊDFK,3FKảQJWDFĐQKQ[WVDX %LWQKQGQJOQKQJELW~XWLzQFDOS$OFDOS%OFD OS&O . O E&|FOÔSxDFK,3 wÊDFK,3FKLDUDOS$%&'(+LQWL~GQJKWOS$%YJQ KWOS&FÔQOS'Y(7êFKằFLQWHUQHW~DQJ~GQKFKRPãF~ÂFKNKFNK{QJ SKyQQzQFKảQJWDFKQJKLzQFằXOS~X 16 24 class a : 0 class b 10 class c 1 10 net id host id net id host id net id host id 1 32 8 octet 1 octet 4 octet 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 /S'FĐELW~XWLzQ~QKQGQJOFÔQOS(FĐEÂW~XWLzQ ~QKQGQJO wÊDFKOS$wÊDFKPQJÂWY~ÊDFKPFKWUzQWáQJPQJQKLX wÊDFKOS%wÊDFKPQJYáDSKLY~ÊDFKPFKWUzQWáQJPQJ YáDSKL wÊDFKOS&wÊDFKPQJQKLX~ÊDFKPFKWUzQWáQJPQJÂW $. NKF NK{QJSKyQQzQFKảQJWDFKQJKLzQFằXOS~X 16 24 class a : 0 class b 10 class c 1 10 net id host id net id host id net id host id 1 32 8 octet 1 octet 4 octet 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 /S'FĐELW~XWLzQ~QKQGQJOFÔQOS(FĐEÂW~XWLzQ ~QKQGQJO wÊDFKOS$wÊDFKPQJÂWY~ÊDFKPFKWUzQWáQJPQJQKLX wÊDFKOS%wÊDFKPQJYáDSKLY~ÊDFKPFKWUzQWáQJPQJ YáDSKL wÊDFKOS&wÊDFKPQJQKLX~ÊDFKPFKWUzQWáQJPQJÂW $.  %LXKLQWUzQWK¼FWOEDV¬WKSSKyQWURQJ2FWHWFFKQKDXGX 7£pQ .WOXQiDFKOS$FWKSKkQFKRPuQJYqPLPWPuQJF PtFK1LFtFKNKtFpDFKWK§FWV 7£pQ 9G¢0WpDFKp{pFDOS$  w£DFKw£DFKP PQJFK´ 7ªQJTXWFKXQJ ELW~XWLzQ~QKQGQJO±S%OY ELWF¤QOLWURQJ2FWHW~XWLzQGQKFKR~£DFK PQJ 2FWHWF¤QOLJ©PELWGQKFKR~£DFKP&K´ class b 10 net id host id 1 8 16 24 32 Octet1 Octet2 Octet3 Octet4 PuQJPtFKWUlQPWPuQJ DqDFKP}QJ .KrQjQJSKkQpDFK  2FWHW2FWHW  10 net

Ngày đăng: 14/12/2021, 17:11

TỪ KHÓA LIÊN QUAN

w