思维导图+实验报告册
思维导图实验报告册实验拓扑及要求实验思路1、配置IP地址2、私网通公网通---配置静态路由协议测试公网通3、配置R1-R5的ppp的pap认证R5为主认证方4、R2与R5之间使用ppp的CHAP认证R5为主认证方5、R3与R5之间使用HDLC封装6、配置GRE VPN7、配置MGRE VPN一、配置IP地址R1[r1]int g0/0/0[r1-GigabitEthernet0/0/0]ip add 192.168.1.1 24[r1-GigabitEthernet0/0/0]int s4/0/0[r1-Serial4/0/0]ip add 15.1.1.1 24R2[r2]int g0/0/0[r2-GigabitEthernet0/0/0]ip add 192.168.2.2 24[r2-GigabitEthernet0/0/0]int s4/0/0[r2-Serial4/0/0]ip add 25.1.1.2 24R3[r3]int g0/0/0[r3-GigabitEthernet0/0/0]ip add 192.168.3.3 24[r3-GigabitEthernet0/0/0]int s4/0/0[r3-Serial4/0/0]ip add 35.1.1.3 24R4[r4]int g0/0/1[r4-GigabitEthernet0/0/1]ip add 192.168.4.4 24[r4-GigabitEthernet0/0/1]int g0/0/0[r4-GigabitEthernet0/0/0]ip add 45.1.1.4 24R5[r5-Serial4/0/0]int s4/0/1[r5-Serial4/0/1]ip add 15.1.1.5 24[r5-Serial4/0/0]int s3/0/0[r5-Serial3/0/1]ip add 25.1.1.5 24[r5-Serial4/0/1]int s4/0/0[r5-Serial4/0/0]ip add 35.1.1.5 24[r5-Serial4/0/0]int g0/0/0[r5-GigabitEthernet0/0/0]ip add 45.1.1.5 24[r5]int l0[r5-LoopBack0]ip add 5.5.5.5 24二、私网通公网通---配置静态路由协议测试公网通R1静态路由[r1]ip route-static 0.0.0.0 0 15.1.1.5R2静态路由[r2]ip route-static 0.0.0.0 0 25.1.1.5R3静态路由[r3]ip route-static 0.0.0.0 0 35.1.1.5R4静态路由[r4]ip route-static 0.0.0.0 0 45.1.1.5三、配置R1和R5的PPP的PAP认证R5为主认证方R5配置主认证方[r5]aaa[r5-aaa]local-user wangdaye password cipher wdy12345[r5-aaa]local-user wangdaye service-type ppp[r5]int s4/0/1[r5-Serial4/0/1]ppp authentication-modepapR1配置被认证方[r1]int s4/0/0[r1-Serial4/0/0]ppp pap local-user wangdaye password cipher wdy12345四、R2与R5之间使用ppp的CHAP认证R5为主认证方R5配置主认证方[r5]aaa[r5-aaa]local-user zhangdaye password cipher zdy12345[r5-aaa]local-user zhangdaye service-type ppp[r5-aaa]int s3/0/1[r5-Serial3/0/1]ppp authentication-mode chapR2配置被认证方[r2]int s4/0/0[r2-Serial4/0/0]ppp chap user zhangdaye[r2-Serial4/0/0]ppp chap password cipher zdy12345五、R3与R5之间使用HDLC封装注R5和R3的串口默认封装为PPP需要改成HDLCR5配置[r5]int s4/0/0[r5-Serial4/0/0]link-protocol hdlcR3配置[r3]int s4/0/0[r3-Serial4/0/0]link-protocol hdlc六、配置GRE VPNR1配置GRE总部[r1]int t0/0/0[r1-Tunnel0/0/0]ip add 10.1.1.1 24[r1-Tunnel0/0/0]tunnel-protocol gre[r1-Tunnel0/0/0]source 15.1.1.1[r1-Tunnel0/0/0]description 45.1.1.4[r1]ip route-static 192.168.4.0 24 Tunnel 0/0/0R4配置GRE分支[r4]int t0/0/0[r4-Tunnel0/0/0]ip add 10.1.1.2 24[r4-Tunnel0/0/0]tunnel-protocol gre[r4-Tunnel0/0/0]source 45.1.1.4[r4-Tunnel0/0/0]description 15.1.1.1[r4]ip route-static 192.168.1.0 24 Tunnel 0/0/0七、配置MGRE VPN配置NHRP协议构建公共隧道R1中心站点配置[r1]int t0/0/1[r1-Tunnel0/0/1]ip add 10.1.2.1 24[r1-Tunnel0/0/1]tunnel-protocol gre p2mp[r1-Tunnel0/0/1]source 15.1.1.1[r1-Tunnel0/0/1]nhrp network-id 1R2分支配置[r2]int t0/0/1[r2-Tunnel0/0/1]ip add 10.1.2.2 24[r2-Tunnel0/0/1]tunnel-protocol gre p2mp[r2-Tunnel0/0/1]source 25.1.1.2[r2-Tunnel0/0/1]nhrp network-id 1[r2-Tunnel0/0/1]nhrp entry 10.1.2.1 15.1.1.1 register配置RIPv2传递私网路由R1配置[r1]rip 1[r1-rip-1]version 2[r1-rip-1]network 192.168.1.0[r1-rip-1]network 10.1.1.0[r1-rip-1]network 10.0.0.0R2配置[r2]rip 1[r2-rip-1]version 2[r2-rip-1]undo summary[r2-rip-1]network 192.168.2.0[r2-rip-1]network 10.0.0.0R3配置[r3]rip 1[r3-rip-1]version 2[r3-rip-1]undo summary[r3-rip-1]network 192.168.3.0[r3-rip-1]network 10.0.0.0R4配置[r4]rip 1[r4-rip-1]version 2[r4-rip-1]undo summary[r4-rip-1]network 192.168.4.0[r4-rip-1]network 10.0.0.0Easy IP配置PC访问R5环回R1配置[r1]acl 2000[r1-acl-basic-2000]rule permit source 192.168.2.0 0.0.0.255[r1-acl-basic-2000]int s4/0/0[r1-Serial4/0/0]nat outbound 2000R2配置[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 2000R3配置[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 2000R4配置[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八、ping通测试
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/2599170.html
如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!