欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

思科Cisco路由器配置——RIP路由配置實驗詳解

  發(fā)布時間:2020-02-26 14:44:14   作者:Stalk   我要評論
這篇文章主要介紹了思科Cisco路由器配置RIP路由配置實驗,詳細分析了思科Cisco配置RIP路由的具體原理、步驟、配置命令與操作注意事項,需要的朋友可以參考下

本文實例講述了思科Cisco RIP路由配置實驗。分享給大家供大家參考,具體如下:

一、實驗目的:使用RIP版本2配置路由器,讓路由器可以接收到所有的路由條目

二、拓撲圖:

三、具體步驟配置:

(1)R1路由器配置

Router>enable  --進入特權模式
Router#configure terminal  --進入全局配置模式
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1  --修改路由器名為R1
R1(config)#interface s0/0/0  --進入端口
R1(config-if)#ip address 192.168.1.1 255.255.255.0  --設置ip地址
R1(config-if)#clock rate 64000  --設置時鐘速率
R1(config-if)#no shutdown  --激活端口

%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down
R1(config-if)#interface l0  --進入回環(huán)端口

R1(config-if)#ip address 1.1.1.1 255.255.255.0  --設置ip地址
R1(config-if)#exit  --返回上一級
R1(config)#router rip  --開啟rip協(xié)議
R1(config-router)#version 2  --版本2
R1(config-router)#no auto-summary  --關閉自動匯總
R1(config-router)#network 192.168.1.0  --添加直連網(wǎng)段到RIP
R1(config-router)#network 1.1.1.0   --添加直連網(wǎng)段到RIP
R1(config-router)#end   --返回特權模式

(2)R2路由器配置

Router>enable  --進入特權模式
Router#configure terminal  --進入全局配置模式
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R2  --修改路由器名為R2
R2(config)#interface s0/0/0  --進入端口
R2(config-if)#ip address 192.168.1.2 255.255.255.0  --設置ip地址
R2(config-if)#no shutdown  --激活端口

R2(config-if)#interface s0/0/1  --進入端口
R2(config-if)#ip address 192.168.2.1 255.255.255.0  --設置ip地址
R2(config-if)#clock rate 64000  --設置時鐘速率
R2(config-if)#no shutdown  --激活端口

%LINK-5-CHANGED: Interface Serial0/0/1, changed state to down
R2(config-if)#exit  --返回上一級
R2(config)#router rip  --開啟rip協(xié)議
R2(config-router)#version 2  --版本2
R2(config-router)#no auto-summary  --關閉自動匯總
R2(config-router)#network 192.168.1.0  --添加直連網(wǎng)段到RIP
R2(config-router)#network 192.168.2.0  ----添加直連網(wǎng)段到RIP
R2(config-router)#end  --返回特權模式

(3)R3路由器配置

Router>enable  --進入特權模式
Router#configure terminal  --進入全局配置模式
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R3  --修改路由器名R3
R3(config)#interface s0/0/0  --進入端口
R3(config-if)#ip address 192.168.3.1 255.255.255.0  --設置ip地址
R3(config-if)#clock rate 64000  --設置時鐘速率
R3(config-if)#no shutdown  --激活端口

%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down
R3(config-if)#interface s0/0/1  --進入端口
R3(config-if)#ip address 192.168.2.2 255.255.255.0  --設置ip地址
R3(config-if)#no shutdown  --激活端口

R3(config-if)#exit  --返回上一級
R3(config)#router rip  --開啟rip協(xié)議
R3(config-router)#version 2  --版本2
R3(config-router)#no auto-summary  --關閉自動匯總
R3(config-router)#network 192.168.2.0  --添加直連網(wǎng)段到RIP
R3(config-router)#network 192.168.3.0  --添加直連網(wǎng)段到RIP
R3(config-router)#end  --返回特權模式

(3)R4路由器配置

Router>enable  --進入特權模式
Router#configure terminal  --進入全局配置模式
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R4  --修改路由器名為R4
R4(config)#interface s0/0/0  --進入端口
R4(config-if)#ip address 192.168.3.2 255.255.255.0  --設置ip地址
R4(config-if)#no shutdown  --激活端口

R4(config-if)#interface l0  --進入回環(huán)端口

R4(config-if)#ip address 2.2.1.1 255.255.255.0  --設置ip地址
R4(config-if)#interface l1  --進入回環(huán)端口

R4(config-if)#ip address 2.2.2.1 255.255.255.0  --設置ip地址
R4(config-if)#interface l2  --進入回環(huán)端口

R4(config-if)#ip address 2.2.3.1 255.255.255.0  --設置ip地址
R4(config-if)#interface l3  --進入回環(huán)端口

R4(config-if)#ip address 2.2.4.1 255.255.255.0  --設置ip地址
R4(config-if)#exit  返回上一級
R4(config)#router rip  --開啟rtp協(xié)議
R4(config-router)#version 2  --版本2
R4(config-router)#no auto-summary  --關閉路由匯總
R4(config-router)#network 192.168.3.0  --添加直連網(wǎng)段到RIP
R4(config-router)#network 2.2.1.0  --添加直連網(wǎng)段到RIP
R4(config-router)#network 2.2.2.0  --添加直連網(wǎng)段到RIP
R4(config-router)#network 2.2.3.0  --添加直連網(wǎng)段到RIP
R4(config-router)#network 2.2.4.0  --添加直連網(wǎng)段到RIP
R4(config-router)#end  --返回特權模式

四、驗證:

(1)查看路由器路由表

(2)測試ping通性

相關文章

最新評論