Operations 3 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.

Practical DevOps Architecture
Practical DevOps Architecture
Practical DevOps Architecture
Configuring PPPoE Server and Client on Huawei Devices

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
network configurationHuaweiPPPoEAAAdialervirtual template
Practical DevOps Architecture
Written by

Practical DevOps Architecture

Hands‑on DevOps operations using Docker, K8s, Jenkins, and Ansible—empowering ops professionals to grow together through sharing, discussion, knowledge consolidation, and continuous improvement.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.