




已阅读5页,还剩39页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
TeleworkerConnectivity,配置CPE作为PPPoE或PPPoA客户端,配置路由器作为PPPoE客户端,配置任务:配置以太网接口上的PPPoE拨号,配置以太网接口配置拨号接口配置PAT配置DHCP服务器配置一条静态默认路由,示例:配置以太网接口上的PPPoE拨号,示例:配置以太网接口上的PPPoE拨号(Cont.),配置任务:配置ATM接口作为PPPoE客户端,配置ATM接口配置拨号接口配置PAT配置DHCP服务配置静态默认路由,示例:配置ATM接口作为PPPoE客户端,示例:配置ATM接口作为PPPoE客户端(Cont.),配置PPPoE客户,PPPoEClientConfiguration,ConfigurestheEthernetinterface,interfaceethernetnumber,router(config)#,pppoeenable,router(config-if)#,pppoe-clientdial-pool-numbernumber,router(config-if)#,EnablesPPPoEonEthernetinterface,BindsadialerprofiletotheEthernetinterface,示例:配置PPPoEClient,配置PPPoEDSL拨号接口,配置PPPoE拨号接口,Configuresthedialerinterface.,interfacedialernumber,router(config)#,encapsulationppp,router(config-if)#,ipaddressnegotiated,router(config-if)#,SpecifiesPPPencapsulationforthedialerinterface.,SetsIPaddresstobenegotiatedwiththeremotepeerusingIPCP.,ConfiguringthePPPoEDialerInterface(Cont.),Bindsdialerinterfacetothedialerpool,dialerpoolpool_number,router(config-if)#,ipmtumtu_size,router(config-if)#,pppauthenticationchapcallin,router(config-if)#,ReducesthemaximumEthernetpayloadsizebecausethePPPoEheaderrequires8bytes,(Optional)ConfiguresPPPauthenticationCHAP,示例:配置PPPoE拨号接口,配置PAT,PortAddressTranslation,配置PAT,Specifiestheaddressesthatmaybetranslated,access-listACL_numpermit|denyprotocolsource_networksource_wildcarddestination_networkdestination_wildcard,router(config)#,ipnatinsidesourcelistACL_numinterfaceinterfacenumberoverload,router(config)#,ipnatinside|outside,router(config-if)#,EnablesdynamictranslationofaddressesusingtheassignedIPaddressoftheinterface,SpecifiestheinterfaceasinsideoroutsiderelatedtoPAT,示例:PAT配置,配置DHCP扩展DSL应用,配置DHCPServer,EnablesaDHCPpoolforusebyhostsandentersDHCPpoolconfigurationmode.,ipdhcppoolpool_name,router(config)#,importall,router(dhcp-config)#,networknetwork_addresssubnet_mask,router(dhcp-config)#,ImportsDNSandWINSinformationfromIPCP.,Specifiesthenetworkandsubnetmaskofthepool.,default-routeraddress,router(dhcp-config)#,Specifiesthedefaultrouterforthepooltouse.,示例:DHCPServer配置,配置静态默认路由,ConfiguringaStaticDefaultRoute,TheCPEcanuseastaticdefaultroutetoreachallremotedestinations.,iproute0.0.0.00.0.0.0interfacenumber,router(config)#,Example:StaticDefaultRoute,检验PPPoE配置,检验PPPoE配置,DisplaysPPPoEprotocolmessagesabouteventsthatarepartofnormalsessionestablishmentorshutdown,debugpppoeevents,router#,debugpppauthentication,router#,showpppoesession,router#,Displaysauthenticationprotocolmessages,includingCHAPandPAPpacketexchanges,DisplaysbasicinformationaboutcurrentlyactivePPPoEsessions,VerifyingaPPPoEConfiguration(Cont.),DisplaysaddressbindingsontheCiscoIOSDHCPserver,showipdhcpbinding,router#,showipnattranslations,router#,ipconfig/all,C:DocumentsandSettingsUser,DisplaysactiveNATtranslations,DisplaysthecompleteIPconfigurationonWindowsNT,2000,orXPsystem,CPE#showpppoesessionTotalPPPoEsessions1PPPoESessionInformationUIDSIDRemMACIntfIntfSessionLocMACVAStstate059890090.1a41.1a83Et1Vi2N/A000b.46e2.eb36UP,DebugVPDNPPPoEEvents,CPE#debugpppoeevents15:13:41.991:SendingPADI:Interface=Ethernet115:13:42.083:PPPoE0:IPADO15:13:44.091:PPPOE:wevegotourpadoandthepadotimerwentoff15:13:44.091:OUTPADRfromPPPoESession15:13:44.187:PPPoE5989:IPADS15:13:44.187:INPADSfromPPPoESession,DetermineifthePPPoEconnectphaseissuccessful.,GetthestatusofthePPPoEsession.,DebugPPPAuthentication,EnabledebuggingforPPPauthenticationtoverifyauthenticationsuccess.,CPE#debugpppauthenticationCPE#configureterminalEnterconfigurationcommands,oneperline.EndwithCNTL/Z.CPE(config)#interfaceATM0/0CPE(config-if)#noshutdown00:19:05:%LINK-3-UPDOWN:InterfaceATM0/0,changedstatetoup00:19:06:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceATM0/0,changedstatetoup00:19:29:%DIALER-6-BIND:InterfaceVi2boundtoprofileDi100:19:29:Vi2PPP:Usingdialercalldirection00:19:29:Vi2PPP:Treatingconnectionasacallout00:19:29:Vi2PPP:Authorizationrequired00:19:29:Vi2PPP:Noremoteauthenticationforcall-out00:19:29:%LINK-3-UPDOWN:InterfaceVirtual-Access2,changedstatetoup00:19:31:Vi2CHAP:ICHALLENGEid1len24fromISP00:19:31:Vi2CHAP:UsinghostnamefrominterfaceCHAP00:19:31:Vi2CHAP:UsingpasswordfromAAA00:19:31:Vi2CHAP:ORESPONSEid1len25fromCPE00:19:32:Vi2CHAP:ISUCCESSid1len400:19:33:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceVirtual-Access2,changedstatetoup,VerifyDHCPClients,C:DocumentsandSettingsUseripconfig/allWindows2000IPConfigurationEthernetadapterLAB:Connection-specificDNSSuffix.:Description.:Intel(R)PRO/1000MTMobileConnectionPhysicalAddress.:00-11-25-AF-40-9BDhcpEnabled.:YesAutoconfigurationEnabled.:YesIPAddress.:10.0.0.2SubnetMask.:255.0.0.0DefaultGateway.:10.0.0.1DHCPServer.:10.0.0.1DNSServers.:192.168.1.1192.168.1.2PrimaryWINSServer.:192.168.1.3LeaseObtained.:6.April200616:36:31LeaseExpires.:7.April20060:36:31,VerifyhowtheIPaddressisassignedonthePC.,VerifyDHCPServer,CPE#showipdhcpbindingIPaddressClient-ID/LeaseexpirationTypeHardwareaddress10.0.0.20100.5056.4000.59Jan21200612:50AMAutomatic10.0.0.30100.5056.4000.60Jan21200612:50AMAutomatic,VerifytheexistingDHCPbindingsontherouter(DHCPserver).,VerifyhowIPaddressesaretranslatedontherouter.,CPE#showipnattranslationsProInsideglobalInsidelocalOutsidelocalOutsideglobalicmp192.168.1.202:51210.0.0.2:512192.168.123.100:512192.168.123.100:512,检验PAT,PPPoE案例配置,hostnameCPE!ipdhcppoolMyPoolnetwork10.0.0.0255.0.0.0default-router10.0.0.1!interfaceEthernet0/1noipaddresspppoeenablepppoe-clientdial-pool-number1!interfaceEthernet0/0ipaddress10.0.0.1255.0.0.0ipnatinside!interfaceDialer0ipaddressnegotiatedencapsulationpppdialerpool1ipmtu1492ipnatoutsidepppauthenticationchapcallinpppchappasswordmysecret!ipnatinsidesourcelist101interfaceDialer0overloadaccess-list101permitip10.0.0.00.255.255.255any!iproute0.0.0.00.0.0.0Dialer0,配置PPPoADSL连接,DSL配置总结,TheCPEdeviceencapsulatesthePPPsessionbasedonRFC1483fortransportacrosstheDSLAM.ThevirtualaccessinterfaceassociateseachPPPconnectionwithanATMVC.ThevirtualaccessinterfaceobtainsitsconfigurationfromavirtualinterfacetemplatewhentheVCiscreated.ThePPPsubsystemstartsandtherouterattemptstosendaPPPconfigurerequesttotheremotepeer.ThevirtualaccessinterfaceremainsassociatedwithaVCaslongastheVCisconfigured.ThreetypesofPPPoverATMconnectionsaresupported:IETF-compliantMUXencapsulatedPPPoAIETF-compliantLLCencapsulatedPPPoACisco-proprietaryPPPoA,PPPoE与PPPoA,interfaceEthernet0/1noipaddresspppoeenablepppoe-clientdial-pool-number1!interfaceDialer0ipmtu1492,interfaceATM0/0noipaddressdsloperating-modeautopvc1/32encapsulationaal5muxpppdialerdialerpool-member1,在PPPoE配置中,必须将以太口关联到拨号接口,并将以太口的MTU值从1500设为1492.在PPPoA配置中,必须配置ATM接口的正确封装,并且关联接口到拨号接口.,PPPoE,PPPoA,配置DSLATM接口,配置DSLATM接口,Step1:Configuremodulationmode,interfaceatmnumber,router(config)#,dsloperating-modeauto,router(config-if)#,pvcvpi/vci,router(config-if)#,PermitstheroutertoautomaticallydeterminetheserviceproviderDSLmodulation;thisisthedefaultsettingontheCiscorouter.,CreatesanATMPVCfortherouter.Note:ThePVCVPI/VCImustmatchtheproviderVPI/VCI.,Step2:CreatePVC,配置DSLATM接口(Cont.),encapsulationaal5muxpppdialer,router(config-atm-vc)#,IdentifiestheLayer2encapsulation,dialerpool-membernumber,router(config-atm-vc)#,Specifiesadialerpoolmember,Step4:Associatetheinterfacewiththepool,Step3:Definetheencapsulation,PPPoA配置案例,hostnameCPE!ipdhcppoolMyPoolnetwork10.0.0.0255.0.0.0default-router10.0.0.1!interfaceATM0/0noipaddressdsloperating-modeautopvc8/35encapsulationaal5muxpppdialerdialerpool-member1!interfaceEthernet0/0ipaddress10.0.0.1255.0.0.0ipnatinside!interfaceDialer0ipaddressnegotiatedencapsulationpppdialerpool1ipnatoutsidepppauthenticationchapcallinpppchappasswordmysecret!ipnatinsidesourcelist101interfaceDialer0overloadaccess-list101permitip10.0.0.00.255.255.255any!iproute0.0.0.00.0.0.0Dialer0,Summary,ConfiguringDSLrequiresglobalandinterfaceconfigurationcommands.EnablePPPoEonEthernetinterfacewiththepppoeenablecommandandbindtheEthernetinterfacetoadialerinterface.Configurethedialerinterfac
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025辽宁沈阳地铁集团有限公司所属公司拟聘用人员模拟试卷及答案详解(网校专用)
- 2025湖北荆州市石首市第二批校园招聘教师6人考前自测高频考点模拟试题及一套参考答案详解
- 安全培训教师基本条件课件
- 2025年威海火炬高技术产业开发区公开招聘教师(第二批)(61人)考前自测高频考点模拟试题及答案详解一套
- 2025年锂电池配套试剂项目建议书
- 广昌消防安全培训课件
- 2025江西赣南医科大学高层次人才招聘180人模拟试卷及答案详解(全优)
- 小学安全专项培训反思课件
- 2025年高通量试验反应堆及配套产品合作协议书
- Indene-d3-生命科学试剂-MCE
- 耕地占用税培训课件
- 110kV变电站及110kV输电线路运维投标技术方案
- LS 8010-2014植物油库设计规范
- FZ/T 73001-2016袜子
- 发展心肺耐力与改善身体成分 课件 【新教材同步备课精研】高中体育与健康人教版必修第一册
- 组织行为学核心主题全系列(MBA研修班学生版4日)课件
- 桥梁基础工程施工
- 始祖鸟新员工基础知识考试(NEW)试题含答案
- 渣浆泵基础知识课件
- 布赫液压样本
- 防错验证报告
评论
0/150
提交评论