首页
登录 | 注册

[Lab3]Frame-Relay专题

[Lab3]FR专题

1 把一台Cisco 路由器配置为帧中继交换机

R4#sh run

multilink bundle-name authenticated

frame-relay switching

interface Serial1/1

no ip address

encapsulation frame-relay

no ip route-cache

serial restart-delay 0

frame-relay lmi-type cisco

frame-relay intf-type dce

frame-relay route 102 interface Serial1/2 201

frame-relay route 103 interface Serial1/3 301

!

interface Serial1/2

no ip address

encapsulation frame-relay

no ip route-cache

serial restart-delay 0

frame-relay lmi-type cisco

frame-relay intf-type dce

frame-relay route 201 interface Serial1/1 102

frame-relay route 203 interface Serial1/3 302 <ISP 会取消一条>

!

interface Serial1/3

no ip address

encapsulation frame-relay

no ip route-cache

serial restart-delay 0

frame-relay lmi-type cisco

frame-relay intf-type dce

frame-relay route 301 interface Serial1/1 103

frame-relay route 302 interface Serial1/2 203<ISP会取消这一条>

!

===============================================

R4#sh frame-relay route

Input Intf Input Dlci Output Intf Output Dlci Status

Serial1/1 102 Serial1/2 201 active

Serial1/1 103 Serial1/3 301 active

Serial1/2 201 Serial1/1 102 active

Serial1/2 203 Serial1/3 302 active

Serial1/3 301 Serial1/1 103 active

Serial1/3 302 Serial1/2 203 active

2帧中继基本配置、帧中继映射

我们依旧让r4保持互联(默认情况下,供应商 r4并不会全互联)

分别在R1/R2/R3 配置如下 ( 关闭 in arp)

====================R1=============================

interface Serial1/0

ip address 192.168.123.1 255.255.255.0

encapsulation frame-relay

serial restart-delay 0

frame-relay map ip 192.168.123.3 103 B

frame-relay map ip 192.168.123.2 102 B

no frame-relay inverse-arp

frame-relay lmi-type cisco

frame-relay inft-type dce

====================R2============================

interface Serial1/0

ip address 192.168.123.2 255.255.255.0

encapsulation frame-relay

serial restart-delay 0

/frame-relay map ip 192.168.123.3 203 B/

frame-relay map ip 192.168.123.1 201 B

no frame-relay inverse-arp

frame-relay lmi-type cisco

frame-relay inft-type dce

===================R3=========================

interface Serial1/0

ip address 192.168.123.3 255.255.255.0

encapsulation frame-relay

serial restart-delay 0

/ frame-relay map ip 192.168.123.2 302 B/

frame-relay map ip 192.168.123.1 301 B

no frame-relay inverse-arp

frame-relay lmi-type cisco

================================================

以前的配置是全互联的配置,但往往实际环境中是hub-spoken方式,以上红色标出的的FR map是没有的

R1可以跟R2/R3连接,但r2与r3不可以 ping通

3帧中继上的RIP

我们分别在R1 跑rip v1结果发现更本就学不到,所以我们在做FR map的时候,后面要加一个broadcast

那么我们在R2中看路由表及下一条是什么? <192.168.123.1>

R2#sh ip route rip

R 1.0.0.0/8 [120/1] via 192.168.123.1, 00:00:17, Serial1/0

R 3.0.0.0/8 [120/1] via 192.168.123.1, 00:00:17, Serial1/0

默认情况下: R1 的s1/0水平分割是关闭的

R1(config)#int s1/0

R1(config-if)#ip split-horizon \\开启水平分割

用命令 show ip int s1/0 可以查看

R2#sh ip route r

R 1.0.0.0/8 [120/1] via 192.168.123.1, 00:00:06, Serial1/0

R2 只能获得R1 的环回口路由,这是由于R1 上的水平分割开启后,R1 从R3 接收到R3 公

告的路由后,不从帧中继口发送出来,导致R2 没有接收到R3上公告的路由

4帧中继点到多点子接口

R1#sh run int s0/0

Building configuration...

Current configuration : 128 bytes

!

interface Serial0/0

no ip address

encapsulation frame-relay

no dce-terminal-timing-enable

no frame-relay inverse-arp

end

R1#sh run int s0/0.2

Building configuration...

Current configuration : 176 bytes

!

interface Serial0/0.2 multipoint

ip address 192.168.123.1 255.255.255.0

frame-relay map ip 192.168.123.2 102 broadcast

frame-relay map ip 192.168.123.3 103 broadcast

R1#sh ip int s0/0.2

Serial0/0.2 is up, line protocol is up

Internet address is 192.168.123.1/24

Broadcast address is 255.255.255.255

Address determined by setup command

MTU is 1500 bytes

Helper address is not set

Directed broadcast forwarding is disabled

Multicast reserved groups joined: 224.0.0.9

Outgoing access list is not set

Inbound access list is not set

Proxy ARP is enabled

Local Proxy ARP is disabled

Security level is default

Split horizon is enabled \\R1 的点到多点子接口水平分割是开启

……

分别在R1/R2/R3启用RIP

所以在r2上看到的route table 如下:

R2#sh ip route rip

R 1.0.0.0/8 [120/1] via 192.168.123.1, 00:00:05, Serial0/0

可以使用“no interface s0/0.2”命令来删除子接口,然而需要重新启动路由

器,该子接口才真正被删除。

5帧中继点到点子接口  

R1:

interface Serial0/0

no ip address

encapsulation frame-relay

no dce-terminal-timing-enable

no frame-relay inverse-arp

!

interface Serial0/0.12 point-to-point

ip address 192.168.12.1 255.255.255.0

