Example for Configuring the Device as a PPPoE Client
Networking Requirements
As shown in Figure 5-11, the device functioning as the PPPoE client connects to the PPPoE server using GE0/0/0.
Users want the hosts to share an account. If the account is authenticated successfully on the PPPoE server, a PPPoE session is established. Service requirements are as follows:
The device establishes a PPPoE session with the PPPoE server using PPP authentication.
- The device automatically attempts to create a dial-up connection again at intervals after the disconnection.
Data Planning
Item |
Data |
---|---|
Uplink port |
GE0/0/0 |
IP address allocation mode |
PPPoE dialup |
User name/Password |
user1@system/huawei123 |
VLAN to which the PPPoE session is bound. |
VLAN 100 |
NAT |
Enabled |
Configuration Roadmap
- Configure the PPPoE server.
- Configure the PPPoE client. Use the configuration wizard to configure the PPPoE dialup function and enable NAT to translate private IP addresses to public IP addresses.
You are advised to log in to the Fat AP in wireless mode for service configuration. You can also log in to the Fat AP by directly connecting a PC to the Fat AP using network cables and then connect the Fat AP to the upstream device after services are configured and saved.
Procedure
- Configure the PPPoE server.
# Configure the authentication mode, IP address allocation mode, and IP address or IP address pool for PPPoE clients. For details about the configuration procedure, see the documentation of the PPPoE server.
- Configure the PPPoE client.
- Verify the configuration.
After the configuration is complete, a PPPoE dialup interface is automatically generated, through which hosts on the LAN can connect to the Internet using dialup. When wireless users attempt to connect to the public network, private IP addresses are translated into public IP addresses for communication.