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

WLAN V200R008C10 Typical Configuration Examples

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).
Example for Connecting LAN to the Internet Using the ADSL Modem

Example for Connecting LAN to the Internet Using the ADSL Modem

Networking Requirements

As shown in Figure 5-12, AP connects to ADSL modem using GE0/0/0, and Router connects to the DSLAM using ATM1/0/0.

The private IP addresses of hosts in the LAN are 192.168.10.0/24. Users want hosts in the LAN to access Router using AP and to access the external network. The user name is user1, and the password is huawei123.

Figure 5-12 Networking diagram for connecting a LAN to the Internet using an ADSL modem

Data Planning

Table 5-12 AC 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

The configuration roadmap is as follows:
  1. 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.
  2. Configure Router as the PPPoE server to provide RADIUS authentication and accounting functions.

Procedure

  1. Configure the PPPoE server.

    # Configure the global IP address pool pool1.

    <Huawei> system-view
    [Huawei] sysname Router
    [Router] ip pool pool1
    [Router-ip-pool-pool1] network 10.100.10.0 mask 255.255.255.0
    [Router-ip-pool-pool1] gateway-list 10.100.10.1
    [Router-ip-pool-pool1] quit

    # Configure a PPPoE user.

    [Router] aaa
    [Router-aaa] local-user user1 password
    Please configure the login password (8-128)                                     
    It is recommended that the password consist of at least 2 types of characters, i
    ncluding lowercase letters, uppercase letters, numerals and special characters. 
    Please enter password:                                                          
    Please confirm password:                                                        
    Info: Add a new user.                                                           
    [Router-aaa] local-user user1 service-type ppp
    [Router-aaa] quit
    # Configure RADIUS authentication.
    1. Configure a RADIUS server template.

      [Router] radius-server template shiva
      [Router-radius-shiva] radius-server authentication 172.16.6.66 1812
      [Router-radius-shiva] radius-server accounting 172.16.6.66 1813
      [Router-radius-shiva] radius-server shared-key cipher hello@123
      [Router-radius-shiva] quit
    2. Configure authentication and accounting schemes.

      [Router] aaa
      [Router-aaa] authentication-scheme 1
      [Router-aaa-authen-1] authentication-mode radius
      [Router-aaa-authen-1] quit
      [Router-aaa] accounting-scheme 1
      [Router-aaa-accounting-1] accounting-mode radius
      [Router-aaa-accounting-1] quit
    3. Configure the domain named system and apply authentication scheme 1, accounting scheme 1, and RADIUS server template shiva to the domain.

      [Router-aaa] domain system
      [Router-aaa-domain-system] authentication-scheme 1
      [Router-aaa-domain-system] accounting-scheme 1
      [Router-aaa-domain-system] radius-server shiva
      [Router-aaa-domain-system] quit
      [Router-aaa] quit

    # Create and configure a VT.

    [Router] interface virtual-template 1
    [Router-Virtual-Template1] ppp authentication-mode chap domain system
    [Router-Virtual-Template1] ip address 10.100.10.1 255.255.255.0
    [Router-Virtual-Template1] remote address pool pool1
    [Router-Virtual-Template1] quit

    # Enable the PPPoE server function on the virtual Ethernet interface.

    [Router] interface virtual-ethernet 0/0/1
    [Router-Virtual-Ethernet0/0/1] pppoe-server bind virtual-template 1
    [Router-Virtual-Ethernet0/0/1] quit

    # Configure the ATM interface.

    [Router] interface atm 1/0/0
    [Router-Atm1/0/0] pvc 0/32
    [Router-atm-pvc-Atm1/0/0-0/32] map bridge virtual-ethernet 0/0/1
    [Router-atm-pvc-Atm1/0/0-0/32] quit

  2. Configure the PPPoE client.
    1. Choose Wizard > Config Wizard. The Config Wizard page is displayed.
    2. Click Next.
    3. On the 2.Configure Internet Connection page, configure PPPoE dialup.

      NOTE:

      If you log in to the web platform using a PC whose Ethernet interface is being modified, do not delete the existing VLAN configuration on the interface to ensure that the PC can communicate with Fat APs. As shown in the following figure, GigabitEthernet0/0/0 is added to VLAN 1 by default and STAs communicate with the AP through this interface. You can use the default IP address of the AP to log in to the web platform. If you need to use the default IP address to log in to the web platform, do not delete VLAN 1.



    4. Click Finish.In the dialog box that is displayed, click OK.
  3. 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.

Translation
Download
Updated: 2019-03-30

Document ID: EDOC1000184389

Views: 90137

Downloads: 456

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