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

思科Cisco路由器配置——RIP路由全網(wǎng)互通配置實(shí)驗(yàn)詳解

  發(fā)布時(shí)間:2020-02-28 14:35:26   作者:Stalk   我要評(píng)論
這篇文章主要介紹了思科Cisco RIP路由全網(wǎng)互通配置實(shí)驗(yàn),詳細(xì)分析了思科Cisco基于rip協(xié)議的全網(wǎng)互通配置相關(guān)步驟、配置命令與操作注意事項(xiàng),需要的朋友可以參考下

本文實(shí)例講述了思科Cisco RIP路由全網(wǎng)互通配置實(shí)驗(yàn)。分享給大家供大家參考,具體如下:

一、實(shí)驗(yàn)?zāi)康?/strong>:用rip路由實(shí)現(xiàn)全網(wǎng)互通

二、拓?fù)鋱D

三、具體步驟配置

(1)R1路由器配置

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

R1(config-if)#interface s0/0/0  --進(jìn)入端口
R1(config-if)#ip address 172.16.4.2 255.255.255.0  --為端口配置ip地址
R1(config-if)#clock rate 64000  --配置時(shí)鐘同步速率
This command applies only to DCE interfaces
R1(config-if)#no shutdown  --激活端口

%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down
R1(config-if)#interface s0/0/1  --進(jìn)入端口
R1(config-if)#ip address 10.3.0.1 255.255.255.0  --為端口配置ip地址
R1(config-if)#clock rate 64000  --配置時(shí)鐘同步速率
R1(config-if)#no shutdown  --激活端口

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

(2)R2路由器配置

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

R2(config-if)#interface s0/0/0  --進(jìn)入端口
R2(config-if)#ip address 172.16.4.1 255.255.255.0   --為端口配置ip地址
R2(config-if)#no shutdown  --激活端口

R2(config-if)#exit  --返回上一級(jí)
R2(config)#route rip  --開啟rip協(xié)議
R2(config-router)#version 2  --版本2
R2(config-router)#no auto-summary  --關(guān)閉自動(dòng)匯總
R2(config-router)#network 172.16.0.0  --添加直連網(wǎng)段到rip
R2(config-router)#network 10.0.0.0
R2(config-router)#end  --返回特權(quán)模式

(3)R3路由器配置

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

R3(config-if)#interface s0/0/0  --進(jìn)入端口
R3(config-if)#ip address 10.3.0.2 255.255.0.0  --為端口配置ip地址
R3(config-if)#no shutdown  --激活端口

R3(config-if)#exit  --返回上一級(jí)
R3(config)#route rip  --開啟rip協(xié)議
R3(config-router)#version 2  --版本2
R3(config-router)#no auto-summary  --關(guān)閉自動(dòng)匯總
R3(config-router)#network 10.0.0.0  --添加直連網(wǎng)段到rip
R3(config-router)#network 172.16.0.0
R3(config-router)#end  --返回特權(quán)模式

(4)R4路由器配置

Router>enable  --進(jìn)入特權(quán)模式
Router#configure terminal  --進(jìn)入全局配置模式
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R4  --修改主機(jī)名為R4
R4(config)#interface f0/1  --進(jìn)入端口
R4(config-if)#ip address 192.168.2.1 255.255.255.0  --為端口配置ip地址
R4(config-if)#no shutdown  --激活端口

R4(config-if)#interface f0/0  --進(jìn)入端口
R4(config-if)#ip address 192.168.1.2 255.255.255.0  --為端口配置ip地址
R4(config-if)#no shutdown  --激活端口

R4(config-if)#exit  --返回上一級(jí)
R4(config)#route rip  --開rip協(xié)議
R4(config-router)#version 2  --版本
R4(config-router)#no auto-summary  --關(guān)閉自動(dòng)匯總
R4(config-router)#network 192.168.1.0  --添加直連網(wǎng)段到rip
R4(config-router)#network 192.168.2.0
R4(config-router)#end  --返回特權(quán)模式

四、驗(yàn)證測(cè)試:

(1)查看R1路由表信息

(2)測(cè)試各臺(tái)主機(jī)相互之間是否能ping

1、PC1PC2

2、PC2PC3

 

3、PC3PC1

 

結(jié)果:全網(wǎng)互通成功

相關(guān)文章

最新評(píng)論