NPMA帖中继网络配置
一、 网络拓扑图
二、 需求:利用帧中继交换机通过串口连路实现全网互通,就是点到点的NPMA网络互通
三、 具体步骤
给每台路由器添加串口模块(模拟真实机)
给每台路由器配置IP地址,并选择帧中继协议。
AR6:
[Huawei]interface s4/0/0
[Huawei-Serial4/0/0]ip add 123.0.0.1 24
[Huawei-Serial4/0/0]link-protocol fr
AR7:
[Huawei]interface s4/0/0
[Huawei-Serial4/0/0]ip add 123.0.0.2 24
[Huawei-Serial4/0/0]link-protocol fr
AR8:
[Huawei]interface s4/0/0
[Huawei-Serial4/0/0]ip add 123.0.0.3 24
[Huawei-Serial4/0/0]link-protocol fr
配置帧中继交换机映射,也就是VC虚拟链路,交换机会在内部进行链路的转换
4.手动配置路由器帖中继映射(自动会映射)
AR6:
[Huawei]interface s4/0/0
[Huawei-Serial4/0/0]fr map ip 123.0.0.2 102 broadcast t //(加broadcast 支持组播和广播)
[Huawei-Serial4/0/0]fr map ip 123.0.0.2 103 broadcast
[Huawei-Serial4/0/0]undo fr inarp //(IE考试需要关掉inarp特性)
[Huawei-Serial4/0/0]display fr map-info //查看映射信息,状态必须是ACTIVVE
Map Statistics for interface Serial4/0/0 (DTE)
DLCI = 102, IP 123.0.0.2, Serial4/0/0
create time = 2019/09/16 22:29:50, status = ACTIVE
encapsulation = ietf, vlink = 3, broadcast
DLCI = 103, IP 123.0.0.3, Serial4/0/0
create time = 2019/09/16 22:31:07, status = ACTIVE
encapsulation = ietf, vlink = 4, broadcast
AR7:
[Huawei]interface s4/0/0
[Huawei-Serial4/0/0]fr map ip 123.0.0.1 201 broadcast
[Huawei-Serial4/0/0]fr map ip 123.0.0.3 203 broadcast //(加broadcast 支持组播和广播)
[Huawei-Serial4/0/0]undo fr inarp //(IE考试需要关掉inarp特性)
[Huawei-Serial4/0/0]display fr map-info //查看映射信息,状态必须是ACTIVVE
Map Statistics for interface Serial4/0/0 (DTE)
DLCI = 102, IP 123.0.0.2, Serial4/0/0
create time = 2019/09/16 22:29:50, status = ACTIVE
encapsulation = ietf, vlink = 3, broadcast
DLCI = 103, IP 123.0.0.3, Serial4/0/0
create time = 2019/09/16 22:31:07, status = ACTIVE
encapsulation = ietf, vlink = 4, broadcast
AR8:
[Huawei]interface s4/0/0
[Huawei-Serial4/0/0]fr map ip 123.0.0.2 301 broadcast //(加broadcast 支持组播和广播)
[Huawei-Serial4/0/0]fr map ip 123.0.0.2 302 broadcast
[Huawei-Serial4/0/0]undo fr inarp //(IE考试需要关掉inarp特性)
[Huawei-Serial4/0/0]display fr map-info //查看映射信息,状态必须是ACTIVVE
Map Statistics for interface Serial4/0/0 (DTE)
DLCI = 102, IP 123.0.0.2, Serial4/0/0
create time = 2019/09/16 22:29:50, status = ACTIVE
encapsulation = ietf, vlink = 3, broadcast
DLCI = 103, IP 123.0.0.3, Serial4/0/0
create time = 2019/09/16 22:31:07, status = ACTIVE
encapsulation = ietf, vlink = 4, broadcast
测试: