F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Configuration Guide-6PW100

134
[Router] interface virtual-template 1
[Router-Virtual-Template1] ppp authentication-mode chap
[Router-Virtual-Template1] ppp chap user user1
[Router-Virtual-Template1] ip address 1.1.1.1 255.0.0.0
[Router-Virtual-Template1] remote address 1.1.1.2
[Router-Virtual-Template1] quit
# Configure the PPPoE server.
[Router] interface gigabitethernet 0/1
[Router-GigabitEthernet0/1] pppoe-server bind virtual-template 1
2. Configure Firewall as the PPPoE client:
<Firewall> system-view
[Firewall] dialer-rule 1 ip permit
[Firewall] interface dialer 1
[Firewall-Dialer1] dialer user user2
[Firewall-Dialer1] dialer-group 1
[Firewall-Dialer1] dialer bundle 1
[Firewall-Dialer1] ip address ppp-negotiate
[Firewall-Dialer1] ppp chap user user2
[Firewall-Dialer1] quit
[Firewall] local-user user1
[Firewall-luser-user1] password simple hello
[Firewall-luser-user1] quit
# Configure the PPPoE session.
[Firewall] interface gigabitethernet 0/1
[Firewall-GigabitEthernet0/1] pppoe-client dial-bundle-number 1
468BConfiguration example for connecting a LAN to the Internet
using an ADSL modem
1182BNetwork requirements
As shown in 2332HFigure 72:
Firewall 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 .
Firewall operates as a PPPoE client, allowing the hosts in the LAN to access the Internet without
PPPoE client software.
Router operates as the PPPoE server. It is connected to the DSLAM through interface ATM 1/0 and
performs RADIUS authentication and accounting.