• <output id="aynwq"><form id="aynwq"><code id="aynwq"></code></form></output>

    <mark id="aynwq"><option id="aynwq"></option></mark>
  • <mark id="aynwq"><option id="aynwq"></option></mark><label id="aynwq"><dl id="aynwq"></dl></label>
  • 學習啦 > 學習電腦 > 網絡知識 > 路由器 > 路由器設置 > cisco思科 > 如何配置思科浮動路由

    如何配置思科浮動路由

    時間: 權威724 分享

    如何配置思科浮動路由

      思科制造的路由器、交換機和其他設備承載了全球80%的互聯網通信,成為硅谷中新經濟的傳奇,那么你知道如何配置思科浮動路由嗎?下面是學習啦小編整理的一些關于如何配置思科浮動路由的相關資料,供你參考。

      配置思科浮動路由的方法:

      步驟1:準備基本環境

      首先,打開Cisco Packet tracer。購買兩臺主機,兩臺交換機。兩臺路由器,并各自組成A、B網絡,

      為主機A配置IP為192.168.1.1。主機B配置192.168.3.1。

      步驟2:配置路由器,是的兩個網絡可以ping通

      打開路由器A,進入

      Router>enable

      Router#configure terminal

      Enter configuration commands, one per line. End with CNTL/Z.

      Router(config)#interface fastethernet 0/0

      Router(config-if)#ip address 192.168.1.254 255.255.255.0

      Router(config-if)#no shutdown

      Router(config-if)#

      %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

      %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

      打開路由器B,

      Router>enable

      Router#configure terminal

      Enter configuration commands, one per line. End with CNTL/Z.

      Router(config)#interface fastethernet 0/0

      Router(config-if)#ip address 192.168.3.254 255.255.255.0

      Router(config-if)#no shutdown

      Router(config-if)#

      %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

      %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

      回到A配置與B路由器同一網段

      Router#

      Router#configure terminal

      Enter configuration commands, one per line. End with CNTL/Z.

      Router(config)#interface fastethernet 0/1

      Router(config-if)#ip address 192.168.2.1 255.255.255.0

      Router(config-if)#no shutdown

      Router(config-if)#

      %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

      同樣進入B

      Router#

      Router#configure terminal

      Enter configuration commands, one per line. End with CNTL/Z.

      Router(config)#interface fastethernet 0/1

      Router(config-if)#ip address 192.168.2.2 255.255.255.0

      Router(config-if)#no shutdown

      Router(config-if)#

      %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

      %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

      這樣就將兩個路由器加入到同一網段。下面為路由表添加下一跳

      回到A

      Router#

      Router#configure terminal

      Enter configuration commands, one per line. End with CNTL/Z.

      Router(config)#ip route 192.168.3.0 255.255.255.0 192.168.2.2

      Router(config)#

      回到B

      Router#

      Router#configure terminal

      Enter configuration commands, one per line. End with CNTL/Z.

      Router(config)#ip route 192.168.1.0 255.255.255.0 192.168.2.1

      Router(config)#

      通過主機Aping主機B,

      C>ping 192.168.3.1

      Pinging 192.168.3.1 with 32 bytes of data:

      Reply from 192.168.3.1: bytes=32 time=0ms TTL=126

      Reply from 192.168.3.1: bytes=32 time=0ms TTL=126

      Reply from 192.168.3.1: bytes=32 time=0ms TTL=126

      Reply from 192.168.3.1: bytes=32 time=0ms TTL=126

      Ping statistics for 192.168.3.1:

      Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

      Approximate round trip times in milli-seconds:

      Minimum = 0ms, Maximum = 0ms, Average = 0ms

      回到主機A查看IP信息,對設置進行保存

      C 192.168.1.0/24 is directly connected, FastEthernet0/0

      C 192.168.2.0/24 is directly connected, FastEthernet0/1

      S 192.168.3.0/24 [1/0] via 192.168.2.2

      Router#write

      Building configuration...

      [OK]

      Router#

      同樣步驟到B

      S 192.168.1.0/24 [1/0] via 192.168.2.1

      C 192.168.2.0/24 is directly connected, FastEthernet0/1

      C 192.168.3.0/24 is directly connected, FastEthernet0/0

      Router#write

      Building configuration...

      [OK]

      Router#

      Router#

      步驟2:建立浮動路由

      由于之前已經做好保存,下面直接將路由器關機,購買一個MN-1FE-TX到路由器A B,為端口連線。

      開機

      進入路由器A

      Router(config)#interface fastethernet 1/0

      Router(config-if)#ip address 192.168.4.1 255.255.255.0

      Router(config-if)#no shutdown

      Router(config-if)#

      進入B

      outer>enable

      Router#configure terminal

      Enter configuration commands, one per line. End with CNTL/Z.

      Router(config)#interface fastethernet 1/0

      Router(config-if)#ip address 192.168.4.2 255.255.255.0

      Router(config-if)#no shutdown

      Router(config-if)#

      這樣就連通了兩個路由器,再回到A

      outer(config)#interface fastethernet 1/0

      Router(config-if)#ip address 192.168.4.1 255.255.255.0

      Router(config-if)#no shutdown

      Router(config-if)#exit

      Router(config)#

      Router(config)#ip route 192.168.3.0 255.255.255.0 192.168.4.2 50

      Router(config)#

      回到B,

      outer(config)#interface fastethernet 1/0

      Router(config-if)#ip address 192.168.4.2 255.255.255.0

      Router(config-if)#no shutdown

      Router(config-if)#exit

      Router(config)#

      Router(config)#ip route 192.168.1.0 255.255.255.0 192.168.4.1

      Router(config)#

      為了驗證浮動路由的作用,下面我們將A路由器的2.0網段的網線剪斷,在這之前先看一下A的路由表狀態

      Gateway of last resort is not set

      C 192.168.1.0/24 is directly connected, FastEthernet0/0

      C 192.168.2.0/24 is directly connected, FastEthernet0/1

      S 192.168.3.0/24 [1/0] via 192.168.2.2

      C 192.168.4.0/24 is directly connected, FastEthernet1/0

      Router#

      下面剪斷拔掉192.168.2.1的端口

      Router(config)#interface fastethernet 0/1

      Router(config-if)#shutdown

      Router(config-if)#

      %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to administratively down

      %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down

      Router(config-if)#

      再次進入查看路由

      C 192.168.1.0/24 is directly connected, FastEthernet0/0

      S 192.168.3.0/24 [50/0] via 192.168.4.2

      C 192.168.4.0/24 is directly connected, FastEthernet1/0

      Router#

      發現192.168.4.0段的路由開始生效,用主機Aping一下主機B。

      C>ping 192.168.3.1

      Pinging 192.168.3.1 with 32 bytes of data:

      Reply from 192.168.3.1: bytes=32 time=0ms TTL=126

      Reply from 192.168.3.1: bytes=32 time=0ms TTL=126

      Reply from 192.168.3.1: bytes=32 time=0ms TTL=126

      Reply from 192.168.3.1: bytes=32 time=0ms TTL=126

      Ping statistics for 192.168.3.1:

      Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

      Approximate round trip times in milli-seconds:

      Minimum = 0ms, Maximum = 0ms, Average = 0ms

      沒有任何問題,至此,浮動路由配置完成

      實驗結果:本次實驗其實沒有什么難度的說,主要還是熟練,熟練了能分清楚各IP網段就好了。

      看過文章“cisco RIP如何配置"的人還看了:

      1.思科路由器基本配置教程

      2.思科路由器怎么進入 思科路由器怎么設置

      3.如何查看Cisco路由器的配置信息

      4.如何利用腳本配置思科路由器

      5.cisco思科路由器設置

      6.教你如何設置Cisco路由器安全

      7.CISCO路由器配置命令狀態

      8.思科Cisco路由器的基礎配置知識

      9.Cisco路由器配置命令全攻略

      10.利用腳本配置思科路由器教程

    554737 主站蜘蛛池模板: 一本一本久久a久久精品综合| 国产欧美久久一区二区三区| 国产美女精品视频| 再深点灬用力灬太大了| 中文字幕日韩精品有码视频| 视频区小说区图片区激情| 日韩欧美亚洲视频| 国产成人免费在线观看| 亚洲AV香蕉一区区二区三区| 俺去俺也在线www色官网| 欧美成人免费一区二区| 国产精品毛片一区二区| 亚洲成av人片在线观看无码| 69久久夜色精品国产69| 欧美日韩高清在线观看| 国产色无码精品视频国产| 亚洲欧美另类国产| 8x视频在线观看| 欧美成人另类人妖| 国产精品国产三级国产在线观看| 亚洲妓女综合网99| 2021乱理片宅它网| 欧美jizzjizz在线播放| 国产日韩欧美视频| 久久综合九色综合精品| 黄色软件视频大全免费下载| 日韩免费a级在线观看| 国产午夜无码福利在线看网站| 久久国产成人精品国产成人亚洲| 野外亲子乱子伦视频丶久草资源| 日本19禁综艺直接啪啪| 国产jizzjizz视频全部免费| 中文国产在线观看| 精品久久久久成人码免费动漫 | 久久久久夜夜夜精品国产| 被夫の上司持久侵犯奈奈美| 成年免费视频黄网站在线观看| 午夜不卡av免费| 78成人精品电影在线播放 | 男人扒开女人下面狂躁动漫版| 国产精品高清视亚洲一区二区|