資源描述:
《PPPoE配置實例(2600路由器接ADSL Modem)》由會員上傳分享,免費在線閱讀,更多相關內容在教育資源-天天文庫。
1、hostnamepoohiphostrund172.17.247.195!ipsubnet-zeronoipdomain-lookup!vpdnenablenovpdnlogging!vpdn-group1request-dialinprotocolpppoe!!interfaceEthernet0/0ipaddress10.200.56.22255.255.255.0ipnatinsidenoipmroute-cache!!interfaceEthernet0/1noipaddresspppoeenablepppoe
2、-clientdial-pool-number1!interfaceDialer1ipaddressnegotiatedipnatoutsideipmtu1492encapsulationpppnoipmroute-cachedialerpool1dialer-group1pppauthenticationpapppppapsent-usernameciscopasswordcisco1!ipclasslessnoiphttpserver!dialer-list1protocolippermitipnatinsides
3、ourcelist1interfaceDialer1overloadiproute0.0.0.00.0.0.0dialer1access-list1permit10.200.56.00.0.0.255!linecon0exec-timeout00transportinputnonelinevty04loginpasswordww!endPPPoA配置實例(2600路由器連接Wic-1ADSL)vpdnenablenovpdnlogging!---default.!vpdn-grouppppoerequest-diali
4、n!---wearethePPPoEclientrequestingtoestablish!---asessionwiththeaggregationunit(6400NRP).protocolpppoe!!---internalEthernetnetwork.!interfaceFastEthernet0ipaddress10.92.1.182255.255.255.0ipnatinside!---DSLinterface.!interfaceATM0noipaddressnoatmilmi-keepalivebun
5、dle-enabledsloperating-modeautohold-queue224in!---Alldefaults.?!---PPPoErunsontopofAAL5SNAP,butthe!---encapaal5snapcommandisnotused.!interfaceATM0.1point-to-pointpvc1/1pppoe-clientdial-pool-number1!---pvc1/1isanexamplevaluethatmustbechanged!---tomatchthevalueuse
6、dbytheISP.!?!---ThePPPoEclientcodetiesintoadialerinterfaceupon!---whichavirtual-accessinterfaceiscloned.!interfaceDialer1ipaddressnegotiatedipmtu1492!---EthernetMTUdefault=1500(1492+PPPoEheaders=1500)ipnatoutsideencapsulationpppdialerpool1!---Tiestoatminterface.
7、pppauthenticationchapcallinpppchaphostnamepppchappassword!!---TheISPwillinstructyouregarding!---thetypeofauthenticationtouse.!---TochangefromPPPCHAPtoPPPPAP,!---replacethefollowingthreelines:!---pppauthenticationchapcallin!---pppchaphostname!---pppchappassword!-
8、--withthefollowingtwolines:!---pppauthenticationpapcallin!---ppppapsent-usernamepassword!---ForNATwearegoingtooverloadontheDialer1!---interfaceandaddadefaultrouteout!