实验要求:
1.R2为ISP,其上只能配置ip地址
2.R1-R2之间为HDLC封装
3.R2-R3之间为ppp封装,pap认证,R2为主认证方
4.R2-R4之间为ppp封装,chap认证,R2为主认证方
5.R1.R2.R3构建MGRE环境,仅R1 IP地址固定
6.内网使用RIP获取路由,所有PC可以互相访问,并且可访问R2的环回。
实验拓扑图:
各个设备配置命令:
R1:
[R1]interface gi 0/0/0
[R1-GigabitEthernet0/0/0]ip add 192.168.1.1 24
[R1-GigabitEthernet0/0/0]q
[R1]int s4/0/0
[R1-Serial4/0/0]link-protocol hdlc
[R1-Serial4/0/0]ip add 12.1.1.1 24
[R1-Serial4/0/0]q
[R1]ip route-static 0.0.0.0 0 12.1.1.2(访问R2上的环回)
[R1]acl 2000
[R1-acl-basic-2000]rule 1 permit source any
[R1-