Detailed description of the configuration commands and PPPoE protocol for ADSL dialing settings

Source: Internet
Author: User

The configuration commands of ADSL dialing settings and PPPoE protocol are described in detail. At the end of the Remote Access topic, we will introduce the configuration methods of ADSL dialing settings that are very popular among individual users and small businesses.

Configuration command:
◆ Config t enter vro Configuration Mode
◆ Vpdn enable VPDN
◆ No vpdn logging because the PPPoE application set for ADSL dialing is implemented through virtual dialing, you need to use the VPDN function in the router.
◆ Vpdn-group pppoe: Start the vpdn process for PPPoE
◆ Request-dialin
◆ Protocol pppoe

Set the dialing protocol to PPPoE
Interface FastEthernet0
◆ Ip address 192.168.0.1 255.255.255.0

Set the company's internal network address
Enable nat translation for ip NAT inside, set port Fa0 to internal network, and convert the source address of data received from internal network to public network address
◆ Interface ATM0 set ADSL interface
◆ No ip address because the IP address is automatically obtained, do not set the ip address.
◆ No atm ilmi-keepalive
◆ Bundle-enable
◆ Dsl operating-mode auto
◆ Hold-queue 224 in
◆ Interface ATM 0.1 point-to-point

Because the communication set by ADSL dialing relies on VC, point-to-point VC must be set.
Pvc 8/35 sets the related parameters of PVC, that is, the value of VCI and VPI. If you are not clear, you can ask the local telecom.
◆ Pppoe-client dial-pool-number 1PPPoE the dialing process uses the General dialing process dial-pool 1
◆ Interface Dialer1: create a virtual dialing Port
◆ Ip address negotiated because the Bureau provides a dynamic address, the address is set here for automatic negotiation, rather than manual settings.
◆ The mtu value of ip mtu 1492 is modified to apply to the ADSL dial-up setting network. The default value is 1500. We need to change it to 1492. Note that packet loss may occur if you do not modify the value.
◆ Enable nat translation for ip NAT outside and set the Internet port to an external network
◆ Encapsulation ppp uses the PPP frame format
◆ Dialer pool 1
◆ Ppp authentication pap callin

Set the dialing verification method to pap instead of chap.
◆ Ppp pap sent vip pass vip sends the user name and password. The ADSL dialing user name is VIP, And the password is also VIP. Enter the actual password here.
◆ Ip nat inside source list 1 interface Dialer1 overload sets the NAT conversion mode and uses the Dynamic Address of port dialer 1
◆ Ip classless non-class IP Address Identification Subnet
◆ Ip route 0.0.0.0 0.0.0 dialer1 Add a default route to forward all unroutable data packets to the ADSL dialing line.
◆ No ip http server
◆ Access-list 1 permit 10.92.1.0 0.0.255
◆ Set the ACL for filtering during NAT Translation
Conclusion: After the configuration is complete, we can enable the PPPOE connection through the vro to set up the ADSL dialing. This convenient, simple, and inexpensive way of surfing the Internet has brought us great help in our work and study.

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.