PPP实验

实验拓扑如上。

第一步配置相应的IP地址

R1:

R2:

R3:

 

第二步:

由题目可知,R2为主:将R2和R3的两条线路聚合。

[R2]int Mp-group 0/0/0  //创建聚合口

[R3]int Mp-group 0/0/0

[R2-Serial3/0/1]ppp mp Mp-group 0/0/0   //将R2的s3/0/1口添加进聚合口

[R2-Serial4/0/0]ppp mp Mp-group 0/0/0  //将R2的s4/0/0口添加进聚合口

[R3-Serial4/0/0]ppp mp Mp-group 0/0/0  //将R3的s4/0/0口添加进聚合口

[R3-Serial4/0/1]ppp mp Mp-group 0/0/0  //将R3的s4/0/1口添加进聚合口

查询:R3验证是否完成

第三步:

给R2和R1的PPP进行做chap验证

[R2]aaa

[R2-aaa]local-user lingyou password cipher lingyou520  //用户的账号密码

[R2-aaa]local-user lingyou service-type ppp  //服务类型为 PPP

[R2-Serial3/0/0]ppp authentication-mode chap //设置接口验证的协议为chap

[R1-Serial4/0/0]ppp chap user lingyou  //输入账号

[R1-Serial4/0/0]ppp chap password cipher lingyou520  //输入密码

验证:

先刷shutdown和undo shutdown 重启接口

然后ping一下验证

第四步:

给R2和R3做PP的双向chap验证

一。

R2为主验证方时:

[R2-aaa]local-user ling password cipher ling520  //第二个账户和密码

[R2-Serial3/0/1]ppp authentication-mode chap

[R2-Serial4/0/0]ppp authentication-mode chap

被验证方R3:

[R3-Serial4/0/0]ppp chap user ling

[R3-Serial4/0/0]ppp chap password cipher ling520

[R3-Serial4/0/1]ppp chap user ling

[R3-Serial4/0/1]ppp chap password cipher lingyou520

二。

R3为主验证方时:

[R3-aaa]local-user you password cipher you520 

[R3-Serial4/0/0]ppp authentication-mode chap

[R3-Serial4/0/1]ppp authentication-mode chap

被验证方R2:

[R2-Serial3/0/1]ppp chap user you

[R2-Serial3/0/1]ppp chap password cipher you520

[R2-Serial4/0/0]ppp chap user you

[R2-Serial4/0/0]ppp chap password cipher you520

验证:

给全部接口先刷shutdown和undo shutdown 重启接口

ping一下验证

实验结束.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值