Analysis of A PPPoA configuration case

Source: Internet
Author: User

In the previous article, we introduced the PPPoE configuration content. Of course, we are targeting the same network topology. How can we configure PPPoA in the same environment? Let's take a systematic look at the configuration process. For your reference.

PPPoA configuration Step 1: Configure vpdn

Vpdn enable (vpdn)

Vpdn-group office (create a vpdn group ,)

Request-dialin (initialize a vpnd tunnel and create a vpdn sub-group to which the request is dial ,)

Protocol pppoe (vpdn sub-group uses pppoe to establish a session tunnel)

Step 2 of PPPoA configuration: configure the interface for connecting the router to the adsl modem

Interface ATM0

No ip address

No atm ilmi-keepalive

Bundle-enable

Dsl operating-mode auto

Hold-queue 224 in

Interface ATM 0.1 point-to-point (ADSL communication relies on VC, so point-to-point VC must be set)

Pvc 1/1 (SET related PVC parameters, that is, VCI and VPI values)

Pppoe-client dial-pool-number 1

Step 3 of PPPoA configuration: configure the logical dialing interface:

Interface Dialer1

Ip address negotiated

Ip mtu 1492 (modify mtu value to apply to ADSL Network)

Ip nat outside

Encapsulation ppp

Dialer pool 1

Ppp authentication chap callin

Ppp chap hostname

Ppp chap password

Step 4 of PPPoA configuration: Configure internal network interfaces

Interface Ethernet0 (internal network interface)

Ip address 10.1.1.1 255.255.255.0

Ip nat inside enables NAT for this interface

Step 5 of PPPoA configuration: configure the router to provide dhcp services for internal network hosts

Ip dhcp excluded-address 10.1.1.1

Ip dhcp pool ABC

Import all (import dns and wins server)

Network 10.1.1.0 255.255.255.0

Default-router 10.1.1.1

Step 6 of PPPoA configuration: Configure NAT:

Access-list 1 permit 10.1.1.0 0.0.255

Ip nat inside source list 1 interface Dialer1 overload

Step 7 of PPPoA configuration: configure the default route

Ip route 0.0.0.0 0.0.0.0 Dialer1

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.