最新国产好看的视频,伊人天堂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)證:

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

(1)PC1PC2

(2)PC2PC3

(3)PC3PC1

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

相關(guān)文章

最新評(píng)論

阜阳市| 香港 | 商南县| 长沙市| 中山市| 舟曲县| 丹巴县| 施秉县| 衡南县| 葵青区| 中宁县| 荥阳市| 昭苏县| 新龙县| 五原县| 绥德县| 中方县| 女性| 江安县| 根河市| 略阳县| 思茅市| 海林市| 南昌市| 临西县| 无为县| 杨浦区| 灵璧县| 乐亭县| 定安县| 龙州县| 策勒县| 陇川县| 玉溪市| 刚察县| 新田县| 鄂州市| 杭锦旗| 东莞市| 同仁县| 囊谦县|