實驗報告
指導老師:姚育生 實驗者:樊申申 時間:2010-1-21
實驗項目:動態路由選擇協議 RIP |
實驗目的:掌握RIP動態路由配置 |
設備需求:組網拓撲、IP數據: |
|
實驗過程:
基本配置信息
路由器R1的接口配置信息
R1(config)#interface f0/0
R1(config-if)#ip address 192.168.1.1 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)# interface s0/0/0
R1(config-if)#ip address 192.168.2.1 255.255.255.0
R1(config-if)#clock rate 64000
R1(config-if)#no shutdown
查看R1路由接接口信息
下面配置R1路由的RIP
1:啓用RIP
2宣告網絡信息
路由器R2的接口配置信息
R2(config)#interface f0/0
R2(config-if)#ip address 192.168.3.1 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)interface s0/0/0
R2(config-if)#ip address 192.168.2.2 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#interface s0/0/1
R2(config-if)#ip address 192.168.4.1 255.255.255.0
R2(config-if)#clock rate 64000
R2(config-if)#no shutdown
查看R2路由接接口信息
下面配置R2路由的RIP
1:啓用RIP
2宣告網絡信息
路由器R3的接口配置信息
R3(config)#interface f0/0
R3(config-if)#ip address 192.168.5.1 255.255.255.0
R3(config-if)#no shutdown
R3(config-if)#exit
R3(config)#interface s0/0/0
R3(config-if)#ip address 192.168.4.2 255.255.255.0
R3(config-if)#no shutdown
R3(config-if)#exit
R3(config)#interface s0/0/1
R3(config-if)#ip address 192.168.6.1 255.255.255.0
R3(config-if)#clock rate 64000
R3(config-if)#no shutdown
查看R3路由接接口信息
下面配置R3路由的RIP
1:啓用RIP
2宣告網絡信息
路由器R4的接口配置信息
R4(config)#interface f0/0
R4(config-if)#ip address 192.168.7.1 255.255.255.0
R4(config-if)#no shutdown
R4(config-if)#exit
R4(config)#interface s0/0/0
R4(config-if)#ip address 192.168.6.2 255.255.255.0
R4(config-if)#no shutdown
查看R4路由接接口信息
下面配置R4路由的RIP
1:啓用RIP
2宣告網絡信息
好各路由的RIP協議已經配置完成,下面查看各路由的路由表情況:
R1:
其中C表示的是直連,R表示的是管理距離,也就是我們建立RIP動態路由協議後出現的
R2:
R3:
R4:
沒什麼問題,下面我們來測試一下客戶機的連通性:
PC1:
PC1測試沒有問題
|
PC2:
PC2測試沒有問題
PC3:
PC3測試沒有問題
PC4:
|