Use the home ADSL line and build PPPoeServer with the CISCO router to enable the PC to access the Internet

Source: Internet
Author: User
Tags domain lookup
Build PPPoeServer with the home ADSL line and use the CISCO router to enable the PC to access the Internet www.2cto. comR1 (config-if) # doshrunBuildingconfiguration... Currentconfiguration: 1470 bytes! Version12.4servicetimestampsdebugdatetimemsecservicetimestampslog

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 run Building configuration... Current configuration: 1470 bytes! Version 12.4 service timestamps debug datetime msec service timestamps log

UseHomeOf ADSLLineAndCISCOVroSelf-built PPPoe Server enables PCInternet access

Www.2cto.com

R1 (config-if) # do sh run

Building configuration...

Current configuration: 1470 bytes

!

Version 12.4:

Service timestamps debug datetime msec

Service timestamps log datetime msec

No service password-encryption

!

Hostname R1

!

Boot-start-marker

Boot-end-marker

!

!

No aaa new-model

Memory-size iomem 5

!

!

Ip cef

No 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

Iptcp 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.150

Ip http server

No ip http secure-server

!

Ip route 0.0.0.0 0.0.0.0 Dialer0

!

Ip nat inside source list 2 interface Virtual-Template1 overload

!

Access-list 2 permit any

Dialer-list 1 protocol ip permit

!

!

Control-plane

!

!

!

!

!

!

!

!

!

!

Line con 0

Exec-timeout 0 0

Logging synchronous

Line aux 0

Line vty 0 4

!

!

End

The user name for building the PPPoe broadband connection on the computer is complete. ****** password :*****

The connection is successful.Vro Internet accessOh

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.