PPP协议配置简介

上传人:cn****1 文档编号:469357787 上传时间:2023-09-03 格式:DOCX 页数:9 大小:43.13KB
返回 下载 相关 举报
PPP协议配置简介_第1页
第1页 / 共9页
PPP协议配置简介_第2页
第2页 / 共9页
PPP协议配置简介_第3页
第3页 / 共9页
PPP协议配置简介_第4页
第4页 / 共9页
PPP协议配置简介_第5页
第5页 / 共9页
点击查看更多>>
资源描述

《PPP协议配置简介》由会员分享,可在线阅读,更多相关《PPP协议配置简介(9页珍藏版)》请在金锄头文库上搜索。

1、实验七PPP 协议配置一、实验目的1、掌握 PPP协议的配置;2、掌握 PAP和CHAP协议配置;二、实验设备Quidway S3928以太网交换机1台Quidway S3026以太网交换机1台Quidway S2116以太网交换机1台Quidway AR28-12路由器 2台Quidway AR28-31路由器 1台计算机 3台,网线若干根, V.35DTE、DCE电缆线 3对三、实验原理及内容:(一) PAP配置为了模拟实际环境,我们在实验中采用背靠背直接相连来模拟广域网连接。下面是简单实验的模拟实验环境,共 2台路由器(其中 RB为 AR28-31),1台交换机, 2台PC。PC1PC2

2、E0/1E0/1202.0.0.1/24202.0.1.1/24S0/0S0/0RARB1、路由器各接口 IP 地址设置如下:RTARTBE1202 0 0 1/24202 0 1 1/24S0192 0 0 1/24192 0 2 1/242、PC机的 IP 地址和缺省网关的 IP 地址如下:PCAPCBIPAddress20200224202 0 1 2 24Gateway202001202 0 1 1为了保证配置不受影响,请在实验之前清除路由器的所有配置后重新启动。3、配置主机地址,参考下面的命令配置PAP协议:sysrasysname RARAinterface e0/1RA-Ethe

3、rnet0/1interface s0/0RA-Serial0/0RA-Serial0/0ppp authentication-mode papRA-Serial0/0qRAlocal-user routerbRA-luser-routerbpassword simple helloRA-luser-routerbservice-type pppRA-luser-routerbquitRAsaveRAripRA-ripqRAsysQuidwaysysname RBRBINTERFACE E0/1RB-Ethernet0/1interface s0/0RB-Serial0/0RB-Serial0

4、/0ppp pap local-user routerb password simple helloRB-Serial0/0qRBrip4、PC1与PC互相能够 ping 通。该实验配置简单,但涉及的原理非常重要,在完成实验时一定要掌握两种验证的原理和工作方式以及两者的异同。PC2PC1192.168.2.2/24192.168.2.1PC3192.168.1.2/24192.168.3.2/24192.168.1.1192.168.3.1E0/1E0/1E0/1192.168.1.1/24192.168.2.1/24192.168.3.1/24S0/0S1/0S1/1S0/1RA192.0.

5、0.2/24RBRC192.0.0.1/24192.0.1.1/24192.0.1.2/245、三台路由器的 PAP协议配置system-viewQuidwaysysname RARAinterface e0/1RA-Ethernet0/1interface s0/0RA-Serial0/0qRAripRA-ripnetwork 192.168.1.0RA-ripnetwork 192.0.0.0RA-ripqRAinterface s0/0RA-Serial0/0ppp authentication-mode papRA-Serial0/0qRAlocal-user routerbRA-lu

6、ser-routerbpassword simple helloRA-luser-routerbservice-type pppRA-luser-routerbqRAsaveRAdisp ip rouRouting Table: public netDestination/Mask Protocol Pre CostNexthopInterface127.0.0.0/8DIRECT00127.0.0.1InLoopBack0127.0.0.1/32DIRECT00127.0.0.1InLoopBack0192.0.0.0/24DIRECT00192.0.0.1Serial0/0192.0.0.

7、1/32DIRECT00127.0.0.1InLoopBack0192.0.0.2/32DIRECT00192.0.0.2Serial0/0192.0.1.0/24RIP1001192.0.0.2Serial0/0192.168.1.0/24DIRECT00192.168.1.1 Ethernet0/1192.168.1.1/32DIRECT00127.0.0.1InLoopBack0192.168.2.0/24RIP1001192.0.0.2Serial0/0192.168.3.0/24RIP1002192.0.0.2Serial0/0RAinterface s0/0RA-Serial0/0

8、shutdownRA-Serial0/0undo shutdownRA-Serial0/0RA-Serial0/0disp cur#sysname RA#radius scheme system#domain system#local-user adminpassword cipher .USE=B,53Q=QMAF41!service-type telnet terminallevel 3service-type ftplocal-user routerbpassword simple helloservice-type ppp#interface Aux0async mode flow#i

9、nterface Ethernet0/0ip address dhcp-alloc#interface Ethernet0/1RA-Serial0/0system-viewQuidwaysysname RBRBinterface e0/1RB-Ethernet0/1interface s1/0RB-Serial1/0interface s1/1RB-Serial1/1qRBripRB-ripqRBinterface s1/0RB-Serial1/0ppp pap local-user routerb password simple helloRB-Serial1/0qRBinterface s

10、1/1RB-Serial1/1ppp authentication-mode papRB-Serial1/1qRBlocal-user routercRB-luser-routercpassword simple helloRB-luser-routercservice-type pppRB-luser-routercqRBinterface s1/1RB-Serial1/1shutdownRB-Serial1/1undo shutdownRBdisp cur#sysname RB#radius scheme system#domain system#local-user adminpassw

11、ord cipher .USE=B,53Q=QMAF41!service-type telnet terminallevel 3service-type ftplocal-user routercpassword simple helloservice-type ppp#interface Aux0async mode flow#interface Ethernet0/0ip address dhcp-alloc#interface Ethernet0/1#interface Ethernet3/0ip address dhcp-alloc#interface Serial1/0link-protocol pppppp#interface Serial1/1link-protocol pppppp authentication-mode pap#interface NULL0#rip#FTP server enable#user-interface con 0user-interface aux 0user-interface vty 0 4authentication-mode sch

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 办公文档 > 演讲稿/致辞

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号