frame-relay interface-dlci 102

!

interface Serial0/0.13 point-to-point

ip address 192.168.13.1 255.255.255.0

frame-relay interface-dlci 103

R2:

interface Serial0/0

no ip address

encapsulation frame-relay

no dce-terminal-timing-enable

no frame-relay inverse-arp

!

interface Serial0/0.12 point-to-point

ip address 192.168.12.2 255.255.255.0

frame-relay interface-dlci 201

R3:

interface Serial0/0

no ip address

encapsulation frame-relay

no dce-terminal-timing-enable

no frame-relay inverse-arp

!

interface Serial0/0.13 point-to-point

ip address 192.168.13.3 255.255.255.0

frame-relay interface-dlci 301

看r3的路由表:

R3#sh ip route

R 192.168.12.0/24 [120/1] via 192.168.13.1, 00:00:00, Serial0/0.13

R 1.0.0.0/8 [120/1] via 192.168.13.1, 00:00:00, Serial0/0.13

C 192.168.13.0/24 is directly connected, Serial0/0.13

R 2.0.0.0/8 [120/2] via 192.168.13.1, 00:00:00, Serial0/0.13

3.0.0.0/24 is subnetted, 1 subnets

C 3.3.3.0 is directly connected, Loopback0

\\注意路由的下一跳

6 EIGRP Over Frame-relay

r2 路由表

R2#sh ip route

Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2

i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2

ia - IS-IS inter area, * - candidate default, U - per-user static route

o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

C 192.168.123.0/24 is directly connected, Serial0/0

1.0.0.0/24 is subnetted, 1 subnets

D 1.1.1.0 [90/2297856] via 192.168.123.1, 00:01:02, Serial0/0

2.0.0.0/24 is subnetted, 1 subnets

C 2.2.2.0 is directly connected, Loopback0

r1 :

R1(config-if)#no ip split-horizon eigrp 90

\\关闭 水平 分割


R2#sh ip rou eig

1.0.0.0/24 is subnetted, 1 subnets

D 1.1.1.0 [90/2297856] via 192.168.123.1, 00:04:16, Serial0/0

3.0.0.0/24 is subnetted, 1 subnets

D 3.3.3.0 [90/2809856] via 192.168.123.1, 00:00:33, Serial0/0


r1:

R1(config-if)#no ip next-hop-self eigrp 90

\\开启第三方下一跳


R2#sh ip route eigrp

1.0.0.0/24 is subnetted, 1 subnets

D 1.1.1.0 [90/2297856] via 192.168.123.1, 00:00:31, Serial0/0

3.0.0.0/24 is subnetted, 1 subnets

D 3.3.3.0 [90/2809856] via 192.168.123.3, 00:00:32, Serial0/0


这样就出现了 到 3.3.3.3 路由路径 (192.168.123.3)和 实际 路径(192.168.123.1一至的 情况,单协议还比较简单,要是碰到的是多协议环境就更复杂了.

本文网址:http://www.bnee.net/article/490517.html

相关文章

  • 广域网-HDLC协议
    广域网 广域网(WAN,Wide Area Network)通常跨接很大的物理范围,所覆盖的范围从几十公里到几千公里,它能连接多个城市或国家,或横跨几个洲并能提供远距离通信,形成国际性的远程网络.局域网通常作为广域网的终端用户与广域网相连. ...
  • 海卓飞思科网络经验谈-把一台Cisco路由器配置为帧中继交换机
    把一台Cisco路由器设备为帧中继交换机 1.  真验目的 经由过程本真验可以掌控 A.          了解帧中继交换机事情本理: B.          了解PVC的不雅念: C.          用路由器仿照帧中继交换机的设备. ...
  • 路由器是工作在OSI参考模型第三层--网络层的数据包转发设备.路由器通过转发数据包来实现网络互连.虽然路由器可以支持多种协议(如TCP/IP. IPX/SPX.AppleTalk等协议),但是在我国绝大多数路由器运行TCP/IP协议.路由器 ...
  • 1.20140819单臂路由.pdf  2.CCNA 实验手册之Packet_Tracer使用教程.pdf  3.CCNA_Lab_Workbook_Sample_Labs(CDP,静态路由,端口安全).pdf  4.CCNA.CCNP.C ...
  • CCNA-思科认证网络支持工程师及薪金调查
    CCNA认证,全称Cisco Certified Network Associate,它是思科网络认证的基础认证,如果要通过CCNP,CCIE等系列认证,CCNA是必经之路.通过了CCNA就代表你拥有了安装.配置及操作局域网.广域网及拨号访 ...
  • 乾颐堂HCIE1 OSPF基础和Hello报文以及邻居的基本排错
    实施拓扑1.OSPF基础(开放最短路径优先)考试(LAB.面试).工作(面试)1.1基础配置:[R6]ospf //进入OSPF进程,默认进程1[R6-ospf-1]area 0 //创建区域,区域0[R6-ospf-1]area 56 / ...
  •  第一章 路由器配置基础 一.基本设置方式 二.命令状态 三.设置对话过程 四.常用命令 五.配置IP寻址 六.配置静态路由 第二章 广域网协议设置 一.HDLC 二.PPP 三.X.25 四.Frame Relay 五.ISDN 六.PS ...
  •   课程介绍: Cisco认证是互联网界具有极大声望的网络技能认证.其总体认证体系包括路由和交换网络支持(售后工程师认证体系),路由和交换网络设计(售前工程师认证体系)和广域网交换网络设计和支持几大部分. Cisco CCNA 证书是现时最 ...

2019 bnee小站 webmaster#bnee.net
12 q. 0.013 s.
湘ICP备19013596号-2