特黄特色三级在线观看免费,看黄色片子免费,色综合久,欧美在线视频看看,高潮胡言乱语对白刺激国产,伊人网成人,中文字幕亚洲一碰就硬老熟妇

學(xué)習(xí)啦 > 學(xué)習(xí)電腦 > 網(wǎng)絡(luò)知識 > 路由器 > 路由器設(shè)置 > cisco思科 > 如何配置思科浮動路由

如何配置思科浮動路由

時間: 權(quán)威724 分享

如何配置思科浮動路由

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

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

  步驟1:準(zhǔn)備基本環(huán)境

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

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

  步驟2:配置路由器,是的兩個網(wǎng)絡(luò)可以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路由器同一網(wǎng)段

  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

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

  回到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信息,對設(shè)置進行保存

  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:建立浮動路由

  由于之前已經(jīng)做好保存,下面直接將路由器關(guān)機,購買一個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網(wǎng)段的網(wǎng)線剪斷,在這之前先看一下A的路由表狀態(tài)

  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#

  發(fā)現(xiàn)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

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

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

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

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

  2.思科路由器怎么進入 思科路由器怎么設(shè)置

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

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

  5.cisco思科路由器設(shè)置

  6.教你如何設(shè)置Cisco路由器安全

  7.CISCO路由器配置命令狀態(tài)

  8.思科Cisco路由器的基礎(chǔ)配置知識

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

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

554737