R0106-HP MSR Router Series Layer 2 - WAN Configuration Guide(V7)

130
Figure 42 Network diagram
Configuration procedure
1. Configure Router C (PPPoA server):
# Create VT interfaces and configure IP addresses for them. Assign IP addresses to the remote
ends.
<RouterC> system-view
[RouterC] interface virtual-template 10
[RouterC-Virtual-Template10] ip address 202.38.160.1 255.255.255.0
[RouterC-Virtual-Template10] remote address 202.38.162.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] remote address 202.38.162.2
[RouterC-Virtual-Template11] quit
# Create PVCs, and enable them to carry PPP.
[RouterC] interface atm 2/4/0.1
[RouterC-ATM2/4/0.1] pvc to_adsl_a 0/60
[RouterC-ATM2/4/0.1-pvc-to_adsl_a-0/60] map ppp virtual-template 10
[RouterC-ATM2/4/0.1-pvc-to_adsl_a-0/60] quit
[RouterC-ATM2/4/0.1] pvc to_adsl_b 0/61
[RouterC-ATM2/4/0.1-pvc-to_adsl_b-0/61] map ppp virtual-template 11
2. Configure ADSL Router A (PPPoA client):
# Create a VT interface, and enable IP address negotiation.
<RouterA> system-view
[RouterA] interface virtual-template 0
[RouterA-Virtual-Template0] ip address ppp-negotiate
[RouterA-Virtual-Template0] quit
# Create a PVC, and enable it to carry PPP.
[RouterA] interface atm 2/4/0
[RouterA-ATM2/4/0] pvc pppoa 0/60
[RouterA-ATM2/4/0-pvc-pppoa-0/60] map ppp virtual-template 0
[RouterA-ATM2/4/0-pvc-pppoa-0/60] quit
[RouterA-ATM2/4/0] quit
3. Configure ADSL Router B in the same way ADSL Router A is configured.
Router C
ADSL Router B
ADSL Router A
DSLAM
VT10
202.38.160.1/24
VT11
202.38.161.1/24
ATM2/4/0.1
VPI/VCI:
To Router A:0/60
To Router B:0/61
Host A
Host B