資源描述:
《NAT Local and Global 的定義》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在行業(yè)資料-天天文庫(kù)。
1、NAT:LocalandGlobal的定義思科的官方定義如下:·Insidelocaladdress—TheIPaddressassignedtoahostontheinsidenetwork.ThisistheaddressconfiguredasaparameterofthecomputerOSorreceivedviadynamicaddressallocationprotocolssuchasDHCP.TheaddressislikelynotalegitimateIPaddressassignedbytheNetworkInformationCenter(NIC
2、)orserviceprovider.·Insideglobaladdress—AlegitimateIPaddressassignedbytheNICorserviceproviderthatrepresentsoneormoreinsidelocalIPaddressestotheoutsideworld.·Outsidelocaladdress—TheIPaddressofanoutsidehostasitappearstotheinsidenetwork.Notnecessarilyalegitimateaddress,itisallocatedfromanadd
3、ressspaceroutableontheinside.·Outsideglobaladdress—TheIPaddressassignedtoahostontheoutsidenetworkbythehostowner.Theaddressisallocatedfromagloballyroutableaddressornetworkspace.Packetssourcedontheinsideportionofthenetworkhaveaninsidelocaladdressasthesourceaddressandanoutsidelocaladdressast
4、hedestinationaddressofthepacket,whilethepacketresidesontheinsideportionofthenetwork.Whenthatsamepacketgetsswitchedtotheoutsidenetwork,thesourceofthepacketisnowknownastheinsideglobaladdressandthedestinationofthepacketisknownastheoutsideglobaladdress.Conversely,whenapacketissourcedontheouts
5、ideportionofthenetwork,whileitisontheoutsidenetwork,itssourceaddressisknownastheoutsideglobaladdress.Thedestinationofthepacketisknownastheinsideglobaladdress.Whenthesamepacketgetsswitchedtotheinsidenetwork,thesourceaddressisknownastheoutsidelocaladdressandthedestinationofthepacketisknowna
6、stheinsidelocaladdress.Thesesectionsexaminethesetermsmorecloselyandusethistopologyandexamples.Define?Inside?Local?and?Inside?Global?Addresses?In?this?configuration,?when?the?NAT?router?receives?a?packet?on?its?inside?interface?with?a?source?address?of?10.10.10.1,?the?source?address?is?tra
7、nslated?to?171.16.68.5.?This?also?means?that?when?the?NAT?router?receives?a?packet?on?its?outside?interface?with?a?destination?address?of?171.16.68.5,?the?destination?address?is?translated?to?10.10.10.1.ip?nat?inside?source?static?10.10.10.1?171.16.68.5?!---?Inside?