欢迎来到天天文库
浏览记录
ID:5564728
大小:1.39 MB
页数:26页
时间:2017-11-18
《ccna 5-6 nat和pat》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、AddressSpaceManagementScalingtheNetworkwithNATandPATNetworkAddressTranslationAnIPaddressiseitherlocalorglobal.LocalIPv4addressesareseenintheinsidenetwork.GlobalIPv4addressesareseenintheoutsidenetwork.PortAddressTranslationTranslatingInsideSourceAddressesEstablishesstatictranslationbetwe
2、enaninsidelocaladdressandaninsideglobaladdressRouterX(config)#ipnatinsidesourcestaticlocal-ipglobal-ipMarkstheinterfaceasconnectedtotheinsideRouterX(config-if)#ipnatinsideMarkstheinterfaceasconnectedtotheoutsideRouterX(config-if)#ipnatoutsideDisplaysactivetranslationsRouterX#showipnattra
3、nslationsConfiguringandVerifyingStaticTranslationEnablingStaticNATAddressMappingExampleRouterX#showipnattranslationsProInsideglobalInsidelocalOutsidelocalOutsideglobal---192.168.1.210.1.1.2------interfaces0ipaddress192.168.1.1255.255.255.0ipnatoutside!interfacee0ipaddress10.1.1.1255.25
4、5.255.0ipnatinside!ipnatinsidesourcestatic10.1.1.2192.168.1.2Establishesdynamicsourcetranslation,specifyingtheACLthatwasdefinedinthepreviousstepRouterX(config)#ipnatinsidesourcelistaccess-list-numberpoolnameDefinesapoolofglobaladdressestobeallocatedasneededRouterX(config)#ipnatpoolnames
5、tart-ipend-ip{netmasknetmask
6、prefix-lengthprefix-length}DefinesastandardIPACLpermittingthoseinsidelocaladdressesthataretobetranslatedRouterX(config)#access-listaccess-list-numberpermitsource[source-wildcard]DisplaysactivetranslationsRouterX#showipnattranslationsConfiguringandVerifyingDy
7、namicTranslationDynamicAddressTranslationExampleRouterX#showipnattranslationsProInsideglobalInsidelocalOutsidelocalOutsideglobal---171.69.233.209192.168.1.100---------171.69.233.210192.168.1.101------OverloadinganInsideGlobalAddressConfiguringOverloadingEstablishesdynamicsourcetranslati
8、on,specifyingtheACLthatwasdefinedinthepreviousstepRouterX(config)#ipnatinsidesourcelistaccess-list-numberinterfaceinterfaceoverloadDefinesastandardIPACLthatwillpermittheinsidelocaladdressesthataretobetranslatedRouterX(config)#access-listaccess-list-numberpermitsourcesou
此文档下载收益归作者所有