一.实验拓扑:
二.实验要求:
1.R1和R2使用PPP链路直连,
2.R2和R3把2条PPP链路捆绑为PPP MP直连按照图示配置IP地址
3.R2对R1的PPP进行单向chap验证
4.R2和R3的PPP进行双向chap验证
三.实验思路:
用串线将设备互联,使接口协议为ppp协议,AR1与AR2之前的接口可直接配置IP地址,AR2与AR3之间要先创建逻辑Mp-group 接口,只能在此接口上配置IP地址,不能在实际接口配置IP地址,但是做双向的chap验证时,要在实际的接口上面做。
四.实验过程:
R1(配置过程):
R2(配置过程):
R3(配置过程)
[R3]inter Mp-group 0/0/0
[R3-Mp-group0/0/0]ip address 192.168.2.3 24
[R3]inter Serial 4/0/0
[R3-Serial4/0/0]ppp mp Mp-group 0/0/0
[R3-Serial4/0/0]q
[R3]inter Serial 3/0/0
[R3-Serial3/0/0]ppp mp Mp-group 0/0/0
[R3]inter Serial 4/0/0
[R3]-Serial4/0/0]ppp chap user my
[R3-Serial4/0/0]ppp chap password cipher my12345
[R3-Serial4/0/0]q
[R3]inter Serial 3/0/0
[R3-Serial3/0/0]ppp chap user my
[R3-Serial3/0/0]ppp chap password cipher my12345
[R3]aaa
[R3-aaa]local-user wangdaye password cipher my12345
[R3-aaa]local-user wangdaye service-type ppp
[R3-aaa]q
[R3]inter Serial 4/0/0
[R3-Serial4/0/0]ppp authentication-mode chap
[R3-Serial4/0/0]q
[R3]inter Serial 3/0/0
[R3-Serial3/0/0]ppp authentication-mode chap
五.shutdow所有接口,进行测试: