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RL~ÊDFK,3FÔQFQ~QWzQULzQJFDFFP\FK+RVW 'RPDLQ1DPH&FSKQWLSWKHRFKảQJWDK\QJKLzQFằXFXWUảF~FELWFD ~ÊDFK,QWHUQHW ,&ơXWUếFDFK,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 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Ô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±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Đ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 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ÊDFKP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