R3102-R3103-HP 6600/HSR6600 Routers Layer 2 - WAN Configuration Guide

23
[RouterC-isp-system] quit
# Create a VT interface, configure PAP authentication and an IP address, and allocate an IP
address for the remote end from the IP address pool.
[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] remote address pool 1
[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] remote address pool 1
[RouterC-Virtual-Template11] quit
# Create a PVC, and specify it to carry PPP.
[RouterC] interface atm 1/0/1.1
[RouterC-Atm1/0/1.1] pvc to_adsl_a 0/60
[RouterC-atm-pvc-Atm1/0/1.1-0/60-to_adsl_a] map ppp virtual-template 10
[RouterC-atm-pvc-Atm1/0/1.1-0/60-to_adsl_a] quit
[RouterC-Atm1/0/1.1] pvc to_adsl_b 0/61
[RouterC-atm-pvc-Atm1/0/1.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/1
[RouterA-Atm1/0/1] pvc pppoa 0/37
[RouterA-atm-pvc-Atm1/0/1-0/37-pppoa] map ppp virtual-template 0
The configuration of ADSL Router B is similar to that of Router A.
PPPoEoA server configuration example
Network requirements
As shown in Figure 8, 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.