最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

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

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

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

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

二、拓?fù)鋱D

三、具體步驟配置

 (1)R1路由器配置:

Router>enable  --進(jìn)入特權(quán)模式
Router#config terminal  --進(jìn)入全局配置模式
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1  --修改路由器名為R1
R1(config)#interface S0/0/0  --進(jìn)入端口
R1(config-if)#ip address 192.168.13.1 255.255.255.0  --設(shè)置ip地址
R1(config-if)#clock rate 64000  --設(shè)置時(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 192.168.23.1 255.255.255.0  --設(shè)置ip地址
R1(config-if)#clock rate 64000  --設(shè)置時(shí)鐘速率
R1(config-if)#no shutdown  --激活端口

%LINK-5-CHANGED: Interface Serial0/0/1, changed state to down
R1(config-if)#interface f0/0  --進(jìn)入端口
R1(config-if)#ip address 192.168.1.254 255.255.255.0  --設(shè)置ip地址
R1(config-if)#no shutdown  --激活端口

R1(config-if)#exit  --返回上一級(jí)
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   --進(jìn)入特權(quán)模式
Router#config terminal  --進(jìn)入全局配置模式
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R2  --修改主機(jī)名為R2
R2(config)#interface s0/0/0  --進(jìn)入端口
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  --進(jìn)入端口
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  --進(jìn)入端口
R2(config-if)#ip address 192.168.12.2 255.255.255.0  --設(shè)置ip地址
R2(config-if)#no shutdown  --激活端口

R2(config-if)#exit  --返回上一級(jí)
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  --進(jìn)入特權(quán)模式
Router#config terminal  --進(jìn)入全局配置模式
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R3  --修改主機(jī)名為R3

R3(config)#interface s0/0/0  --進(jìn)入端口
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  --進(jìn)入端口
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  --進(jìn)入端口
R3(config-if)#ip address 192.168.12.1 255.255.255.0  --設(shè)置ip地址
R3(config-if)#no shutdown  --激活端口

R3(config-if)#exit  --返回上一級(jí)
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)模式

四、驗(yàn)證:

測(cè)試每臺(tái)主機(jī)是否互通

(1)PC1PC2

(2)PC2PC3

(3)PC3PC1

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

相關(guān)文章

最新評(píng)論

青神县| 越西县| 师宗县| 隆安县| 海兴县| 昌江| 宾阳县| 彭州市| 津市市| 嘉善县| 图片| 平度市| 屯留县| 南郑县| 达日县| 同仁县| 大安市| 嫩江县| 舒城县| 霸州市| 仙桃市| 溧阳市| 东方市| 共和县| 绿春县| 松潘县| 南丰县| 同江市| 措美县| 陆丰市| 西乌珠穆沁旗| 德江县| 五莲县| 涡阳县| 阳原县| 阿勒泰市| 文化| 荃湾区| 锡林浩特市| 合川市| 莫力|