Configuring PPPoE, NAT, and DHCP on Huawei AR2220 Router (WAN‑Only Model)
This guide details how to configure a Huawei AR2220 router with a single WAN port to enable PPPoE dial‑up, set up default routing, NAT, and DHCP services so that internal LAN users can access the Internet using the specified credentials.
Applicable Model: Huawei AR2220 (WAN‑only device).
Business Requirement: ISP provides PPPoE credentials (user1 / huawei123) and internal users must access the external network.
Network Topology: GE1 connects to the ISP (WAN), GE2 connects to the LAN (IP 192.168.1.1/24). LAN hosts obtain IPs via DHCP.
WAN Side Configuration
1. Create a PPPoE dialer interface and enable CHAP/PAP authentication.
system-viewinterface dialer 1dialer user abcdialer bundle 1dialer number 1 autodialppp chap user user1ppp chap password cipher huawei123ppp pap local-user user1 password cipher huawei123tcp adjust-mss 1200ip address ppp-negotiateppp ipcp dns admit-anyquit2. Bind the dialer to the WAN interface (GE1) and start the PPPoE client.
interface gigabitethernet 0/0/1pppoe-client dial-bundle-number 1quit3. Add a default static route via the dialer. ip route-static 0.0.0.0 0.0.0.0 dialer 1 4. Configure NAT to translate LAN traffic to the WAN.
acl number 3000rule permit ipquitinterface dialer 1nat outbound 3000quitLAN Side Configuration
Enable DHCP globally and configure the LAN interface (GE2) with IP address and subnet mask.
dhcp enableinterface gigabitethernet 0/0/2ip address 192.168.1.1 255.255.255.0dhcp select interfacedhcp server dns-list 114.114.114.114returnAfter completing these steps, internal users will obtain IP addresses via DHCP and be able to access the Internet through the configured PPPoE connection.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
