PPPOE on Cisco router

Source: Internet
Author: User

Tag: PPPoE Cisco

Environment

R1-client-pppoe (f0/0)------(F0/1) R2-server-pppoe

Server side:

R2-server-pppoe (config) #username fuyi password Fuyi

R2-server-pppoe (config) #ip local pool Pppoepool 12.1.1.10012.1.1.150

R2-server-pppoe (config) #interface virtual-template 1

R2-server-pppoe (config-if) #encapsulation PPP

R2-server-pppoe (config-if) #ip add 12.1.1.254 255.255.255.0

R2-server-pppoe (CONFIG-IF) #ppp authentication chap

R2-server-pppoe (config-if) #peer default IP address Poolpppoepool

R2-server-pppoe (config-if) #ppp IPCP DNS 8.8.8.8

R2-server-pppoe (config) #bba-group PPPoE Fuyi

R2-server-pppoe (Config-bba-group) #virtual-template 1

R2-server-pppoe (config) #int F0/1

R2-server-pppoe (config-if) #pppoe enable group Fuyi

R1-client-pppoe (config) #interface dialer 1

R1-client-pppoe (config-if) #ip MTU 1492

R1-client-pppoe (config-if) #ip TCP ADJUST-MSS 1452

R1-client-pppoe (config-if) #ip address negotiated

R1-client-pppoe (config-if) #encapsulation PPP

R1-client-pppoe (config-if) #dialer Pool 100

R1-client-pppoe (CONFIG-IF) #ppp authentication chap Callin

R1-client-pppoe (CONFIG-IF) #ppp chap hostname Fuyi

R1-client-pppoe (config-if) #ppp chap password Fuyi

R1-client-pppoe (config-if) #ppp IPCP DNS Request

R1-client-pppoe (config-if) #int f0/0

R1-client-pppoe (config-if) #no IP add

R1-client-pppoe (config-if) #pppoe enable group Global

R1-client-pppoe (CONFIG-IF) #no CDP enable

R1-client-pppoe (config-if) #no shut

Show PPPoE Session

650) this.width=650; "title=" 2015-5-31 20-57-25.png "alt=" wkiom1vrcghioj4iaamnoxdn9mi759.jpg "src=" http:/ S3.51cto.com/wyfs02/m01/6d/c4/wkiom1vrcghioj4iaamnoxdn9mi759.jpg "/>

1Server (config) #vpdnenable----------------------------- enable vpdn

2 server (config) #servicedhcp---------------------------- dhcp

3 , Server (config) #ipdhcp excluded-address 192.168.1.254-------- removed from DHCP Pool Test in a

An address

4 server (config) #ipdhcp pool test--------------- open named test dhcp

pppoe

5 server (Dhcp-config) #network192.168.1.0 255.255.255.0----- 6 server (config) #interfacevirtual-template 1---- --------------

7 server (config-if) #ipaddress 192.168.1.254 255.255.255.0--- 8 r1 (config-if) #peer default IP addressdhcp-pool Test---------- Let the client from dhcp

Test Request Address

9 , R1 (config-if) #pppipcp DNS 201.201.201.222 201.201.201.221---- assigning to clients DNS to

Access

Ten , R1 (config-if) #pppauthentication chap-------------------- open on the interface interface PPP of the chap

The Certification

A , Server (config) #bba-grouppppoe global

- , Server (config-bba-group) #virtual-template1---------------- apply a virtual template 1

- , R1 (config) #interfacefastEthernet 0/0

the , Server (config-if) #pppoeenable Group Global------------- The interface that will be connected to the client is called in the

of the above configuration PPPOE gloabl Group and activate

1 , Client (config) #vpdnenable---------------------------- enabled VPDN function    

2 , Client (config) #interface Dialer0--------------------- Create PPPOE Dial Device

3 , Client (config-if) #ipadd negotiated-------------- let the dialer and Pppoe-server Auto-Negotiate with

(can be automatically negotiated or manually configured, the routing protocol cannot be transferred at both ends in the case of Autonegotiation)

4 , client (config-if) #ipmtu 1492-------------------- mtu value because pppoe data in encapsulation, A 8

5 , Client (config-if) #encapsulationppp------------- encapsulated into PPP

6 , Client (config-if) #dialer pool

7 , Client (config-if) #pppauthentication chap callin

8 , Client (config-if) #pppchap hostname admin1

9 , Client (config-if) #ppp chap Passwordcisco

Ten , Client (config-if) #pppipcp DNS request

One , Client (config) #interfaceFastEthernet0/0

A , Client (config-if) # no IP address

- , Client (config-if) #pppoe enable group Global

- , Client (config-if) # Pppoe-clientdial-pool-number

the , Client (CONFIG-IF) #no CDP enable

- , Client (config-if) #no shutdown


This article from the "Erick" blog, declined to reprint!

PPPOE on Cisco router

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.