R3303-HP HSR6800 Routers Layer 2 - WAN Configuration Guide

23
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 8 Network diagram
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] 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-Template10] remote address pool 1
[RouterC-Virtual-Template11] quit