计算机网络 实验六 静态路由配置,实验六-静态路由配置.doc
實驗六-靜態(tài)路由配置
實驗報告書
課程名稱 計算機網(wǎng)絡(luò)技術(shù)與應(yīng)用
實驗題目 實驗六:靜態(tài)路由配置
專業(yè)班級 2010級信息管理與信息系統(tǒng)2班
學 號 37號
姓 名 肖丹妮
指導教師 趙圓圓老師
計算機科學與技術(shù)專業(yè)教研室
2011年月router1的配置:
Press Enter to Start
Router>Router>enRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#hostname router1router1(config)#interface e0router1(config-if)#ip address 192.168.1.2 255.255.255.0 router1(config-if)#no shut%LINK-3-UPDOWN: Interface Ethernet0, changed state to uprouter1(config-if)#interface s0router1(config-if)#ip address 192.168.2.1 255.255.255.0router1(config-if)#clock rate 6400 //clock rate是dce設(shè)備給dte設(shè)備提供時鐘頻率的,需要在dce里面設(shè)置,而另外的一個路由器里面則不用設(shè)置router1(config-if)#no shut%LINK-3-UPDOWN: Interface Serial0, changed state to uprouter1(config-if)#end%LINK-3-UPDOWN: Interface Serial0, changed state to down%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to downrouter1#config tEnter configuration commands, one per line. End with CNTL/Z.router1(config)#ip route 192.168.3.0 255.255.255.0 192.168.2.1 //設(shè)定靜態(tài)路由router1(config)#ip route 192.168.2.0 255.255.255.0 192.168.2.1router1(config)#endrouter1#copy running startupDestination filename [startup-config]?Building configuration...[OK]
%LINK-3-UPDOWN: Interface Serial0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up
router2的配置:
Press Enter to Start
Router>enRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#interface e0Router(config-if)#endRouter#config tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#hostname router2router2(config)#interface s0router2(config-if)#ip address 192.168.2.2 255.255.255.0router2(config-if)#no shut%LINK-3-UPDOWN: Interface Serial0, changed state to uprouter2(config-if)#interface s0router2(config-if)#interface e0router2(config-if)#ip address 192.1
總結(jié)
以上是生活随笔為你收集整理的计算机网络 实验六 静态路由配置,实验六-静态路由配置.doc的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 东北大学计算机应用基础在线作业,东北大学
- 下一篇: 计算机信息管理和计算机及应用,计算机信息