400
C
20: PPP
E C
HAPTER
O
Connecting a LAN to the
Internet via ADSL
Modem
ONFIGURATION
[RouterA-Virtual-Template1] ip address 1.1.1.1 255.0.0.0
[RouterA-Virtual-Template1] remote address 1.1.1.2
[RouterA-Virtual-Template1] quit
# Configure PPPoE server.
[RouterA] interface ethernet 1/0
[RouterA-Ethernet1/0] pppoe-server bind virtual-template 1
b Configure Router B as PPPoE client
<RouterB> system-view
[RouterB] dialer-rule 1 ip permit
[RouterB] interface dialer 1
[RouterB-Dialer1] dialer user user2
[RouterB-Dialer1] dialer-group 1
[RouterB-Dialer1] dialer bundle 1
[RouterB-Dialer1] ip address ppp-negotiate
[RouterB-Dialer1] ppp chap user user2
[RouterB-Dialer1] quit
[RouterB] local-user user1
[RouterB-luser-user1] password simple hello
[RouterB-luser-user1] quit
# Configure a PPPoE session.
[RouterB] interface ethernet 1/0
[RouterB-Ethernet1/0] pppoe-client dial-bundle-number 1
Network requirements
PCs in a LAN access the Internet through Router A, which is connected in
■
permanent on-line mode to the DSLAM through an ADSL modem.
The username and password of the ADSL account are user1 and 123456
■
respectively.
Enable the PPPoE client function on Router A, allowing the hosts on the LAN to
■
access the Internet without PPPoE client software.
Router B is operating as PPPoE server. It is connected to the DSLAM through
■
interface atm 2/0, providing RADIUS authentication and accounting.
Need help?
Do you have a question about the MSR 50 Series and is the answer not in the manual?
Questions and answers