Both the WAN port of router C and the DSL interface of ADSL Router adopt
PPPoEoA. Each host within the two Ethernets uses pre-installed PPPoE Client
program to make interactive PAP authentication with routers, and obtains IP
address from the router.
Network diagram
Figure 10 Network diagram for PPPoEoA server configuration
ADSL Router
Host A
Router A
Host B
Router B
Host C
ADSL Router
Host D
Configuration procedure
Configure Router C:
# Configure the users in the domain to use PPP authentication scheme, and create
local IP address pool.
<RouterC> system-view
[RouterC] local-user user1
[RouterC-luser-user1] service-type ppp
[RouterC-luser-user1] password simple pwd1
[RouterC-luser-user1] quit
[RouterC] local-user user2
[RouterC-luser-user2] service-type ppp
[RouterC-luser-user2] password simple pwd2
[RouterC-luser-user2] quit
[RouterC]domain system
[RouterC-isp-system] authentication ppp local
[RouterC-isp-system] ip pool 1 202.38.162.1 202.38.162.100
[RouterC-isp-system] quit
# Create the VT interface to encapsulate PPP protocol and configure PAP
authentication parameters.
[RouterC] interface virtual-template 10
[RouterC-Virtual-Template10] ip address 202.38.160.1 255.255.255.0
[RouterC-Virtual-Template10] ppp authentication-mode pap
[RouterC-Virtual-Template10] quit
[RouterC] interface virtual-template 11
[RouterC-Virtual-Template11] ip address 202.38.161.1 255.255.255.0
[RouterC-Virtual-Template11] ppp authentication-mode pap
[RouterC-Virtual-Template11] quit
ATM Configuration Examples
ATM1/0.1
VPI/VCI:
To Router A:0/60
To Router B:0/61
VT10
DSLAM
202 .38 .160 .1/24
VT11
202 .38 .161 .1/24
145
Router C