PPPoEoA server configuration example
Network requirements
As shown in Figure 70, each host inside Ethernet dials into ATM network through an ADSL router, and communicates with the router through DSLAM.
The IP addresses of the VT interface of Router C are 202.38.160.1 and 202.38.161.1.
The VPI/VCI addresses of two PVCs connecting Router C with DSLAM are 0/60 and 0/61, pointing to ADSL Router A and ADSL Router B, respectively.
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 an IP address from the router.
Figure 70: Network diagram
![](images/image66.png)
Configuration procedure
Configure Router C:
# 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.