第二章----实验二

实验报告

一、题目

实验拓扑如上

二、实验思路

  1. 先给R1 R2的S3/0/0配置IP
  2. 给R2 R3链路聚合 配置MP-Group
  3. 开启R2 PPP协议
  4. 单向验证
  5. 双向验证

三、实验过程

1.配置R1,R2,IP

[R1]int Serial 3/0/0

[R1-Serial3/0/0]ip address 192.168.1.1 24

[R2]int Serial 3/0/0

[R2-Serial3/0/0]ip address 192.168.1.2 24

2.R2R3链路聚合

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

[R2]int Serial 3/0/1

[R2-Serial3/0/1]ppp mp Mp-group 0/0/0

[R2]int Serial 4/0/0

[R2-Serial4/0/0]ppp mp Mp-group 0/0/0

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

[R2-Mp-group0/0/0]ip address 192.168.2.2 24

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

[R3]int Serial 3/0/0

[R3-Serial3/0/0]ppp mp Mp-group 0/0/0

[R3]int Serial 3/0/1

[R3-Serial3/0/1]ppp mp Mp-group 0/0/0

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

[R3-Mp-group0/0/0]ip address 192.168.2.3 24

3.开启ppp协议

[R2]aaa

[R2-aaa]local-user wangdaye password c   

[R2-aaa]local-user wangdaye password cipher wdy12345

[R2-aaa]local-user wangdaye service-type ppp

[R2]int Serial 3/0/0

[R2-Serial3/0/0]ppp authentication-mode ?

  chap  Enable CHAP authentication

  pap   Enable PAP authentication

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

[R1]int Serial 3/0/0

[R1-Serial3/0/0]ppp chap user wangdaye

[R1-Serial3/0/0]ppp chap password cipher wdy12345

4.单向

5.双向

R2-R3

[R2-aaa]local-user wangdaye password cipher wdy12345

[R2-aaa]local-user wangdaye service-type ppp

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

[R2-Serial3/0/1]link-protocol ppp

[R2]int Serial 4/0/0

[R2-Serial4/0/0]ppp au  

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

[R2-Serial4/0/0]link-   

[R2-Serial4/0/0]link-protocol ppp

[R3-aaa]local-user wangdaye password cipher wdy12345

[R3]int Serial 3/0/0

[R3-Serial3/0/0]ppp chap user wangdaye

[R3-Serial3/0/0]ppp chap password cipher wdy12345

[R3-Serial3/0/0]ppp pap local-user wangdaye password cipher wdy12345

R3-R2

[R3-aaa]local-user wangdaye password cipher wdy12345

[R3-aaa]local-user wangdaye service-type ppp

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

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

[R3-Serial3/0/1]link-protocol ppp

[R3-Serial3/0/0]link-protocol ppp

[R2]int Serial 3/0/1

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

[R2-Serial3/0/1]ppp chap pass

[R2-Serial3/0/1]ppp chap password ci 

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

[R2-Serial3/0/1]ppp pap local

[R2-Serial3/0/1]ppp pap local-user wangdaye pass 

[R2-Serial3/0/1]ppp pap local-user wangdaye password ci  

[R2-Serial3/0/1]ppp pap local-user wangdaye password cipher wdy12345

[R2-Serial3/0/1]q

[R2]int Serial 4/0/1

[R2-Serial4/0/1]ppp chap user wangdaye

[R2-Serial4/0/1]ppp chap password cipher wdy12345

[R2-Serial4/0/1]ppp pap local

[R2-Serial4/0/1]ppp pap local-user wangdaye pass 

[R2-Serial4/0/1]ppp pap local-user wangdaye password ci  

[R2-Serial4/0/1]ppp pap local-user wangdaye password cipher wdy12345

四、测试结果

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值