zl程序教程

您现在的位置是:首页 >  其他

当前栏目

MP与IP-Trunk技术讲解

技术IP 讲解 MP Trunk
2023-09-14 09:15:39 时间

目录

PPP MP技术

将PPP链路直接绑定到VT上实现MP

按照PPP链路用户名查找VT实现MP

IP-Trunk技术


PPP MP技术

MP(MultiLink PPP)将多个PPP链路捆绑使用的技术(Serial接口、POS接口等)

实现方式

可以采用虚拟VT接口实现MP

 PPP链路直接绑定到VT上实现MP(可以对VT接口开启PPP认证,也可以不开启PPP认证;也可以在PPP链路开启PPP认证,也可以不在PPP链路开启PPP认证)

 PPP链路根据对端通过PPP认证的用户名,绑定到此用户名所对应的的VT接口实现MP(此方式下不许在PPP链路上开启PPP认证)

可以采用MP-Group实现MP

 MP-Group接口是MP的专用接口,直接将PPP链路绑定到MP-Group实现MP

将PPP链路直接绑定到VT上实现MP

此处在VT接口配置CHAP认证(也可以单独在每个串口配置认证)

AR1配置(认证方)

创建认证用户

aaa

 local-user admin password cipher admin@123

 local-user admin service-type ppp

配置VT接口,开启CHAP认证

interface Virtual-Template0

 ppp authentication-mode chap

 ip address 10.0.0.1 255.255.255.0

接口直接绑定到虚拟接口

interface Serial3/0/0

 link-protocol ppp

 ppp mp Virtual-Template 0

interface Serial3/0/1

 link-protocol ppp

 ppp mp Virtual-Template 0

AR2配置(被认证方)

配置VT接口,配置认证用户和密码

interface Virtual-Template0

 ppp chap user admin

 ppp chap password cipher admin@123

 ip address 10.0.0.2 255.255.255.0

接口直接绑定到虚拟接口

interface Serial3/0/0

 link-protocol ppp

 ppp mp Virtual-Template 0

interface Serial3/0/1

 link-protocol ppp

 ppp mp Virtual-Template 0

按照PPP链路用户名查找VT实现MP

 

必须要配置认证(通过对端认证的用户名来选择加入哪个VT接口实现MP)

因此我们需要配置双向认证,将不同的认证用户名加入到不同的VT接口

AR1-1与AR2-1的配置相同

创建认证用户

aaa

 local-user admin password cipher admin@123

 local-user admin service-type ppp

 local-user huawei password cipher admin@123

 local-user huawei service-type ppp

配置VT接口(对端使用10.0.0.2地址)

interface Virtual-Template0

 ppp mp binding-mode authentication  根据对端用户名进行PPP捆绑

                      descriptor     根据对端设备的终端标识符进行PPP捆绑

                      both         同时根据用户名和标识符进行PPP捆绑

 ip address 10.0.0.1 255.255.255.0

interface Virtual-Template1

 ppp mp binding-mode authentication

 ip address 10.0.1.1 255.255.255.0

配置VT接口和用户的绑定关系(根据用户名查找VT接口)

ppp mp user admin bind virtual-template 0

ppp mp user huawei bind virtual-template 1

配置S3/0/1加入VT0,S3/0/0加入VT1接口

interface Serial3/0/0

 ppp authentication-mode chap

 ppp chap user admin

 ppp chap password cipher admin@123

 ppp mp            通过对端认证用户名加入VT接口

 restart

interface Serial3/0/1

 ppp authentication-mode chap

 ppp chap user huawei

 ppp chap password cipher admin@123

 ppp mp

 restart


IP-Trunk技术

IP-Trunk是将多个链路层协议为HDLC的POS接口绑定到一起

IP-Trunk接口只能由POS接口组成

 

AR9和AR10配置相同

更改Pos接口的链路层协议(缺省PPP)

interface Pos4/0/0

 link-protocol hdlc

interface Pos6/0/0

 link-protocol hdlc

配置IP-Trunk接口,并将Pos加入

AR9使用10.0.0.1地址,AR10使用10.0.0.2地址

interface ip-trunk 1

 trunkport pos 4/0/0

 trunkport pos 6/0/0       将Pos 6/0/0接口加入IP-Trunk1

 least active-linknumber 2  最少要有2个成员接口保持UP状态,该IP-Trunk接口才会是UP状态(缺省是1)

 ip address 10.0.0.1 24