天天看點

子接口方式幀中繼設定實驗

!R1的配置

R1#config t

R1(config)#interface Serial0/0

R1(config-if)# encapsulation frame-relay

R1(config-if)#shut

R1(config-if)#exit

R1(config)#interface Serial0/0.1 point-to-point

R1(config-subif)#ip address 192.168.1.129 255.255.255.240

R1(config-subif)#frame-relay interface-dlci 102  

R1(config-subif)exit

R1(config-if) no shut

!R2的配置

R2#config t

R2(config)#interface Serial0/0

R2(config-if)# encapsulation frame-relay

R2(config-if)#shut

R2(config-if)#exit

R2(config)#interface Serial0/0.1 point-to-point

R2(config-subif)#ip address 192.168.1.130 255.255.255.240

R2(config-subif)#exit

R1(config-if)# no shut

no shut

!這裡的dlci是本地的,和frame-relay map ip 不同

R2(config-subif)#frame-relay interface-dlci 201

!檢查

!ping對方端口通

R2#ping 192.168.1.129

Type escape sequence to abort.

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

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 176/256/320 ms

!ping本地端口通

R2#ping 192.168.1.130

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

但用frame-relay map ip ping 本地不通不知怎麼回事

Success rate is 100 percent (5/5), round-trip min/avg/max = 284/357/488 ms

繼續閱讀