成人免费xxxxx在线视频软件_久久精品久久久_亚洲国产精品久久久_天天色天天色_亚洲人成一区_欧美一级欧美三级在线观看

路由器配置成幀中繼交換機

網(wǎng)絡(luò) 路由交換
或許你一定在想如何將路由器模擬成幀中交換機,沒錯,這并不是不能實現(xiàn),而且你現(xiàn)在一定可以實現(xiàn),不如趕快來看看吧,不要在煞費苦心的研究了。
路由器配置成幀中繼交換機

Router(config)#frame-relay switching把路由器模擬成幀中繼交換機

Router(config)#inter s1/1

Router(config-if)#clock rate 128000

Router(config-if)#encapsulation frame-relay 配置接口封裝幀中繼

接口上啟用的默認(rèn)幀中繼封裝為Cisco封裝,如果連接到非思科路由器,要使用itef參數(shù)

Router(config-if)#no shu

Router(config)#inter s1/2

Router(config-if)#clo rate 128000

Router(config-if)#encapsulation fr

Router(config-if)#no shu

changed state to upnointer s1/3

Router(config-if)#clo rate 128000

Router(config-if)#encapsulation fr

Router(config-if)#no shu

Router(config)#inter s1/1

Router(config-if)#frame-relay lmi-type cisco 配置LMI類型

Router(config-if)#frame-relay intf-type dce 配置接口為幀中繼的DCE

Router(config-if)#inter s1/2

Router(config-if)#frame-relay lmi-type cisco

Router(config-if)#frame-relay intf-type dce

Router(config-if)#inter s1/3

Router(config-if)#frame-relay lmi-type cisco

Router(config-if)#frame-relay intf-type dce

配置路由器兩個接口之間的pvc

Router(config)#inter s1/1

Router(config-if)#frame-relay route 103 inter s1/2 301

Router(config-if)#frame-relay route 104 inter s1/3 401

Router(config-if)#exit

Router(config)#inter s1/2

Router(config-if)#frame-relay route 301 inter s1/1 103

Router(config-if)#frame-relay route 304 inter s1/3 403

Router(config-if)#exit

Router(config)#inter s1/3

Router(config-if)#frame-relay route 401 inter s1/1 104

Router(config-if)#frame-relay route 403 inter s1/2 304

Router(config-if)#

Router#show frame-relay route

Input IntfInput DlciOutput Intf Output Dlci Status

Serial1/1 103 Serial1/2 301 active

Serial1/1 104 Serial1/3 401 active

Serial1/2 301 Serial1/1 103 active

Serial1/2 304 Serial1/3 403 active

Serial1/3 401 Serial1/1 104 active

Serial1/3 403 Serial1/2 304 active

表明路由器R2上配置3條PVC 狀態(tài)都是活動的

R1的配置

Router(config)#inter s1/1

Router(config-if)#ip address 172.16.134.1 255.255.255.0

Router(config-if)#encapsulation fr 接口封裝幀中繼

Router(config-if)#frame-relay lmi-type cisco

Router(config)#inter fa0/0

Router(config-if)#ip add

Router(config-if)#ip address 192.168.1.1 255.255.255.0

Router(config-if)#no shu

如果采用Cisco路由器的IOS是11.2及以后的版本,路由器可以自動協(xié)商LMI是類型

所以可以不配

Router(config)#router rip

Router(config-router)#ver 2

Router(config-router)#no auto-summary

Router(config-router)#network 172.16.134.0

Router(config-router)#network 192.168.1.0

Router(config-router)#exit

R3和R4同R1

ping測試

Router#ping 172.16.134.1 source 192.168.4.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 172.16.134.1, timeout is 2 seconds:

Packet sent with a source address of 192.168.4.1

Success rate is 100 percent (5/5), round-trip min/avg/max = 120/155/200 ms

查看幀中繼的映射

 

路由器配置成幀中繼交換機

Router#show frame-relay map

Serial1/1 (up): ip 172.16.134.3 dlci 103(0x67,0x1870), dynamic,

broadcast,, status defined, active

Serial1/1 (up): ip 172.16.134.4 dlci 104(0x68,0x1880), dynamic,

broadcast,, status defined, active

以上輸出顯示了逆向ARP的作用結(jié)果 表明路由器R1每個封裝幀中繼的接口都包含2條處于活動狀態(tài)的DLCI,每條都顯示了遠程Ip地址與本地的DLCI的映射關(guān)系

