




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
實(shí)驗(yàn)五路由器模擬防火墻實(shí)驗(yàn)一、 實(shí)驗(yàn)原理:利用路由器本身對(duì)分組的解析,以訪問控制表方式實(shí)現(xiàn)對(duì)分組的過濾。二、 實(shí)驗(yàn)?zāi)康模海?) 用路由器實(shí)現(xiàn)包過濾防火墻功能;(2) 了解和熟悉防火墻的包過濾功能;(3) 體會(huì)包過濾功能在網(wǎng)絡(luò)安全中的重要性;(4) 了解防火墻在網(wǎng)絡(luò)安全中的重要性。三、 實(shí)驗(yàn)內(nèi)容:本次實(shí)驗(yàn)有三臺(tái)PC機(jī)和兩臺(tái)路由器,網(wǎng)絡(luò)拓?fù)鋱D如下所示。PC1不能ping通routerl,但PC0能ping通routerl。通過密碼遠(yuǎn)程登錄Routerl。192.168.1.2PC-PTPCO192.168.2.2flPC-PT
PCIfal/0192.168.1.1J192192.168.1.2PC-PTPCO192.168.2.2flPC-PT
PCIfal/0192.168.1.1J192—*1"尹Rotter-PTyRouterO£a0/0192.168.2.1er2/0.168.3.Ser2/0192.168.3.2FPRAuter-PT^^Routerl*£aJ0/O192.168.4.1192.168.4.2□r 山PC-PTPC2四、代碼及截圖:Router0的基本配置命令:Router>enable 進(jìn)入特權(quán)模式Router#configt 進(jìn)入全局配置模式Enterconfigurationcommands,oneperline.EndwithCNTL/Z.Router(config)#interfacefa1/0進(jìn)入端口配置模式Router(config-if)#ipaddress192.168.1.1255.255.255.0配置fa1/0的ipRouter(config-if)#noshutdown啟用%LINK-5-CHANGED:InterfaceFastEthernet1/0,changedstatetoup%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet1/0,changedstatetoupRouter(config-if)#exit 退出端口配置模式Router(config)#intfa0/0 進(jìn)入端口配置模式Router(config-if)#ipaddress192.168.2.1255.255.255.0配置fa0/0的ipRouter(config-if)#noshutdown啟用%LINK-5-CHANGED:InterfaceFastEthernet0/0,changedstatetoup%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/0,changedstatetoupRouter(config-if)#exit 退出端口配置模式Router(config)#ints2/0 進(jìn)入端口配置模式Router(config-if)#ipaddress192.168.3.1%Incompletecommand.Router(config-if)#ipaddress192.168.3.1255.255.255.0配置ser2/0的ipRouter(config-if)#noshutdown啟用%LINK-5-CHANGED:InterfaceSerial2/0,changedstatetoupRouter(config-if)#exit退出端口配置模式Router(config)#routerrip配置動(dòng)態(tài)路由Router(config-router)#verRouter(config-router)#version2版本號(hào)Router(config-router)#network192.168.1.0 相連網(wǎng)段Router(config-router)#network192.168.2.0 相連網(wǎng)段Router(config-router)#network192.168.3.0 相連網(wǎng)段Router(config-router)#exit退出路由配置模式Router(config)#ints2/0 進(jìn)入端口配置模式Router(config-if)#clockrate64000時(shí)鐘Router(config-if)#exitRouter(config)#%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceSerial2/0,changedstatetoupRouter(config)#%SYS-5-CONFIG_I:ConfiguredfromconsolebyconsoleRouter#Routerl的基本配置命令:Router>enable進(jìn)入特權(quán)模式Router#configt 進(jìn)入全局配置模式Enterconfigurationcommands,oneperline.EndwithCNTL/Z.Router(config)#intfa0/0 進(jìn)入端口配置模式Router(config-if)#ipaddress192.168.4.1255.255.255.0配置fa0/0的ipRouter(config-if)#noshutdown啟用%LINK-5-CHANGED:InterfaceFastEthernet0/0,changedstatetoup%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/0,changedstatetoupRouter(config-if)#exit退出端口配置模式Router(config)#ints2/0 進(jìn)入端口配置模式Router(config-if)#ipaddress192.168.3.2255.255.255.0配置ser2/0的ipRouter(config-if)#noshutdown%LINK-5-CHANGED:InterfaceSerial2/0,changedstatetodownRouter(config-if)#noshutdownRouter(config-if)#
%LINK-5-CHANGED:InterfaceSerial2/0,changedstatetoupRouter(config-if)#exitRouter(config)#routerrip配置動(dòng)態(tài)路由Router(config-router)#verRouter(config-router)#version2版本號(hào)Router(config-router)#network192.168.3.0 相連網(wǎng)段Router(config-router)#network192.168.4.0 相連網(wǎng)段Router(config-router)#exit退出路由配置模式Router(config)#%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceSerial2/0,changedstatetoup未設(shè)置ping的控制條件時(shí),PC機(jī)之間能夠相互ping通。截圖如下:PC0pingPC2能夠ping通POping192.16S.4.2Pinging192.168.4.2with32bytesofdat-a:ReplyReplyReplyReplyfromfromfromfrom192.16S.4.2:19Z.168.4.Z:192.16S.4.Z:192.16S.4.Z:bytes=32bytes=3Zhytes=3Zbytes=32tim.e=103mstim.e=117mstim.e=13ZmEtim.e=126msTTL=1Z6ReplyReplyReplyReplyfromfromfromfrom192.16S.4.2:19Z.168.4.Z:192.16S.4.Z:192.16S.4.Z:bytes=32bytes=3Zhytes=3Zbytes=32tim.e=103mstim.e=117mstim.e=13ZmEtim.e=126msTTL=1Z6TTL=1Z6TTL=1Z6TTL=1Z6Pingstatisticsfor192.168.4.2:Packets:Sent=4FReceived11口TT.UReplyReplyReplyReplyfromfromfromfrom192.168.4.2:192.16S.4.2:Pingstatisticsfor192.168.4.2:Packets:Sent=4FReceived11口TT.UReplyReplyReplyReplyfromfromfromfrom192.168.4.2:192.16S.4.2:19Z.168.4.Z:192.168.4.Z:hytes=32bytes=32bytes=3Zbytes=3Ztime=107mstime=11Omstime=118dietime=10SmsTTL=126TTL=126TTL=1Z6TTL=126Pingstatisticsfor19Z.16S.4.Z:Packets:Sent4fReceived=4,LostApproximateroundtriptimesinmiHi-seconds:Hpinmuio=lCiE攻石*MpiTg^通=llSms,Average0(0%loss),110ms0(0%loss),PC1r□pingtmC^imH能*i夠i^g通inmilli-EecondE:MoPOping192.168.4.2Pinging19Z.16S.4.Zwith3Zbytesofdata:POping192.168.1.ZPinging192.168.1.Zwith3Zbytesofdata:ReplyReplyReplyReplyfromfromfromfrom19Z.168.1.Z:192.16S.1.2:192.16S.1.2:192.16S.1.2:bytes=3Zbytes=32bytes=32bytes=32time=lZ8niEReplyReplyReplyReplyfromfromfromfrom19Z.168.1.Z:192.16S.1.2:192.16S.1.2:192.16S.1.2:bytes=3Zbytes=32bytes=32bytes=32time=lZ8niEtime=113mstime=116msTTL=1Z6TTL=126TTL=126time=92msTTL=126Pingstatisticsfor192.16S.1.2:Pingstatisticsfor192.16S.1.2:Packets:Sent4,Received=4,Lost=0(0%loss),Approximateroundtript-imesinmi11i-seconds:Minimum=92ms,Maximuia=128ms,Average=112ms
PC2pingPC1能夠ping通Pinging19Z.16S.Z.Zwith3Zbytesofdata:ReplyReplyReplyReplyReplyReplyReplyReplyfrom19Z.168.Z.Z:bytes=3Zfrom19Z.16S.Z.Z:bytes=3Zfrom19Z.16S.Z.Z:bytes=3Zfrom19Z.16S.Z.Z:bytes=3Ztime=136mstime=lZSmstime=lllmstime=117msTTL=1Z6TTL=1Z6TTL=1Z6TTL=1Z6Pin).在rPin).在r.:iuter1上配1置pqigm控制:erucotf:)#ac=4-listi1ed=4*!st七=訪問孕iamEroundtriptinesinnilli-seconds:Himmuiti=lllmsFMaximuia=136msFAverage=lZ3ms絕192.168.2.2Router(con±ig)#access-listTperm^an^^允許其他的都能訪^Router(config)#ints2/0進(jìn)入端口配置模式Router(config-if)#ipaccess-group1in將規(guī)則1應(yīng)用于過濾從串口接收上來(lái)的報(bào)文Router(config-if)#exit 退出端口配置模式Router(config)#PC0pingPC2能夠ping通POping19Z.16S.4.ZPinging19Z.16S.4.Zwith3Zbytesofdata:Replyfrom.Replyfrom.ReplyfromReplyfrom.Replyfrom.ReplyfromReplyfrom.192.168.4.Z:19Z.16S.4.2:19Z.16S.4.Z:192.168.4.Z:byteE=3Ztime=lZOiaETTL=1Z6bytes=3Ztime=106msTTL=1Z6bytes=3Ztime=109msTTL=1Z6byteE=3Ztime=13ZiaETTL=1Z6心g*Soi"f的2/0一M心g*Soi"f的2/0一M能夠塑Packets:Sent=4,Received=4尸Lost=0(0%loss),POping192.16S.3.1Pinging19Z.168.3.1with3Zbytesofdata:Replyfrom19Z.16S.3.1:bytes=3Ztime=71msTTL=Z55Replyfrom19Z.16S.3.1:bytes=3Ztime=37msTTL=Z55Replyfrom19Z.16S.3.1:bytes=3Ztime=4ZmsTTL=Z55Replyfrom19Z.16S.3.1:bytes=3Ztime=43msTTL=Z55Pingstatisticsfor19Z.16S.3.1:Packets:Sent=4,Received=4,Lost=0(0%loss)FPC"gingEoutrnl的ip0dme超時(shí)milli-seconds:Hinimma=37ms,Maximum=71ms,Average=4SmsPOping19Z.16S.3.ZPinging19Z.168.3.2with32bytesofdata:Requesttimedout.Requesttimedout.Requesttimedout.Requesttimedout.PingstatisticeforPackets:Sent=19Z.16S.3.Z:4,Received=0FLost4(100%loss),PC2pingPC0能夠ping通POping19Z.16S.1.ZPinging192.16S.1.2with32bytesofdata:ReplyReplyReplyReplyfromfromfromfrom192.168.1.2:19Z.16S.1.Z:192.16S.1.2:192.168.1.2:bytes=32time=137msbytes=3Ztime=133mEbytes=3Ztime=116msbytes=32time=127msTTL=126TTL=1Z6TTL=126TTL=126Pingstatisticsfor19Z.16S.1.Z:Packets:SentReceived0(0%loss)fjiC2KC?p:j.mat^cbgH超時(shí)Ptimesinmilli-seconds:TTTmiim=11EmwTTswimiam=1 A^rpraptaPOping19Z.168.Z.ZPinging192.16S.2.2with32bytesofdata:Requesttimedout.Requesttimedout.Requesttimedout.Requesttimedout.Pingstatisticsfor19Z.163.Z.Z:Packets:Sent.=4_.Received=0,Lost=4(100%loss),POping19Z.16S.Z.1Pinging19Z.16S.2.1with3Zbytesofdata:ReplyReplyReplyPC2pingPC0能夠ping通POping19Z.16S.1.ZPinging192.16S.1.2with32bytesofdata:ReplyReplyReplyReplyfromfromfromfrom192.168.1.2:19Z.16S.1.Z:192.16S.1.2:192.168.1.2:bytes=32time=137msbytes=3Ztime=133mEbytes=3Ztime=116msbytes=32time=127msTTL=126TTL=1Z6TTL=126TTL=126Pingstatisticsfor19Z.16S.1.Z:Packets:SentReceived0(0%loss)fjiC2KC?p:j.mat^cbgH超時(shí)Ptimesinmilli-seconds:TTTmiim=11EmwTTswimiam=1 A^rpraptaPOping19Z.168.Z.ZPinging192.16S.2.2with32bytesofdata:Requesttimedout.Requesttimedout.Requesttimedout.Requesttimedout.Pingstatisticsfor19Z.163.Z.Z:Packets:Sent.=4_.Received=0,Lost=4(100%loss),POping19Z.16S.Z.1Pinging19Z.16S.2.1with3Zbytesofdata:ReplyReplyReplyReplyfromfromfromfrom19Z.16S.Z.1:192.16S.Z.1:192.16S.2.1:bytes=3Zbytes=3Zbytes=3Zbytes=3Ztim.e=7Zinstim.e=SOinstim.e=70mstim.e=S7m£TTL=ZE4TTL=ZE4TTL=ZE4TTL=Z54Pingstatisticsfor192.168.Z.1:Packets:Sent=4尸Received=4,Lost=0(0%loss),Approximateroundtriptimesinmilli-seconds:MPnnag=0口m5能夠ximum=S7ms,Average=77mmPOping19Z.16S.Z.1Pinging19Z.16S.Z.1with3Zbytesofdata:ReplyReplyReplyReplyfromfromfromfrom19Z.16S.Z.1:19Z.168.Z.1:192.16S.2.1:19Z.168.Z.1:bytes=3Zhytes=3Zbytes=3Zhytes=3Ztime=9ZmsTTL=Z54time=101msTTL=Z54time=72msTTL=254time=69msTTL=Z54Pingstatisticsfor19Z.168.Z.1:式可對(duì)telnetPackets:Sent=4fReceived=4,Lost=0(0%loss),Ap#kc?*iRoutr1\uiH七*程登錄錄的建設(shè)土:置milli-seconds式可對(duì)telnetMiMofa=#li.neMtyMium=1進(jìn)ms虛擬線*程沱功能進(jìn)行配置設(shè)置密碼123Router(config-line)#password123
設(shè)置密碼123Router(config-line)#login啟用口令檢查Router(config-line)#exit退出虛擬線程模式POtelnet19Z.168.3.ZTrying192.168.3.2一一一UserAccessVerificationPOtelnet19Z.168.3.ZTrying192.168.3.2一一一UserAccessVerificationPassword:Router>|PC1telnetRouter1:POtelnet19Z.16S.3.ZTrying19Z.16S.3.Z...UserAccessVerificationPassword:P.outer>|POtelnet192.168.3.ZTrying19Z.16S.3.Z.
溫馨提示
- 1. 本站所有資源如無(wú)特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 科研課題申報(bào) 評(píng)審書
- 課題申報(bào)書優(yōu)美用語(yǔ)
- 綜合能源服務(wù)課題申報(bào)書
- 課題申報(bào)書基于兒童立場(chǎng)
- 中學(xué)課題立項(xiàng)申報(bào)書
- 輔導(dǎo)員方面課題申報(bào)書
- 員工解除勞務(wù)合同范例
- 京東服裝租賃合同范本
- 合作協(xié)議合同范本格式
- 員工曠工辭退合同范本
- 2025年高考作文備考之題目解析及4篇范文:“生活是否還需要游戲”
- 2025年中國(guó)秸稈發(fā)電行業(yè)市場(chǎng)前瞻與投資預(yù)測(cè)分析報(bào)告
- 智研咨詢發(fā)布:2025年中國(guó)減速器行業(yè)市場(chǎng)現(xiàn)狀及投資前景分析報(bào)告
- 部編2024版歷史七年級(jí)下冊(cè)第二單元第12課《宋元時(shí)期經(jīng)濟(jì)的繁榮》檢測(cè)卷
- 家政服務(wù)員(母嬰護(hù)理員)五級(jí)模擬試題及答案
- 2024-2025學(xué)年七年級(jí)歷史下冊(cè) 13 宋元時(shí)期的科技與中外交通說課稿 新人教版
- 2025年湖北省宏泰國(guó)有資本投資運(yùn)營(yíng)集團(tuán)有限公司招聘筆試參考題庫(kù)附帶答案詳解
- 坡面土壤侵蝕過程模擬-深度研究
- 夜景照明吊繩施工方案
- 2025借款合同范本個(gè)人向公司借款
- 互聯(lián)網(wǎng)智慧養(yǎng)老綜合服務(wù)平臺(tái)建設(shè)與運(yùn)營(yíng)方案
評(píng)論
0/150
提交評(píng)論