210
# Configure the users in the domain to use the PPP authentication scheme, and create a 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 the 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
# Create the VE interface to encapsulate the PPP protocol.
[RouterC] interface virtual-ethernet 1
[RouterC-Virtual-Ethernet1] pppoe-server bind virtual-template 10
[RouterC-Virtual-Ethernet1] quit
[RouterC] interface virtual-ethernet 2
[RouterC-Virtual-Ethernet2] pppoe-server bind virtual-template 11
[RouterC-Virtual-Ethernet2] quit
# Establish a PVC and specify it to carry PPPoE.
[RouterC] interface atm 1/0.1
[RouterC-Atm1/0.1] pvc to_adsl_a 0/60
[RouterC-atm-pvc-Atm1/0.1-0/60-to_adsl_a] map bridge virtual-ethernet 1
[RouterC-atm-pvc-Atm1/0.1-0/60-to_adsl_a] quit
[RouterC-Atm1/0.1] pvc to_adsl_b 0/61
[RouterC-atm-pvc-Atm1/0.1-0/61-to_adsl_b] map bridge virtual-ethernet 2
For more information about configuring a RADIUS scheme, see HPE FlexNetwork MSR Router
Series Comware 5 Security Configuration Guide.
PPPoEoA client configuration example
Network requirements
As shown in Figure 71, the Ethernet interface IP address of Router A serves as the gateway of all PCs
in LAN. Router A is directly connected to the ADSL accessing end of public network through the
ADSL card to serve as the client of PPPoEoA (ATM1/0 is the port number of the ADSL card). The