broadcast“參數(shù)允許在PVC上傳輸廣播或組播流量 “dynamic 表明動態(tài)映射

每臺路由器都不能ping通自己的串行接口的ip地址,但是可以ping通遠程封裝幀中繼的串行接口的ip地址 是因為自己的幀中繼映射表中沒有自己的接口ip地址和DLCI的映射條目。 逆向ARP做動態(tài)映射解決不了該問題,只能通過靜態(tài)映射解決

Router#show ip route rip

R192.168.4.0/24 [120/1] via 172.16.134.4, 00:00:07, Serial1/1

R192.168.3.0/24 [120/1] via 172.16.134.3, 00:00:27, Serial1/1

Router#show ip route rip

R192.168.4.0/24 [120/1] via 172.16.134.4, 00:00:00, Serial1/2

R192.168.1.0/24 [120/1] via 172.16.134.1, 00:00:05, Serial1/2

Router#show ip route rip

R192.168.1.0/24 [120/1] via 172.16.134.1, 00:00:18, Serial1/3

R192.168.3.0/24 [120/1] via 172.16.134.3, 00:00:27, Serial1/3

在本實驗中,幀中繼交換機在路由器R2上采用了PVC全互連的拓撲結(jié)構(gòu)

但是在實際應(yīng)用中,為了節(jié)省費用,一般采用(中心--分支)的拓撲結(jié)構(gòu)

即只有分支到中心的PVC,假如R1是中心路由 R2和R3是分支路由

在R2上是配置如下

Router(config)#inter s1/2

Router(config-if)#no frame-relay route 304 interface s1/3 403

Router(config-if)#inter s1/3

Router(config-if)#no frame-relay route 403 interface s1/2 304

在R3和R4上

Router#show frame-relay map

Serial1/2 (up): ip 172.16.134.1 dlci 301(0x12D,0x48D0), dynamic,

broadcast,, status defined, active

Router#show frame-relay map

Serial1/3 (up): ip 172.16.134.1 dlci 401(0x191,0x6410), dynamic,

broadcast,, status defined, active

可以看到R3和R4上只有一條到中心站點路由器R1的映射

R4和R3的網(wǎng)絡(luò)不可達

R1

配置幀中繼的靜態(tài)映射

Router(config)#inter s1/1

Router(config-if)#no frame-relay inverse-arp

關(guān)閉逆向ARP ,默認(rèn)是開啟的

Router(config-if)#frame-relay map ip 172.16.134.3 103 broadcast

配置幀中繼靜態(tài)映射

Router(config-if)#frame-relay map ip 172.16.134.4 104 broadcast

Router(config-if)#frame-relay map ip 172.16.134.1 104 broadcast

配置自己接口的ip地址的映射,目的是允許ping路由器該接口的ip地址

R3

Router(config)#inter s1/2

Router(config-if)#no frame-relay inverse-arp

Router(config-if)#frame-relay map ip 172.16.134.1 301 broadcast

Router(config-if)#frame-relay map ip 172.16.134.4 304 broadcast

Router(config-if)#frame-relay map ip 172.16.134.3 301 broadcast

R4

Router(config)#inter s1/3

Router(config-if)#no frame-relay inverse-arp

Router(config-if)#frame-relay map ip 172.16.134.1 401 broadcast

Router(config-if)#frame-relay map ip 172.16.134.3 403 broadcast

Router(config-if)#frame-relay map ip 172.16.134.4 401 broadcast

R1#show frame-relay map

Serial1/1 (up): ip 172.16.134.1 dlci 104(0x68,0x1880), static,

broadcast,

CISCO, status defined, active

Serial1/1 (up): ip 172.16.134.3 dlci 103(0x67,0x1870), static,

broadcast,

CISCO, status defined, active

Serial1/1 (up): ip 172.16.134.4 dlci 104(0x68,0x1880), static,

broadcast,

CISCO, status defined, active

R3#show frame-relay map

Serial1/2 (up): ip 172.16.134.1 dlci 301(0x12D,0x48D0), static,

broadcast,

CISCO, status defined, active

Serial1/2 (up): ip 172.16.134.3 dlci 301(0x12D,0x48D0), static,

broadcast,

CISCO, status defined, active

Serial1/2 (up): ip 172.16.134.4 dlci 301(0x12D,0x48D0), static,

broadcast,

CISCO, status defined, active

R4#show frame-relay map

Serial1/3 (up): ip 172.16.134.1 dlci 401(0x191,0x6410), static,

