PPPoA Configuration
Example
[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 1
Network requirements
As shown in
Figure
9, two hosts dial into ATM network each through an ADSL
Router, and communicate with Router C through DSLAM. The requirements are:
To create VT for multi-user on Router C, and configure PPP map on VT.
■
The VPI/VCI value of two PVCs connecting Route C and 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 interfaces of the two ADSL Router
■
adopt PPPoA. The authentication mode of ADSL Router is PAP. The IP addresses
of the two ADSL Routers are assigned by Router C.
Network diagram
Figure 9 Network diagram for PPPoA configuration
ADSL Router A
Host A
Router A
Router B
Host B
ADSL Router B
Configuration procedure
1 Configure Router C (PPPoA Server)
# Create user for PPP authentication, and establish 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
ATM Configuration Examples
ATM1/0.1
VPI/VCI:
To Router A:0 /60
To Router B:0 /61
VT10
DSLAM
202 .38 .160 .1 /24
VT11
202 .38 .161 .1 /24
143
Router C