209
[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 ppp virtual-template 10
[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 ppp virtual-template 11
2. Configure ADSL Router A (PPPoA Client):
# Create a VT interface, and configure PAP authentication and IP address negotiation.
<RouterA> system-view
[RouterA] interface virtual-template 0
[RouterA-Virtual-Template0] ppp pap local-user user1 password simple pwd1
[RouterA-Virtual-Template0] ip address ppp-negotiate
[RouterA-Virtual-Template0] quit
# Create a PVC, and specify it to run PPP.
[RouterA] interface atm 1/0
[RouterA-Atm1/0] pvc pppoa 0/37
[RouterA-atm-pvc-Atm1/0-0/37-pppoa] map ppp virtual-template 0
Configure ADSL Router B in the same way Router A is configured.
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
Configuration procedure
Configure Router C:
Ethernet
Router A
Router C
Router B
ADSL Router
ADSL Router
DSLAM
VT10
202.38.160.1/24
VT11
202.38.161.1/24
ATM1/0.1
VPI/VCI:
To Router A:0/60
To Router B:0/61
Host A
Host C
Host B
Host D
Ethernet