broadcast,

CISCO, status defined, active

Serial1/3 (up): ip 172.16.134.3 dlci 401(0x191,0x6410), static,

broadcast,

CISCO, status defined, active

Serial1/3 (up): ip 172.16.134.4 dlci 401(0x191,0x6410), static,

broadcast,

CISCO, status defined, active

封裝幀中繼每個接口都采用了靜態(tài)映射

R1#show ip route rip

R192.168.4.0/24 [120/1] via 172.16.134.4, 00:00:26, Serial1/1

R192.168.3.0/24 [120/1] via 172.16.134.3, 00:00:07, Serial1/1

R1#show ip interface s1/1

Serial1/1 is up, line protocol is up

Internet address is 172.16.134.1/24

Broadcast address is 255.255.255.255

Split horizon is disabled接口封裝幀中繼后,水平分割被自動關(guān)閉

R1(R1(config)#inter s1/1

R1(config-if)#ip split-horizon 開啟水平分割

R1#clear ip route * 清除路由表

R1#show ip route rip

R192.168.4.0/24 [120/1] via 172.16.134.4, 00:00:07, Serial1/1

R192.168.3.0/24 [120/1] via 172.16.134.3, 00:00:11, Serial1/1

重新獲得

R3#show ip route rip

R192.168.1.0/24 [120/1] via 172.16.134.1, 00:00:15, Serial1/2

R4#show ip route rip

R192.168.1.0/24 [120/1] via 172.16.134.1, 00:00:06, Serial1/3

R3沒有了R4的路由

R4沒有了R3的路由

責(zé)任編輯:遺忘者 來源: 比特網(wǎng)
相關(guān)推薦

2011-08-16 11:37:22

幀中繼

2010-01-05 15:45:42

配置幀中繼交換機

2011-08-16 13:55:03

交換機Cisco

2011-03-31 09:09:00

2009-12-03 13:24:46

路由器交換機區(qū)別

2017-06-01 14:33:04

交換機路由器網(wǎng)絡(luò)設(shè)備

2011-03-24 14:05:14

Nagios監(jiān)控

2009-11-26 09:56:39

Cisco路由器配置命交換機配置命令

2010-01-12 09:03:39

華為路由器交換機

2011-07-21 13:46:09

Cisco ACE

2009-12-03 11:43:30

路由器交換機區(qū)別

2013-01-28 10:13:27

交換機路由器路由功能

2009-12-03 09:31:55

交換機路由器 功能

2014-06-05 14:36:53

SDN交換機服務(wù)器

2013-05-20 14:10:13

Cisco路由器交換機

2009-10-15 16:04:49

路由器變交換機

2022-09-22 17:02:42

網(wǎng)絡(luò)硬件

2009-12-23 16:01:38

路由器交換機

2022-09-22 19:19:52

網(wǎng)絡(luò)硬件路由器交換機

2022-09-22 19:23:11

網(wǎng)絡(luò)硬件路由器交換機
點贊
收藏

51CTO技術(shù)棧公眾號

主站蜘蛛池模板: 欧美性猛交一区二区三区精品 | 亚洲一区网站 | 成人一区二区电影 | 国产特级毛片aaaaaa喷潮 | 蜜桃av一区二区三区 | 日韩在线看片 | 久久久av| 亚洲成人三区 | 久久成人免费视频 | 亚洲欧美日韩一区二区 | 日韩成人一区 | 欧美日韩一区在线 | 久久国产成人 | 中文字幕亚洲精品 | 亚洲二区视频 | 视频一二区 | 国产成人精品综合 | 天天草天天射 | 日本人做爰大片免费观看一老师 | 中文无吗 | 亚洲福利在线视频 | 日韩精品久久久久 | 中文字幕在线免费观看 | 人人做人人澡人人爽欧美 | 国产在线一区二区三区 | 亚洲一区视频在线 | 日本特黄特色aaa大片免费 | 久久中文字幕电影 | 99精品国产一区二区三区 | 欧美视频精品 | 激情欧美一区二区三区中文字幕 | 国产一区二区麻豆 | 国产99久久精品一区二区永久免费 | 欧美一区二区三区视频在线观看 | 亚洲视频自拍 | 欧美一区二区在线视频 | 色秀网站| 99re视频在线| 亚洲人成人一区二区在线观看 | 久久精品色欧美aⅴ一区二区 | 男人的天堂亚洲 |