Configuration example for connecting a LAN to the Internet
using an ADSL modem
Network requirements
As shown in
•
Router A provides Internet access for Host A, Host B, and Host C. It connects to DSLAM
through an ADSL modem and a permanent PPPoE session.
•
The username and password of the ADSL account are user1 and 123456.
•
Router A operates as a PPPoE client, allowing the hosts in the LAN to access the Internet
without PPPoE client software.
•
Router B operates as the PPPoE server. It is connected to the DSLAM through interface ATM
1/0 and performs RADIUS authentication and accounting.
Figure 14 Network diagram
Configuration procedure
Configure Router A as a PPPoE client:
1.
# Configure a dialer interface.
<RouterA> system-view
[RouterA] dialer-rule 1 ip permit
[RouterA] interface dialer 1
[RouterA-Dialer1] dialer-group 1
[RouterA-Dialer1] dialer bundle 1
[RouterA-Dialer1] ip address ppp-negotiate
[RouterA-Dialer1] ppp pap local-user user1 password cipher 123456
[RouterA-Dialer1] quit
# Configure a PPPoE session.
[RouterA] interface ethernet 1/1
[RouterA-Ethernet1/1] pppoe-client dial-bundle-number 1
[RouterA-Ethernet1/1] quit
# Configure an Internet interface for the LAN and configure the default route.
[RouterA] interface ethernet 1/2
Figure
14:
54
Need help?
Do you have a question about the FlexNetwork MSR Series and is the answer not in the manual?