實驗目的:
通過實驗體會靜態路由的靈活應用,以及如何將路由器定義爲UNIX服務器模式,如何爲路由器定義默認網關。
實驗拓撲:
實驗內容:
路由器的基本配置
R1 (config-if)#interface s0
R1 (config-if)#ip address 192.168.2.1 255.255.255.0
R1 (config-if)#clock rate 64000
R1 (config-if)#no shut
$$$$$$$$$$
R2(config)#interface s1
R2(config-if)#ip address 192.168.2.2 255.255.255.0
R2(config-if)#no shut
R2(config-if)#interface s0
R2(config-if)#ip address 192.168.3.1 255.255.255.0
R2(config-if)#clock rate 64000
R2(config-if)#no shut
$$$$$$$$$$$
R3(config)#interface s1
R3(config-if)#ip address 192.168.3.2 255.255.255.0
R3(config-if)#no shut
配置R2和R3爲UNIX服務器模式
R1(config)#no ip routing(去掉路由器的路由功能)
R1(config)#ip default-gateway 192.168.2.2(爲路由器定義默認網關)
R3(config)#no ip routing
R3(config)#ip default-gateway 192.168.3.1
3.查看目前的路由器狀態
R1#show ip route
Default gateway is not set
Host Gateway Last Use Total Uses Interface
ICMP redirect cache is empty
R1#show ip route
Default gateway is 192.168.2.2
Host Gateway Last Use Total Uses Interface
ICMP redirect cache is empty
4、驗證默認網關的配置
從R1上ping R3的S1口
R1#ping 192.168.3.2
Sending 5, 100-byte ICMP Echos to 192.168.3.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 56/59/64 ms
實驗總結:
這類型的實驗是擴展***實驗的一種,考察的就是學員的快速反應能力,其實內容很簡單,但是由於思路的問題,這種問題也是工程師的殺手鐗。
網絡工程師交換試驗手冊之三:默認網關實驗(擴展訓練)
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
如果同事暗中傷害你,應該怎麼辦?
這個饅頭有餡
2019-02-24 13:59:08
職場中,抱怨越多的員工,越被領導瞧不起!
這個饅頭有餡
2019-02-24 13:59:08
老程序員被裁,應屆生卻能月薪 1.3 萬?這你能忍?
前端高達
2019-02-24 13:48:04
遇到到處蹭吃卻從不請客吃飯的主怎麼辦?
樑軍年
2019-02-24 13:26:35
Linux基本操作命令
wbzjacky
2019-02-24 13:12:38
高標準機房綜合配線安裝
wbzjacky
2019-02-24 13:12:38
IPsec ***實驗
wbzjacky
2019-02-24 13:12:37
真實的模擬***綜合實驗
wbzjacky
2019-02-24 13:12:37
CISCO路由AAA的Easy ***
wbzjacky
2019-02-24 13:12:37
三層交換機的HSRP、vlan、端口聚合
wbzjacky
2019-02-24 13:12:37
CISCO訪問控制列表 企業網絡管理的必殺技
wbzjacky
2019-02-24 13:12:37
HSRP和二層交換機的端口聚合、vlan
wbzjacky
2019-02-24 13:12:37