Use the home ADSL line and use the CISCO router to build a PPPoe Server to enable the PC to access the Internet

Source: Internet
Author: User
Tags domain lookup

Use the home ADSL line and use the CISCO router to build the PPPoe Server so that the PC can access www.2cto.com R1 (config-if) # do sh runBuilding configuration... Current configuration: 1470 bytes! Version 12.4 service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption! Hostname R1! Boot-start-markerboot-end-marker !! No aaa new-modelmemory-size iomem 5 !! Ip cefno ip domain lookup !!! Vpdn enable !!!!!!!!!!!!!!! Username zhaojinglei password 0 cisco !! !!! Bba-group pppoe pppoeser virtual-template 1 !! Interface FastEthernet0/0 description $ ETH-WAN $ no ip address duplex auto speed auto pppoe enable group global pppoe-client dial-pool-number 1! Interface FastEthernet1/0 no ip address ip tcp adjust-mss 1412 duplex auto speed auto pppoe enable group pppoeser! Interface Virtual-Template1 ip address 172.16.1.254 255.255.255.0 ip nat inside ip virtual-reassembly peer default ip address pool zyh ppp authentication pap ppp ipcp dns 61.139.2.69 202.98.96.68! Interface Dialer0 ip address negotiated ip mtu 1452 ip nat outside ip virtual-reassembly encapsulation ppp dialer pool 1 dialer-group 1 ppp authentication pap callin ppp pap sent-username 6332155 @ myadsl password 0 666666! Ip local pool zyh 172.16.1.100 172.16.1.150ip http serverno ip http secure-server! Ip route 0.0.0.0 0.0.0.0 Dialer0! The ip nat inside source list 2 interface Virtual-Template1 overload! Access-list 2 permit anydialer-list 1 protocol ip permit !! Control-plane !!!!!!!!!! Line con 0 exec-timeout 0 0 logging synchronousline aux 0 line vty 0 4 !! End: the user name for building a PPPoe broadband connection on the computer. ****** password: ***** the connection is successful. The computer is connected to the Internet through the router in GNS3.

Related Article

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.