We have explained the PPPoE settings in the previous article. Here we will focus on the configuration of ADSL PPPoA. There are a total of five steps. I believe you can have a detailed understanding of this process after reading the article. ADSL PPPoA configuration environment: LAN ----- (e0) rom0 (atm0) ----- ISP communication line, which must be configured with an ADSL card.
ADSL PPPoA configuration 1. Configure the ATM interface
- The Router (config) # interface atm 0/0
- Router (config) # no ip address
- Router (config) # dsl operating-mode auto
- Router (config-if) # pvc 8/35 specifies the vpi/vci value. You can ask ISP)
- Router (config-if-atm-vc) # encapsulation aal5mux ppp dialer sets encapsulation for PPPoA and encapsulates it as adaptation layer 5AAL5) in mux mode)
- Router (config-if-atm-vc) # bind dialer pool-number 1 to dialer profile)
- Note: dsl operating-mode auto is enabled on the ATM interface by default. The signal modulation mode can be automatically negotiated.
ADSL PPPoA configuration 2. Define the Dialer Port
- Router (config) # interface dialer0
- Router (config) # ip address negotiated uses IPCP to negotiate with the router of the ISP to obtain the network address)
- Router (config) # ip nat outside PAT configuration section, which is detailed in section 4)
- Router (config) # encapsulation ppp
- Router (config) # dialer pool 1
- Router (config) # ip mtu 1492
- Router (config) # ppp chap hostname cisco
- Router (config) # ppp chap password cisco
ADSL PPPoA configuration 3. Define PAT
- Router(config)#interface ethernet0
- Router(config-if)#ip address 10.0.0.1 255.0.0.0
- Router(config-if)#ip nat inside
- Router(config-if)#exit
- Router(config)#interface dialer0
- Router(config-if)#ip nat outside
- Router(config-if)#exit
- Router(config)#ip nat inside source list 101 interface dialer0 overload
- Router(config)#access-list 101 permit ip 10.0.0.0 0.255.255.255 any
ADSL PPPoA configuration 4. Define the DHCP server and assign an internal IP address
- Router (config) # ip dhcp pool subteam
- Router (config-pool) # import all the DNS and WIN addresses obtained through IPCP negotiation to the DHCP database for publishing to the Client)
- Router (config-pool) # network 10.0.0.0 255.0.0.0
- Router (config-pool) # default-router 10.0.0.1 gateway address, that is, the internal Ethernet port address of the Router)
ADSL PPPoA configuration 5. Define static routes
- Router(config)#ip route 0.0.0.0 0.0.0.0 dialer0