实验七PPP协议papchap配置

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

实验七PPP协议配置一、实验目的1、掌握PPP协议的配置;2、掌握PAP和CHAP协议配置;二、实验设备QuidwayS3928以太网交换机1台QuidwayS3026以太网交换机1台QuidwayS2116以太网交换机1台QuidwayAR28-12路由器2台QuidwayAR28-31路由器1台计算机3台,网线若干根,V.35DTE、DCE电缆线3对三、实验原理及内容:(一)PAP配置为了模拟实际环境,我们在实验中采用背靠背直接相连来模拟广域网连接。下面是简单实验的模拟实验环境,共2台路由器(其中RB为AR28-31),1台交换机,2台PC。1、路由器各接口IP地址设置如下:RTARTBE1202.0.0.1/24202.0.1.1/24S0192.0.0.1/24192.0.2.1/242、PC机的IP地址和缺省网关的IP地址如下:PCAPCBIPAddress202.0.0.2/24202.0.1.2/24Gateway202.0.0.1202.0.1.1为了保证配置不受影响,请在实验之前清除路由器的所有配置后重新启动。3、配置主机地址,参考下面的命令配置PAP协议:PC1202.0.0.2/24202.0.0.1RARBS0/0192.0.0.1/24PC2202.0.1.2/24202.0.1.1S0/0192.0.0.2/24E0/1202.0.1.1/24E0/1202.0.0.1/24rasys[ra]sysnameRA[RA]interfacee0/1[RA-Ethernet0/1]ipaddr202.0.0.124[RA-Ethernet0/1]interfaces0/0[RA-Serial0/0]ipaddr192.0.0.124[RA-Serial0/0][RA-Serial0/0]pppauthentication-modepap[RA-Serial0/0]q[RA]local-userrouterb[RA-luser-routerb]passwordsimplehello[RA-luser-routerb]service-typeppp[RA-luser-routerb]quit[RA]save[RA]rip[RA-rip]network202.0.0.0[RA-rip]network192.0.0.0[RA-rip]q[RA]QuidwayQuidwaysys[Quidway]sysnameRB[RB]INTERFACEE0/1[RB-Ethernet0/1]ipaddr202.0.1.124[RB-Ethernet0/1]interfaces0/0[RB-Serial0/0]ipaddr192.0.0.224[RB-Serial0/0][RB-Serial0/0]ppppaplocal-userrouterbpasswordsimplehello[RB-Serial0/0]q[RB]rip[RB-rip]network202.0.1.0[RB-rip]network192.0.0.04、PC1与PC互相能够ping通。该实验配置简单,但涉及的原理非常重要,在完成实验时一定要掌握两种验证的原理和工作方式以及两者的异同。5、三台路由器的PAP协议配置QuidwayQuidwaysystem-view[Quidway]sysnameRA[RA]interfacee0/1[RA-Ethernet0/1]ipaddr192.168.1.124[RA-Ethernet0/1]interfaces0/0[RA-Serial0/0]ipaddr192.0.0.124[RA-Serial0/0]q[RA]rip[RA-rip]network192.168.1.0[RA-rip]network192.0.0.0[RA-rip]q[RA]interfaces0/0[RA-Serial0/0]pppauthentication-modepap[RA-Serial0/0]q[RA]local-userrouterb[RA-luser-routerb]passwordsimplehello[RA-luser-routerb]service-typeppp[RA-luser-routerb]q[RA]save[RA]dispiprouRoutingTable:publicnetDestination/MaskProtocolPreCostNexthopInterface127.0.0.0/8DIRECT00127.0.0.1InLoopBack0127.0.0.1/32DIRECT00127.0.0.1InLoopBack0192.0.0.0/24DIRECT00192.0.0.1Serial0/0192.0.0.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.1Ethernet0/1192.168.1.1/32DIRECT00127.0.0.1InLoopBack0192.168.2.0/24RIP1001192.0.0.2Serial0/0192.168.3.0/24RIP1002192.0.0.2Serial0/0E0/1192.168.2.1/24PC1192.168.1.2/24192.168.1.1PC2192.168.2.2/24192.168.2.1RARBS0/0192.0.0.1/24S1/1192.0.1.1/24PC3192.168.3.2/24192.168.3.1RCS1/0192.0.0.2/24S0/1192.0.1.2/24E0/1192.168.3.1/24E0/1192.168.1.1/24[RA]interfaces0/0[RA-Serial0/0]shutdown[RA-Serial0/0]undoshutdown[RA-Serial0/0][RA-Serial0/0]dispcur#sysnameRA#radiusschemesystem#domainsystem#local-useradminpasswordcipher.]@USE=B,53Q=^Q`MAF41!!service-typetelnetterminallevel3service-typeftplocal-userrouterbpasswordsimplehelloservice-typeppp#interfaceAux0asyncmodeflow#interfaceEthernet0/0ipaddressdhcp-alloc#interfaceEthernet0/1ipaddress192.168.1.1255.255.255.0[RA-Serial0/0]QuidwayQuidwaysystem-view[Quidway]sysnameRB[RB]interfacee0/1[RB-Ethernet0/1]ipaddr192.168.2.124[RB-Ethernet0/1]interfaces1/0[RB-Serial1/0]ipaddr192.0.0.224[RB-Serial1/0]interfaces1/1[RB-Serial1/1]ipaddr192.0.1.124[RB-Serial1/1]q[RB]rip[RB-rip]network192.168.2.0[RB-rip]network192.0.0.0[RB-rip]network192.0.1.0[RB-rip]q[RB]interfaces1/0[RB-Serial1/0]ppppaplocal-userrouterbpasswordsimplehello[RB-Serial1/0]q[RB]interfaces1/1[RB-Serial1/1]pppauthentication-modepap[RB-Serial1/1]q[RB]local-userrouterc[RB-luser-routerc]passwordsimplehello[RB-luser-routerc]service-typeppp[RB-luser-routerc]q[RB]interfaces1/1[RB-Serial1/1]shutdown[RB-Serial1/1]undoshutdown[RB]dispcur#sysnameRB#radiusschemesystem#domainsystem#local-useradminpasswordcipher.]@USE=B,53Q=^Q`MAF41!!service-typetelnetterminallevel3service-typeftplocal-userroutercpasswordsimplehelloservice-typeppp#interfaceAux0asyncmodeflow#interfaceEthernet0/0ipaddressdhcp-alloc#interfaceEthernet0/1ipaddress192.168.2.1255.255.255.0#interfaceEthernet3/0ipaddressdhcp-alloc#interfaceSerial1/0link-protocolpppppppaplocal-userrouterbpasswordsimplehelloipaddress192.0.0.2255.255.255.0#interfaceSerial1/1link-protocolppppppauthentication-modepapipaddress192.0.1.1255.255.255.0#interfaceNULL0#ripnetwork192.168.2.0network192.0.0.0network192.0.1.0#FTPserverenable#user-interfacecon0user-interfaceaux0user-interfacevty04authentication-modescheme#return[RB]QuidwayQuidwaysystem-view[Quidway]sysnameRC[RC]interfacee0/1[RC-Ethernet0/1]ipaddr192.168.3.124[RC-Ethernet0/1]interfaces0/1[RC-Serial0/1]ipaddr192.0.1.224[RC-Serial0/1]q[RC]rip[RC-rip]network192.168.3.0[RC-rip]network192.0.1.0[RC-rip]q[RC]interfaces0/1[RC-Serial0/1]ppppaplocal-userroutercpasswordsimplehello[RC-Serial0/1]q[RC]dispcur#sysnameRC#radiusschemesystem#domainsystem#local-useradminpasswordcipher.]@USE=B,53Q=^Q`MAF41!!service-typetelnetterminallevel3service-typeftp#interfaceAux0asyncmodeflow#interfaceEthernet0/0ipaddressdhcp-alloc#interfaceEthernet0/1ipaddress192.168.3.1255.255.255.0#interfaceSerial0/0clockDTECLK1link-protocolpppipaddressdhcp-alloc#interfaceSerial0/1

1 / 9
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功