1. 程式人生 > 實用技巧 >幀中繼-實驗(第三篇)

幀中繼-實驗(第三篇)

幀中繼的兩個實驗:點到點、點到多點

1、【點到點 拓撲如下: 實驗步驟 幀中繼交換機設定 r1>r2 DLCI :102
r1>r3 DLCI :103
注意: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 pc1去ping pc2 2、【點到多點 拓撲同上 r1>r2 DLCI :102 r2>r1 DLCI :201

r1>r3 DLCI :103 r3>r1 DLCI :301
實驗步驟: 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的路由表: R2的路由表: R3的路由表: PC0 ping PC1和PC2 PC1ping PC2 由於水平分割是不能ping通的!