帧中继的两个实验:点到点、点到多点

1、【点到点
拓扑如下:
帧中继-实验(第三篇) _休闲
实验步骤
帧中继交换机设置
r1>r2 DLCI :102
r1>r3 DLCI :103
帧中继-实验(第三篇) _帧中继-实验(第三篇)_02
注意:r2和r3之间是没有PVC的。
r1上
interface FastEthernet0/0
 ip address 192.168.1.1 255.255.255.0
 
interface Serial0/0/0
 no ip address
 encapsulation frame-relay
!
interface Serial0/0/0.2 point-to-point
 ip address 10.0.0.1 255.255.255.0
 frame-relay interface-dlci 102
!
interface Serial0/0/0.3 point-to-point
 ip address 10.0.1.1 255.255.255.0
 frame-relay interface-dlci 103
 
router rip
 version 2
 network 10.0.0.0
 network 192.168.1.0
 
r2上:
interface FastEthernet0/0
 ip address 192.168.2.1 255.255.255.0
 
interface Serial0/0/0
 ip address 10.0.0.2 255.255.255.0
 encapsulation frame-relay
 
router rip
 version 2
 network 10.0.0.0
 network 192.168.2.0
 
r3上:
interface FastEthernet0/0
 ip address 192.168.3.1 255.255.255.0
 
interface Serial0/0/0
 ip address 10.0.1.2 255.255.255.0
 encapsulation frame-relay
 
router rip
 version 2
 network 10.0.0.0
 network 192.168.3.0
测试:pc0去ping pc1和pc2
帧中继-实验(第三篇) _帧中继-实验(第三篇)_03
pc1去ping pc2
帧中继-实验(第三篇) _帧中继-实验(第三篇)_04
2、【点到多点
拓扑同上
r1>r2 DLCI :102    r2>r1 DLCI :201
r1>r3 DLCI :103    r3>r1 DLCI :301
帧中继-实验(第三篇) _休闲_05
 
实验步骤:
R1上:
interface FastEthernet0/0
 ip address 192.168.1.1 255.255.255.0
 
interface Serial0/0/0
 no ip address
 encapsulation frame-relay
!
interface Serial0/0/0.23 multipoint
 ip address 10.0.0.1 255.255.255.0
 frame-relay map ip 10.0.0.2 102 broadcast
 frame-relay map ip 10.0.0.3 103 broadcast
 
router rip
 version 2
 network 10.0.0.0
 network 192.168.1.0
R2上:
interface FastEthernet0/0
 ip address 192.168.2.1 255.255.255.0
 
interface Serial0/0/0
 ip address 10.0.0.2 255.255.255.0
 encapsulation frame-relay
frame-relay map ip 10.0.0.3 201 broadcast
 
router rip
 version 2
 network 10.0.0.0
 network 192.168.2.0
!
R3上:
interface FastEthernet0/0
 ip address 192.168.3.1 255.255.255.0
 
interface Serial0/0/0
 ip address 10.0.0.3 255.255.255.0
 encapsulation frame-relay
 frame-relay map ip 10.0.0.2 301 broadcast
 
router rip
 version 2
 network 10.0.0.0
 network 192.168.3.0
测试:
R1的路由表:
帧中继-实验(第三篇) _休闲_06
R2的路由表:
帧中继-实验(第三篇) _休闲_07
R3的路由表:
帧中继-实验(第三篇) _职场_08
PC0 ping PC1和PC2
帧中继-实验(第三篇) _休闲_09
PC1ping PC2
帧中继-实验(第三篇) _休闲_10
由于水平分割是不能ping通的!