PPP协议配置简介3395.docx
实验七 PPP协议配置一、实验目目的1、掌握PPPP协议议的配置;2、掌握PPAP和CCHAP协协议配置;二、实验设设备Quidwway SS39288以太网交交换机 11 台Quidwway SS30266以太网交交换机 11 台Quidwway SS2116以太太网交换机机 1 台Quidwway AAR28-12路由由器2台Quidwway AAR28-31路由由器1台计算机3台台,网线若若干根,V.335DTEE、DCEE电缆线33对三、实验原原理及内容容:(一)PAAP配置为了模拟实实际环境,我我们在实验验中采用背背靠背直接接相连来模模拟广域网网连接。下下面是简单单实验的模模拟实验环环境,共22台路由器器(其中RRB为ARR28-331),1台交换机机,2台PC。1、路由器器各接口IIP地址设设置如下:RTARTBE120200011/2420200111/24S019200011/2419200211/242、PC机机的IP地址和和缺省网关关的IP地地址如下:PCAPCBIPAdddresss20200022242020012224Gatewway2020001120200111为了保证配配置不受影影响,请在在实验之前前清除路由由器的所有有配置后重重新启动。3、配置主主机地址,参考下面面的命令配配置PAPP协议:<ra>ssysrassysnaame RRARAiinterrfacee e0/1RA-EEtherrnet00/1iip adddr 2202.00.0.11 24RA-EEtherrnet00/1iinterrfacee s0/0RA-SSeriaal0/00ip addrr 1922.0.00.1 224RA-SSeriaal0/00RA-SSeriaal0/00pppp autthentticattion-modee pappRA-SSeriaal0/00qRAllocall-useer roouterrbRA-lluserr-rouuterbbpasssworrd siimplee hellloRA-lluserr-rouuterbbserrvicee-typpe ppppRA-lluserr-rouuterbbquiitRAssaveRArripRA-rripnnetwoork 2202.00.0.00RA-rripnnetwoork 1192.00.0.00RA-rripqqRA<Quiddway>><Quiddway>>sysQuiddwaysysnname RBRBIINTERRFACEE E0/1RB-EEtherrnet00/1iip adddr 2202.00.1.11 24RB-EEtherrnet00/1iinterrfacee s0/0RB-SSeriaal0/00ip addrr 1922.0.00.2 224RB-SSeriaal0/00RB-SSeriaal0/00pppp papp loccal-uuser routterb passswordd simmple hellloRB-SSeriaal0/00qRBrripRB-rripnnetwoork 2202.00.1.00RB-rripnnetwoork 1192.00.0.004、PC11与PC互互相能够pping通通。该实验配置置简单,但但涉及的原原理非常重重要,在完完成实验时时一定要掌掌握两种验验证的原理理和工作方方式以及两两者的异同同。E0/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/245、三台路路由器的PPAP协议议配置<Quiddway>><Quiddway>>systtem-vviewQuiddwaysysnname RARAiinterrfacee e0/1RA-EEtherrnet00/1iip adddr 1192.1168.11.1 224RA-EEtherrnet00/1iinterrfacee s0/0RA-SSeriaal0/00ip addrr 1922.0.00.1 224RA-SSeriaal0/00qRArripRA-rripnnetwoork 1192.1168.11.0RA-rripnnetwoork 1192.00.0.00RA-rripqqRAiinterrfacee s0/0RA-SSeriaal0/00pppp autthentticattion-modee pappRA-SSeriaal0/00qRAllocall-useer roouterrbRA-lluserr-rouuterbbpasssworrd siimplee hellloRA-lluserr-rouuterbbserrvicee-typpe ppppRA-lluserr-rouuterbbqRAssaveRAddisp ip rrou Routting Tablle: ppubliic neetDestiinatiion/MMask Prrotoccol PPre Costt Nextthop Inteerfacce127.00.0.00/8 DIIRECTT 00 0 127.0.0.1 InLooopBaack0127.00.0.11/32 DIIRECTT 00 0 127.0.0.1 InLooopBaack0192.00.0.00/24 DIIRECTT 00 0 192.0.0.1 Seriial0/0192.00.0.11/32 DIIRECTT 00 0 127.0.0.1 InLooopBaack0192.00.0.22/32 DIIRECTT 00 0 192.0.0.2 Seriial0/0192.00.1.00/24 RIIP 1100 1 192.0.0.2 Seriial0/0192.1168.11.0/224 DIIRECTT 00 0 192.168.1.1 Etheernett0/1192.1168.11.1/332 DIIRECTT 00 0 127.0.0.1 InLooopBaack0192.1168.22.0/224 RIIP 1100 1 192.0.0.2 Seriial0/0192.1168.33.0/224 RIIP 1100 2 192.0.0.2 Seriial0/0RAiinterrfacee s0/0RA-SSeriaal0/00shuutdowwnRA-SSeriaal0/00unddo shhutdoownRA-SSeriaal0/00RA-SSeriaal0/00dissp cuur# sysnname RA#radiuus scchemee sysstem#domaiin syystemm#locall-useer addmin passswordd cippher .UUSE=BB,53QQ=QMAF44<1! servvice-typee tellnet termminall leveel 3 servvice-typee ftpplocall-useer roouterrb passswordd simmple helllo servvice-typee pppp#interrfacee Auxx0 asynnc moode fflow#interrfacee Ethherneet0/00 ip aaddreess ddhcp-allooc#interrfacee Ethherneet0/11 ip aaddreess 1192.1168.11.1 2255.2255.2255.00RA-SSeriaal0/00<Quiddway>><Quiddway>>systtem-vviewQuiddwaysysnname RBRBiinterrfacee e0/1RB-EEtherrnet00/1iip adddr 1192.1168.22.1 224RB-EEtherrnet00/1iinterrfacee s1/0RB-SSeriaal1/00ip addrr 1922.0.00.2 224RB-SSeriaal1/00intterfaace ss1/1RB-SSeriaal1/11ip addrr 1922.0.11.1 224RB-SSeriaal1/11qRBrripRB-rripnnetwoork 1192.1168.22.0RB-rripnnetwoork 1192.00.0.00RB-rripnnetwoork 1192.00.1.00RB-rripqqRBiinterrfacee s1/0RB-SSeriaal1/00pppp papp loccal-uuser routterb passswordd siimplee hellloRB-SSeriaal1/00qRBiinterrfacee s1/1RB-SSeriaal1/11pppp autthentticattion-modee pappRB-SSeriaal1/11qRBllocall-useer roouterrcRB-lluserr-rouuterccpasssworrd ssimplle heelloRB-lluserr-rouuterccserrvicee-typpe ppppRB-lluserr-rouuterccqRBiinterrfacee s1/1RB-SSeriaal1/11shuutdowwnRB-SSeriaal1/11unddo shhutdoownRBddisp cur# sysnname RB#radiuus scchemee sysstem#domaiin syystemm#locall-useer addmin passswordd cippher .UUSE=BB,53QQ=QMAF44<1! servvice-typee tellnet termminall leveel 3 servvice-typee ftpplocall-useer roouterrc passswordd simmple helllo servvice-typee pppp#interrfacee Auxx0 asynnc moode fflow#interrfacee Ethherneet0/00 ip aaddreess ddhcp-allooc#interrfacee Ethherneet0/11 ip aaddreess 1192.1168.22.1 2255.2255.2255.00#interrfacee Ethherneet3/00 ip aaddreess ddhcp-allooc#interrfacee Serrial11/0 linkk-prootocool pppp ppp pap locaal-usser rrouteerb ppasswword simpple hhelloo ip aaddreess 1192.00.0.22 2555.2555.2555.0#interrfacee Serrial11/1 linkk-prootocool pppp ppp authhentiicatiion-mmode pap ip aaddreess 1192.00.1.11 2555.2555.2555.0#interrfacee NULLL0#rip netwwork 192.168.2.0 netwwork 192.0.0.0 netwwork 192.0.1.0# FTP servver eenablle#user-inteerfacce coon 0user-inteerfacce auux 0user-inteerfacce vtty 0 4 authhentiicatiion-mmode scheeme#returrnRB<Quiddway>><Quiddway>>systtem-vviewQuiddwaysysnname RCRCiinterrfacee e0/1RC-EEtherrnet00/1iip adddr 1192.1168.33.1 224RC-EEtherrnet00/1iinterrfacee s0/1RC-SSeriaal0/11ip addrr 1922.0.11.2 224RC-SSeriaal0/11qRCrripRC-rripnnetwoork 1192.1168.33.0RC-rripnnetwoork 1192.00.1.00RC-rripqqRCiinterrfacee s0/1RC-SSeriaal0/11pppp papp loccal-uuser routterc passswordd simmple hellloRC-SSeriaal0/11qRCddisp cur# sysnname RC#radiuus scchemee sysstem#domaiin syystemm#locall-useer addmin passswordd cippher .UUSE=BB,53QQ=QMAF44<1! servvice-typee tellnet termminall leveel 3 servvice-typee ftpp#interrfacee Auxx0 asynnc moode fflow#interrfacee Ethherneet0/00 ip aaddreess ddhcp-allooc#interrfacee Ethherneet0/11 ip aaddreess 1192.1168.33.1 2255.2255.2255.00#interrfacee Serrial00/0 clocck DTTECLKK1 linkk-prootocool pppp ip aaddreess ddhcp-allooc#interrfacee Serrial00/1 clocck DTTECLKK1 linkk-prootocool pppp ppp pap locaal-usser rrouteerc ppasswword simpple hhelloo ip aaddreess 1192.00.1.22 2555.2555.2555.0#interrfacee NULLL0#rip netwwork 192.168.3.0 netwwork 192.0.1.0# FTP servver eenablle#user-inteerfacce coon 0user-inteerfacce auux 0user-inteerfacce vtty 0 4 authhentiicatiion-mmode scheeme#returrnRC(二)CHHAP配置置网络拓扑图图如上1、两台路路由器配置置命令<ra>ssysrassysnaame RRARAiinterrfacee e0/1RA-EEtherrnet00/1iip adddr 2202.00.0.11 24RA-EEtherrnet00/1iinterrfacee s0/0RA-SSeriaal0/00ip addrr 1922.0.00.1 224RA-SSeriaal0/00pppp autthentticattion-modee chaapRA-SSeriaal0/00pppp chaap useer roouterraRA-SSeriaal0/00pppp chaap passsworrd siimplee aaaaRA-SSeriaal0/00qRAllocall-useer roouterrbRA-lluserr-rouuterbbpasssworrd siimplee aaaaRA-lluserr-rouuterbbserrvicee-typpe ppppRA-lluserr-rouuterbbquiitRAssaveRArripRA-rripnnetwoork 2202.00.0.00RA-rripnnetwoork 1192.00.0.00RA-rripqqRA<Quiddway>><Quiddway>>sysQuiddwaysysnname RBRBIINTERRFACEE E0/1RB-EEtherrnet00/1iip adddr 2202.00.1.11 24RB-EEtherrnet00/1iinterrfacee s0/0RB-SSeriaal0/00ip addrr 1922.0.00.2 224RB-SSeriaal0/00pppp autthentticattion-modee chaapRB-SSeriaal0/00pppp chaap useer roouterrbRB-SSeriaal0/00pppp chaap passsworrd siimplee aaaaRB-SSeriaal0/00qRBllocall-useer roouterraRB-lluserr-rouuterbbpasssworrd siimplee aaaaRB-lluserr-rouuterbbserrvicee-typpe ppppRA-lluserr-rouuterbbquiitRBrripRB-rripnnetwoork 2202.00.1.00RB-rripnnetwoork 1192.00.0.002、三台路路由器配置置自拟