Skip to content

Checking your reading list…

Retry

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

Operations
1 min read

Configuring PPPoE Server and Client on Huawei Devices

This guide walks through creating an address pool, setting up AAA authentication, defining a virtual template, enabling PPPoE on an interface, and configuring a PPPoE client with dialer rules and credentials on Huawei equipment.

First, create an address pool for client IP allocation:

ip pool pool1
network 10.1.1.0 mask 255.255.255.0 gateway-list 10.1.1.1

Next, configure AAA authentication and a local user for PPP authentication:

authentication-scheme lixin domain huawei
authentication-scheme lixin
local-user test@huawei password cipher test local-user test@huawei service-type ppp

Define a virtual template that will be bound to the PPPoE server:

interface Virtual-Template1
ppp authentication-mode chap domain huawei remote address pool pool1
ip address 10.1.1.1 255.255.255.0

Enable the PPPoE server on the physical interface:

interface g0/0/0
pppoe-server bind Virtual-Template 1

On the client side, create a dialer rule to trigger PPP when IP traffic is detected:

dialer-rule
dialer-rule 1 ip permit

Configure the dialer interface with PPP settings and user credentials:

interface Dialer0
link-protocol ppp
ppp chap user test@huawei
ppp chap password simple test
mtu 1492
ip address ppp-negotiate
dialer user test@huawei
dialer bundle 1

Bind the dialer bundle to the physical interface and start the PPPoE client:

interface g0/0/0
pppoe-client dial-bundle-number 1 #
return

For attribution, corrections or content rights, contactadmin@besthub.dev

Report an issue with this article

Discussion 0

Questions, practical examples and thoughtful responses.

Open full discussion