Pppoe server full guide (1)

Source: Internet
Author: User

The following describes the pppoe server content in detail. First, we will describe the entire experiment, and then explain the experiment process in detail. Some of the commands and code contained in the Code are worth your attention.

1. Experiment description

Cisco 1721 to simulate PPPOE SERVER

PIX501 to simulate PPPOE Client

2. Experiment Process

Configure CISCO 1721 as PPPOE SERVER

 
 
  1. // First, the underlying pppoe server configuration. You are familiar with it ~~
  2. Router (config) # no ip domain-lookup
  3. Router (config) # line console 0
  4. Router (config-line) # exec-timeout 0 0
  5. Router (config-line) # logg syn
  6. Router (config-line) # host PPPOE_SERVER
  7. PPPOE_SERVER (config) # int e0/0
  8. PPPOE_SERVER (config-if) # ip add 192.168.0.1 255.255.255.0
  9. PPPOE_SERVER (config-if) # no sh
  10. PPPOE_SERVER (config-if) # enable pppoe session under PPPOE // Interface
  11. PPPOE_SERVER (config-if) # exit
  12. PPPOE_SERVER (config) # vpdn enable // enable the VPDN service globally
  13. PPPOE_SERVER (config) # vpdn-group PPPOE // create a VPDN dial-up group. The name I set here is PPPOE, note that the group name created here must be the same as the VPDN group name enabled on the PIX. Otherwise, the pppoe session fails.
  14. PPPOE_SERVER (config-vpdn) # accept-dialin // receives the dialing request
  15. PPPOE_SER (config-vpdn-acc-in) # protocol pppoe // specify the Session protocol as pppoe
  16. PPPOE_SER (config-vpdn-acc-in) # virtual-template 1 // create virtual template 1, indicating the first virtual templates. After creating a virtual template, the Virtual-Access1 is immediately displayed, changed state to up
  17. PPPOE_SER (config-vpdn-acc-in) # end
  18. * Mar 1 00:06:27. 707: % LINK-3-UPDOWN: Interface Virtual-Access1, changed state to up
  19. * Mar 1 00:06:28. 707: % LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-Access1, changed state to up
 
 
  1. PPPOE_SERVER # conf t
  2. Enter configuration commands, one per line. End with CNTL/Z.
  3. PPPOE_SERVER (config) # int virtual-template 1 // enter virtual template 1
  4. PPPOE_SERVER (config-if) # ip unnumbered e0/0 // do not configure ip addresses for the virtual template. We recommend that you use ip unnumbered to borrow from the physical interface E0/0, pppoe enable is enabled because E0/0 is an outside Interface
  5. PPPOE_SERVER (config-if) # ppp authentication pap // specify the ppp authentication method as pap, the authentication method as PAP, and the session user name and password in the authentication process as plain text. You can use chap
  6. PPPOE_SERVER (config-if) # peer default ip address pool ADSL // The name of the specified address pool is ADSL. You can specify the name at will, but it must be consistent with the following address pool name.
  7. PPPOE_SERVER (config-if) # exit
  8. PPPOE_SERVER (config) # ip local pool ADSL 200.0.0.1 200.0.0.10 // specify the address range of the address pool, which must be consecutive
  9. PPPOE_SERVER (config) # username wangwanli password wangwanli // specify the pppoe server dialing user name and password
  10. PPPOE_SERVER (config) # end

All configurations have been completed on this pppoe server.


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.