DSVPN

本文详细描述了在华为设备上配置PPP协议(包括RADIUS主认证方使用PAP和CHAP对被认证方进行认证),以及创建GRE隧道的过程。
摘要由CSDN通过智能技术生成

2、

 ppp的RAP认证

 R5(主认证方)

<Huawei>sys 
Enter system view, return user view with Ctrl+Z.
[Huawei]sy r5
[r5]int Serial 1/0/0
[r5-Serial1/0/0]ip address 15.0.0.5 24
[r5-Serial1/0/0]q
[r5]aaa
[r5-aaa]local-user huawei password cipher 123456
Info: Add a new user.
[r5-aaa]local-user huawei service-type ppp
[r5-aaa]q
[r5]int Serial 1/0/0
[r5-Serial1/0/0]ppp authentication-mode pap

  R1(被认证方)

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sy r1
[r1]int Serial 1/0/0
[r1-Serial1/0/0]ppp pap local-user huawei password cipher 123456

ppp的chap认证

R5(主认证方)

[r5]int Serial 1/0/1
[r5-Serial1/0/1]ip add	
[r5-Serial1/0/1]ip address 25.0.0.5 24
[r5-Serial1/0/1]q
[r5]aaa
[r5-aaa]local-user admin password cipher 654321
[r5-aaa]local-user admin service-type ppp
[r5-aaa]q
[r5]int Serial 1/0/1
[r5-Serial1/0/1]ppp authentication-mode chap

R2(被认证方)

[r2]int s	
[r2]int Serial 1/0/0
[r2-Serial1/0/0]ip address 25.0.0.2 24
[r2-Serial1/0/0]ppp chap user admin
[r2-Serial1/0/0]ppp chap password cipher 654321

3、

R1

[r1]int Tunnel 0/0/0
[r1-Tunnel0/0/0]ip address 5.5.5.1 255.255.255.0
[r1-Tunnel0/0/0]tunnel-protocol gre p2mp
[r1-Tunnel0/0/0]source 15.0.0.1

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值