资源描述:
《thesuccessoftcp(论文前言翻译,实用)》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、ThesuccessofTCP/IPasthenetworkprotocoloftheInternetislargelybecauseofitsabilitytoconnecttogethernetworksofdifferentsizesandsystemsofdifferenttypes.Thesenetworksarearbitrarilydefinedintothreemainclasses(alongwithafewothers)thathavepredefinedsizes,eachofwhichcanbedi
2、videdintosmallersubnetworksbysystemadministrators.AsubnetmaskisusedtodivideanIPaddressintotwoparts.Onepartidentifiesthehost(computer),theotherpartidentifiesthenetworktowhichitbelongs.TobetterunderstandhowIPaddressesandsubnetmaskswork,lookatanIP(InternetProtocol)ad
3、dressandseehowitisorganized.IPaddresses:NetworksandhostsAnIPaddressisa32-bitnumberthatuniquelyidentifiesahost(computerorotherdevice,suchasaprinterorrouter)onaTCP/IPnetwork.IPaddressesarcnormallyexpressedindotted-decimalformat,withfournumbersseparatedbyperiods,such
4、as192.168.123.132.Tounderstandhowsubnetmasksareusedtodistinguishbetweenhosts,networks,andsubnetworks,examineanIPaddressinbinarynotation.Forexample,thedotted-decimalIPaddress192.168-123-132is(inbinarynotation)the32bitnumber110000000101000111101110000100.Thisnumberm
5、aybehardtomakesenseof,sodivideitintofourpartsofeightbinarydigits.Theseeightbitsectionsareknownasoctets.TheexampleIPaddress,then,becomes11000000.10101000.01111011.10000100.Thisnumberonlymakesalittlemoresense,soformostuses,convertthebinaryaddressintodotted-decimalfo
6、rmat(192.168.123.132).Thedecimalnumbersseparatedbyperiodsaretheoctetsconvertedfrombinarytodecimalnotation.ForaTCP/IPwideareanetwork(WAN)toworkefficientlyasacollectionofnetworks,theroutersthatpasspacketsofdatabetweennetworksdonotknowtheexactlocationofahostforwhicha
7、packetofinformationisdestined.Routersonlyknowwhatnetworkthehostisamemberofanduseinformationstoredintheirroutetabletodeterminehowtogetthepackettothedestinationhost’snetwork.Afterthepacketisdeliveredtothedestination’snetwork,thepacketisdeliveredtotheappropriatehost.
8、Forthisprocesstowork,anIPaddresshastwoparts.ThefirstpartofanIPaddressisusedasanetworkaddress,thelastpartasahostaddress.Ifyoutaketheexample192.168.123.13