文档详情

实训项目7.3广域网PPP协议的CHAP认证配置实验报告..doc

发布:2017-01-19约1.81千字共8页下载文档
文本预览下载声明
《计算机网络工程》实验报告书 班级:网工1002 姓名:刘政阳 学号课程名称 计算机网络工程 实验项目 广域网PPP协议配 验 证 演示 综合 设计 其他 指导教师 张晓伟 成 绩 √ 一、实验目的 1、了解路由器广域网协议PPP工作原理。掌握CH验证协议的配置方法。掌握验证协议的配置方法。两台路由器都使用WIC-2T模块,两台路由器都要用DCE串口连接。 ISP: FA0/0:192.168.1.1 255.255.255.0 Ser0/0/0:192.168.12.1 255.255.255.0 主机0:192.168.1.10 255.255.255.0 网关:192.168.1.1 USER: FA0/0:192.168.2.1 255.255.255.0 Ser0/0/0:192.168.12.2 255.255.255.0 主机1:192.168.2.10 255.255.255.0 网关:192.168.2.1 四、实验步骤 (一)在ISP上配置 1、配置ISP路由器的主机名为ISP Router(config)#hostname ISP 2、配置ISP路由器的远程登录密码为100 ISP(config)#line vty 0 4 ISP(config-line)#password 100 ISP(config-line)#exit 3、配置ISP路由器的特权模式密码为100 ISP(config)#enable password 100 4、配置ISP路由器FA0/0端口IP地址 ISP(config)#int f 0/0 ISP(config-if)#ip add 192.168.1.1 255.255.255.0 ISP(config-if)#no shut 5、配置ISP路由器Ser0/0/0端口IP地址,同时在该端口上封装PPP协议 ISP(config)#int s 0/0/0 ISP(config-if)#ip add 192.168.12.1 255.255.255.0 ISP(config-if)#encapsulation ppp ISP(config-if)#clock rate 64000 ISP(config-if)#no shut 6、配置CHAP认证的用户端用户名为USER及密码为100,并启动CHAP认证。 ISP(config)#username USER password 0 100 ISP(config)#int s 0/0/0 ISP(config-if)#ppp authentication chap 7、在ISP路由器上设置通往USER网络的静态路由 ISP(config)#ip route 192.168.2.0 255.255.255.0 192.168.12.2 (二)在USER上配置 1、配置USER路由器的主机名为USER Router(config)#hostname USER 2、配置USER路由器的远程登录密码为100 USER(config)#line vty 0 4 USER(config-line)#password 100 3、配置USER路由器的特权模式密码为100 USER(config)#enable password 100 4、配置USER路由器FA0/0端口IP地址 USER(config)#int f 0/0 USER(config-if)#ip add 192.168.2.1 255.255.255.0 USER(config-if)#no shut 5、配置USER路由器Ser0/0/0端口IP地址,同时在该端口上封装PPP协议,然后设置CHAP验证用户名为USER,密码为100。 USER(config)#int s 0/0/0 USER(config-if)#ip add 192.168.12.2 255.255.255.0 USER(config-if)#encapsulation ppp USER(config-if)#no shut USER(config-if)#exit USER(config)#username ISP password 0 100 User#debug ppp authentication --ppp协议调试 6、在USER路由器上设置通往ISP网络的静态路由 USER(config)#ip route 192.168.1.0 255.255.255.0 192.168.12.1 (三)ISP和USER网络主机IP地址配置 ISP主机0: USER主机1: (四)测试总公司与分公司网络主机是否能够相互通讯 在ISP网络
显示全部
相似文档