一、题目:
二、配置:
1、拓扑图搭建
2、IP配置:
R1 配置如下:
R2配置如下:
R3配置如下:
R4 配置如下:
R5配置如下:
PC1配置:
PC2配置:
PC3:
PC4:
3、用R5测试一下IP是否正确
4、R1与R5之间使用PPP的PAP认证,R5为主认证方
重新激活端口使协议生效
测试:
认证开启成功
5、R2与R5间使用PPP的chap认证,R5为主认证方
6、R4与R5之间使用HDLC封装
7、R1/R3间为点到点GRE
测试:
8、R1/2/4构建一个MGRE环境,R1为中心站点
9、整个私有网络基于RIP全网可达
10、所有pc基于环回私有地址为源IP时,可以正常访问R5环回
配置完电脑IP之后,配置边界路由
R1
[R1]acl 2000
[R1-acl-basic-2000]rule permit source 192.168.1.0 0.0.0.255
[R1-acl-basic-2000]int s4/0/0
[R1-Serial4/0/0]nat outbound 2000
R2
[R2]acl 2000
[R2-acl-basic-2000]rule permit source 192.168.2.0 0.0.0.255
[R2-acl-basic-2000]int s4/0/0
[R2-Serial4/0/0]nat outbound 2000
R3
[R3]acl 2000
[R3-acl-basic-2000]rule permit source 192.168.3.0 0.0.0.255
[R3-acl-basic-2000]int s4/0/0
[R3-Serial4/0/0]nat outbound 2000
R4
[R4]acl 2000
[R4-acl-basic-2000]rule permit source 192.168.4.0 0.0.0.255
[R4-acl-basic-2000]int g0/0/0
[R4-GigabitEthernet0/0/0]nat outbound 2000