PPPoE configuration for connecting a CISCO router to ADSL

Source: Internet
Author: User


Configure PPPoE for connecting a CISCO router to an ADSL modem using the Cisco router: hostname bjsite! Ip subnet-zero no ip domain-lookup! Vpdn enable no vpdn logging! Vpdn-group 1 request-dialin protocol pppoe! Interface Ethernet0/0 ip address 192.168.0.1 255.255.255.0 ip nat inside no ip mroute-cache!!!! Interface Ethernet0/1 no ip address pppoe enable pppoe-client dial-pool-number 1! Www.2cto.com interface Dialer1 ip address negotiated ip nat outside ip mtu 1492 encapsulation ppp no ip mroute-cache dialer pool 1 dialer-group 1 ppp authentication pap ppp sent-username dg48907653@163.gd password xxxxxxxx! Ip classless no ip http server! Dialer-list 1 protocol ip permit ip nat inside source list 1 interface Dialer1 overloadip route 0.0.0.0 0.0.0 dialer1 access-list 1 permit 192.168.0.0 0.0.0.255! Line con 0 exec-timeout 0 0 transport input none line vty 0 4 login! End Cisco router connection to adsl wic card PPPoE configuration: vpdn-group pppoe request-dialin! --- We are the PPPoE client requesting to establish! --- A session with the aggregation unit (6400 NRP). protocol pppoe! Www.2cto.com! --- Internal Ethernet network .! Interface FastEthernet0 ip address 10.92.1.182 255.255.255.0 ip nat inside! --- DSL interface .! Interface ATM0 no ip address no atm ilmi-keepalivebundle-enabledsl operating-mode autohold-queue 224 in! --- All defaults .! --- PPPoE runs on top of AAL5SNAP, but! --- Encap aal5snap command is not used .! Interface ATM 0.1 point-to-point PVCs 1/1 pppoe-client dial-pool-number 1! --- Pvc 1/1 is an example value that must be changed! --- To match the value used by the ISP. www.2cto.com!! --- The PPPoE client code ties into a dialer interface! --- Which a virtual-access interface is cloned .! Interface Dialer1 ip address negotiated ip mtu 1492! --- Ethernet MTU default = 1500 (1492 + PPPoE headers = 1500) ip nat outside encapsulation ppp dialer pool 1! --- Ties to atm interface. ppp authentication chap callin ppp chap hostname <username> ppp chap password <password>!! --- The ISP will instruct you regarding! --- The type of authentication to use .! --- To change from ppp chap to ppp pap ,! --- Replace the following three lines :! --- Ppp authentication chap callin! --- Ppp chap hostname <username>! --- Ppp chap password <password>! --- With the following two lines :! --- Ppp authentication pap callin! --- Ppp pap sent-username <username> password <password> www.2cto.com! --- For NAT we are going to overload on the Dialer1! --- Interface and add a default route out! --- Since dialer ip address can change. ip nat inside source list 1 interface Dialer1 overload ip classless ip route 0.0.0.0 0.0.0.0 dialer1 no ip http server! Access-list 1 permit 10.92.1.0 0.0.255

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.