GNS3 做帧中继实验

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

GNS3 做帧中继实验

1 实验拓扑(用帧中继交换机做)

注:在R1上左右两个子接口是s1/0.1 (用于point-point)、s1/0.2(用于point-multipoint)

注:映射关系系写完后,千万记得点一下右下方的Apply或OK,不然的话即使你路由器

配置正确,但protocol也会一直显示down,有时会让你急的蛋疼。

2 配置

(point-point)

R1>en

R1#conf t

R1(config)#int s1/0

R1(config-if)#encapsulation frame-relay

R1(config-if)#no frame-relay inverse-arp //关闭逆向arp(动态map映射),如果不关闭将有可

能学到错误的映射,开启的条件是,

是帧中继交换机有全互联的dlci映射R1(config-if)#no arp frame-relay//阻止arp 请求

R1(config-if)#no shut

R1(config-if)#exit

R1(config)#int s1/0.1 point-to-point

R1(config-subif)#ip addr 200.1.1.1 255.255.255.0

R1(config-subif)#frame-relay interface-dlci 101 //只有子接口封装了point-to-point 是才可

用这条命令,负责使用frame-relay map ip 目的ip 自己的dlci值

R2:

R2(config)#int s1/0

R2(config-if)#encapsulation frame-relay

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

R2(config-if)#no arp frame-relay

R2(config-if)#ip addr 200.1.1.2 255.255.255.0

R2(config-if)#frame-relay map ip 200.1.1.1 202 b

(point-to-multipoint)

R1:

R1#conf t

R1(config)#int s1/0.2 multipoint

R1(config-subif)#ip addr 201.1.1.1 255.255.255.0

R1(config-subif)#frame-relay map ip 201.1.1.2 102 broadcast

R1(config-subif)#frame-relay map ip 201.1.1.3 103 broadcast

R1(config-subif)#^Z

R3:

R3>en

R3#conf t

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

R3(config)#int s1/0

R3(config-if)#en

R3(config-if)#encapsulation frame-relay

R3(config-if)#no arp frame-relay

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

R3(config-if)#ip addr 201.1.1.2 255.255.255.0

R3(config-if)#no shut

R3(config-if)#frame-relay map ip 201.1.1.1 203 broadcast

R4:

R4>en

R4#conf t

R4(config)#int s1/0

R4(config-if)#encapsulation frame-relay

R4(config-if)#no arp frame-relay

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

R4(config-if)#ip addr 201.1.1.3 255.255.255.0

R4(config-if)#frame-relay map ip 201.1.1.1 204 broadcast

R4(config-if)#no shu

结果测试:

R1#show frame-relay map

Serial1/0.2 (up): ip 201.1.1.2 dlci 102(0x66,0x1860), static,

broadcast,

CISCO, status defined, active

Serial1/0.2 (up): ip 201.1.1.3 dlci 103(0x67,0x1870), static,

broadcast,

CISCO, status defined, active

Serial1/0.1 (up): point-to-point dlci, dlci 101(0x65,0x1850), broadcast

status defined, active

R1#show ip int b

Interface IP-Address OK? Method Status Protocol FastEthernet0/0 unassigned YES unset administratively down down Serial1/0 unassigned YES unset up up Serial1/0.1 200.1.1.1 YES manual up up Serial1/0.2 201.1.1.1 YES manual up up Serial1/1 unassigned YES unset administratively down down Serial1/2 unassigned YES unset administratively down down

R1#ping 200.1.1.1

Type escape sequence to abort.

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

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 28/64/156 ms

R1#ping 201.1.1.2

相关文档
最新文档