資源描述:
《實(shí)驗(yàn)19靜態(tài)地址轉(zhuǎn)換》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在工程資料-天天文庫(kù)。
1、實(shí)驗(yàn)19(1):靜態(tài)地址轉(zhuǎn)換1-1一、實(shí)驗(yàn)要求如下圖所示,A公司是一傢中小型企業(yè),企業(yè)出口路由器RouterA通過(guò)串口連接到電信運(yùn)營(yíng)商,電信運(yùn)營(yíng)商ISP給企業(yè)出口路由器接口分配的地址是1.1.1.1/30,分配給企業(yè)用于地址翻譯的地址段是61.139.10.32/28A公司內(nèi)部有WWW、BBS兩臺(tái)服務(wù)器需要對(duì)外提供服務(wù)。WWW192.168.1.2/24BBS192.168.1.3/24二、配置步驟(一)配置PC和服務(wù)器1P地址PCA11PhysicalConfigDesktopPhysicalConfigDesktopIPConfigurationBBSPhysicalConfigDeskt
2、opIPConfigurationADNSPhysicalConfigDesktopIPConfigurationIPAddressSubnetMaskDefaultGatewaynDBSPhysicalCor^figDesktopDNSDNSService@OnOOffResourceRecordsNamebbsJspt.netT/peARecordvAddress61.139.10.34N0?NameTypeDetails1bbs.fspt.netARecord61.139.10.342www.fspt.netARecord61.139.10.33AddSaveRemove(二)祀置路由器
3、IP地址和路由信息1?routerAEnableConfigterminalInterfacef0/0Ipaddress192.16&1.1255.255.255.0NoshutdownInterfacesl/0Ipaddress1.1.1.1255.255.255.252Noshutdown!配置默認(rèn)路由Iproute0.0.0.00.0.0.01.1」.22.routerBEnableConfigterminalInterfacef()/()Ipaddress220.10」0.1255.255.255.0NoshutdownInterfacesl/0Ipaddress1.1.1.2255.
4、255.255.252Clockrate64000NoshutdownInterfacesl/1Ipaddress2.2.2.1255.255.255.252Clockrate64000Noshutdown!配置靜態(tài)路由Iproute202.102.13.0255.255.255.02.2.2.2Iproute61.139」0.32255.255.255.2401」」」3?RouterCEnableConfigterminalInterfacef0/0Ipaddress202.102.13.1255.255.255.0NoshutdownInterfacesl/1Ipaddress2.2.2.
5、2255.255.255.252Noshutdown!配置靜態(tài)路山Iproute220.10」0.0255.255.255.02.2.2.1Iproute1.1.1.0255.255.255.2522.2.2.1Iproute6L13910.32255.255.255.2402.2.2」(三)配置靜態(tài)地址轉(zhuǎn)換(RouterA)EnableConfigterminalIpnatinsidesourcestatic192.168.1.261.139.10.33Ipnatinsidesourcestatic192.168.1.361.139.10.34Interfaces/0/0/0Ipnatout
6、sideInterfacef0/0Ipnatinside(四)測(cè)試