亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

思科Cisco路由器配置——靜態(tài)路由全網(wǎng)互通配置實驗詳解

  發(fā)布時間:2020-02-24 14:34:38   作者:Stalk   我要評論
這篇文章主要介紹了思科Cisco靜態(tài)路由全網(wǎng)互通配置實驗,詳細分析了思科Cisco靜態(tài)路由設(shè)置固定IP實現(xiàn)全網(wǎng)互通的相關(guān)步驟、配置命令與操作注意事項,需要的朋友可以參考下

本文實例講述了思科Cisco路由器配置——靜態(tài)路由全網(wǎng)互通配置實驗。分享給大家供大家參考,具體如下:

一、實驗要求:配置靜態(tài)路由實現(xiàn)全網(wǎng)互通。

二、拓撲圖

三、具體步驟配置

 (1)R1路由器配置:

Router>enable  --進入特權(quán)模式
Router#config 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.13.1 255.255.255.0  --設(shè)置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  --進入端口
R1(config-if)#ip address 192.168.23.1 255.255.255.0  --設(shè)置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)#interface f0/0  --進入端口
R1(config-if)#ip address 192.168.1.254 255.255.255.0  --設(shè)置ip地址
R1(config-if)#no shutdown  --激活端口

R1(config-if)#exit  --返回上一級
R1(config)#ip route 192.168.2.0 255.255.255.0 192.168.13.2  --配置靜態(tài)路由
R1(config)#ip route 192.168.3.0 255.255.255.0 192.168.23.2
R1(config)#ip route 192.168.12.0 255.255.255.0 192.168.13.2
R1(config)#end  --返回特權(quán)模式

(2)R2路由器配置:

Router>enable   --進入特權(quán)模式
Router#config 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.13.2 255.255.255.0  --設(shè)置ip地址
R2(config-if)#no shutdown  --激活端口

R2(config-if)#interface f0/0  --進入端口
R2(config-if)#ip address 192.168.2.254 255.255.255.0  --設(shè)置ip地址
R2(config-if)#no shutdown  --激活端口

R2(config-if)#interface f0/1  --進入端口
R2(config-if)#ip address 192.168.12.2 255.255.255.0  --設(shè)置ip地址
R2(config-if)#no shutdown  --激活端口

R2(config-if)#exit  --返回上一級
R2(config)#ip route 192.168.1.0 255.255.255.0 192.168.13.1  --配置靜態(tài)路由
R2(config)#ip route 192.168.3.0 255.255.255.0 192.168.12.1
R2(config)#ip route 192.168.23.0 255.255.255.0 192.168.13.1
R2(config)#end  --返回特權(quán)模式

(3)R2路由器配置

Router>enable  --進入特權(quán)模式
Router#config 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.23.2 255.255.255.0  --設(shè)置ip地址
R3(config-if)#no shutdown  --激活端口

R3(config-if)#interface f0/0  --進入端口
R3(config-if)#ip address 192.168.3.254 255.255.255.0  --設(shè)置ip地址
R3(config-if)#no shutdown  --激活端口

R3(config-if)#interface f0/1  --進入端口
R3(config-if)#ip address 192.168.12.1 255.255.255.0  --設(shè)置ip地址
R3(config-if)#no shutdown  --激活端口

R3(config-if)#exit  --返回上一級
R3(config)#ip route 192.168.1.0 255.255.255.0 192.168.23.1  --設(shè)置靜態(tài)路由
R3(config)#ip route 192.168.23.0 255.255.255.0 192.168.12.2
R3(config)#ip route 192.168.2.0 255.255.255.0 192.168.12.2

R3(config)#end  --返回特權(quán)模式

四、驗證:

測試每臺主機是否互通

(1)PC1PC2

(2)PC2PC3

(3)PC3PC1

(4)全網(wǎng)互通成功

相關(guān)文章

最新評論