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