Tus tswv tsev yog dab tsi?
Tus tswv tsev yog dab tsi?

Video: Tus tswv tsev yog dab tsi?

Video: Tus tswv tsev yog dab tsi?
Video: yog hmoov dab tsi. Zoo Xyooj (cover) 2024, Hlis ntuj nqeg
Anonim

Lub octet nyob rau hauv lub subnet daim npog qhov ncauj uas muaj 224 muaj peb sib law liag binary 1s nyob rau hauv nws: 11100000. Yog li ntawd, "network feem "ntawm tag nrho tus IP chaw nyob yog: 192.168. 32.0. " host feem "ntawm qhov chaw nyob ip yog 0.0.

Ntxiv mus, dab tsi yog tus tswv tsev feem ntawm IP chaw nyob?

Kom tau txais lub network feem ntawm ib IP chaw nyob , koj yuav tsum ua binary THIAB ntawm cov ip chaw thiab nws netmask. Cov host feem yog binary THIAB ntawm inverted netmask (ntsis flipped ntawm 0 thiab 1).

Ib yam li ntawd, qhov chaw nyob host yog dab tsi? chaw nyob - Computer txhais Lub cev chaw nyob ntawm lub computer hauv network. Hauv Internet, a chaw nyob yog IP chaw nyob ntawm lub tshuab. Saib IP chaw nyob thiab hostname.

Ntawm no, dab tsi yog host ntsis?

Host bits yog ib feem ntawm qhov chaw nyob IP uas txheeb xyuas qhov tshwj xeeb tus tswv tsev hauv subnet. Lub ntsej muag subnet txiav txim siab npaum li cas ntawm qhov chaw nyob yog siv rau network me ntsis thiab host bits . Piv txwv li, tus IP (v4) chaw nyob ntawm 192.168. 0.64/26 muaj 6- bit host vim 26o32 me ntsis tau tshwj tseg rau qhov chaw network.

Yuav ua li cas koj xam tus naj npawb ntawm hosts?

Tag nrho tus lej ua IPv4 tus tswv tsev chaw nyob rau lub network yog 2 rau lub hwj chim ntawm lub tus tswv tsev bits, uas yog 32 minus tus lej ntawm network bits. Rau peb qhov piv txwv ntawm a /21 (network mask 255.255. 248.0) network, muaj 11 tus tswv tsev bits (32 chaw nyob me ntsis – 21 network khoom = 11 tus tswv tsev bits).

Pom zoo: