一、拓扑图
帧中继交换机信息表:
二、配置信息
说明:AR1、AR2、AR3之间是虚电路全链接;AR4与AR1单个虚电路链接,AR4的内网192.1.4.0访问AR2、AR3的内网需要AR1的转发。
AR1的S1/0/0接口 启用一个P2P的子接口(S1/0/0.4)完成AR4的链接,另启用一个P2MP的子接口(S1/0/0.23)完成对AR2、AR3的全链接。
AR1:
[AR1-Serial1/0/0.4]disp this
[V200R003C00]
interface Serial1/0/0.4 p2p
fr dlci 104
ip address 14.0.0.1 255.255.255.0
rip split-horizon
[AR1-Serial1/0/0.23]disp this
[V200R003C00]
interface Serial1/0/0.23
fr dlci 102
fr dlci 103
fr map ip 123.0.0.2 102 broadcast
fr map ip 123.0.0.3 103 broadcast
ip address 123.0.0.1 255.255.255.0
rip split-horizon
[AR1-rip-1]disp this
[V200R003C00]
rip 1
version 2
network 192.1.1.0
network 123.0.0.0
network 14.0.0.0
AR2:
[AR2-Serial1/0/0]disp this
[V200R003C00]
interface Serial1/0/0
link-protocol fr
ip address 123.0.0.2 255.255.255.0
rip split-horizon
[AR2-rip-1]disp this
[V200R003C00]
rip 1
version 2
network 192.1.2.0
network 123.0.0.0
AR3:
[AR3-Serial1/0/0]disp this
[V200R003C00]
interface Serial1/0/0
link-protocol fr
ip address 123.0.0.3 255.255.255.0
rip split-horizon
[AR3-rip-1]disp this
[V200R003C00]
rip 1
version 2
network 192.1.3.0
network 123.0.0.0
AR4:
[AR4]int loop 0
[AR4-LoopBack0]ip add 192.1.4.1 24
[AR4-LoopBack0]int s1/0/0
[AR4-Serial1/0/0]ip add 14.0.0.4 24
[AR4-Serial1/0/0]link-protocol fr
Warning: The encapsulation protocol of the link will be changed. Continue? [Y/N]:y
[AR4-Serial1/0/0]rip split-horizon
[AR4]rip
[AR4-rip-1]ver 2
[AR4-rip-1]net 192.1.4.0
[AR4-rip-1]net 14.0.0.0
三、配置效果验证
帧中继映射关系
通信验证:
标签:AR1,Serial1,AR4,ip,帧中继,fr,rip,P2P,链接 From: https://www.cnblogs.com/gd-hn-mzh/p/16799969.html