No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

AR Router Troubleshooting Guide

This Product Documentation provides guidance for maintaining AR Enterprise Router, covering common information collection and fault diagnostic commands, typical fault troubleshooting guide, and troubleshooting.
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
An AR2240 Cannot Obtain an IP Address Using PPPoE Dial-Up Due to an Incorrect Configuration

An AR2240 Cannot Obtain an IP Address Using PPPoE Dial-Up Due to an Incorrect Configuration

Keywords

PPPoE, dial-up, obtaining IP addresses

Abstract

An AR2240 connects to a carrier's network, but cannot automatically obtain an IP address using PPPoE dial-up.

Problem Description

An AR2240 functions as the egress gateway on an enterprise's intranet, and connects to a carrier's network. The AR2240 connects to the Internet through a PPPoE server. After the configuration is complete, the AR2240 cannot obtain an IP address through PPP negotiation. When a PC directly connects to the carrier network, the PPPoE dial-up succeeds.

The configuration is as follows:

#
dialer-rule
 dialer-rule 1 ip permit 
# 
interface Dialer1
 link-protocol ppp
 ip address ppp-negotiate
 dialer user user2
 ppp chap user user1
 ppp chap password cipher user1
 dialer bundle 1
 dialer queue-length 8
 dialer timer idle 300
 dialer-group 1
# 
interface Ethernet2/0/0
 pppoe-client dial-bundle-number 1 on-demand 
#
 ip route-static 0.0.0.0 0 Dialer1 
#
 return

Procedure

Because the PPPoE dial-up succeeds when a PC directly connects to the carrier network, the fault occurs on the AR2240.

  1. Run the display pppoe-client session summary command. The command output shows that no PPPoE session is established.

    <Huawei> display pppoe-client session summary
    PPPoE Client Session:
    ID   Bundle  Dialer  Intf             Client-MAC    Server-MAC    State

  1. Run the display pppoe-client session packet command. The command output shows that no PPPoE packet statistics exist.

    <Huawei> display pppoe-client session packet
    PPPoE Client Session:                                                
    ID     InP        InO        InD         OutP       OutO       OutD

  1. Run the display this command to check the configuration of the device. The command output shows that the PPPoE dial-up mode is set to on-demand dial-up.

    [Huawei] interface Ethernet2/0/0
    [Huawei-Ethernet2/0/0] display this
    [V200R005C30] 
    #
    interface Ethernet2/0/0
     pppoe-client dial-bundle-number 1 on-demand
    #
    return

  1. The intranet interface Ethernet 1/0/0 of the AR2240 is in Down state and no packet is transmitted through the interface.

    <Huawei> display interface Ethernet 1/0/0
    Ethernet1/0/0 current state : DOWN                                   
    Line protocol current state : DOWN

    The configuration is incorrect. If the dial-up interface is configured to work in on-demand dial-up mode, the device initiates a PPPoE call and sets up a PPPoE session only when it needs to transmit data. However, the intranet interface on the device is Down. No data can be transmitted through this interface and no PPPoE call will be triggered to set up a PPPoE session.

  1. Change the PPPoE dial-up mode to permanently online. This configuration ensures that the device initiates a PPPoE call and sets up a PPPoE session immediately after the interface connected to the carrier network is Up. After the configuration is changed, the AR2240 can successfully dial up to the Internet.

    [Huawei] interface Ethernet2/0/0 
    [Huawei-Ethernet2/0/0] pppoe-client dial-bundle-number 1

Translation
Download
Updated: 2019-05-10

Document ID: EDOC1000079719

Views: 444565

Downloads: 4297

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next