Got it

Example for Configuring the PPPoE Server on Huawei Router

Latest reply: Jan 17, 2022 12:31:49 137 2 2 0 0

Example for Configuring the PPPoE Server


Networking Requirements

As shown in Figure 4-13, hosts in the LAN are connected to the device functioning as the PPPoE server. Hosts on the enterprise network need to dial up to the Internet using PPPoE.

Each host needs to have the PPPoE client dial-up software installed, and be assigned a unique account for dial-up. Service requirements are as follows:

  • The PPPoE server dynamically assigns IP addresses to the hosts.

  • The PPPoE server uses AAA local authentication to authenticate users.

  • The PPPoE server allocates the DNS server address to the hosts.

Figure 4-13 Networking diagram of the device functioning as the PPPoE server
download?uuid=fc7b5eb1ca074c918c10869fdc753f20

Configuration Roadmap

The configuration roadmap is as follows:
  1. Configure the global IP address pool so that the PPPoE server can dynamically assign IP addresses to hosts.

  2. Configure a PPPoE user so that the PPPoE server can authenticate the user.

  3. Configured the PPPoE server to specify a DNS server address for the hosts.

Procedure

  1. Configure the global IP address pool pool1.


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


  2. Configure a PPPoE user.


    [Router] aaa[Router-aaa] authentication-scheme system_a[Router-aaa-authen-system_a] authentication-mode local[Router-aaa-authen-system_a] quit[Router-aaa] authorization-scheme system_a[Router-aaa-author-system_a] quit[Router-aaa] domain system[Router-aaa-domain-system] authentication-scheme system_a[Router-aaa-domain-system] authorization-scheme system_a[Router-aaa-domain-system] quit[Router-aaa] local-user user1@System passwordPlease 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@system service-type ppp[Router-aaa] quit


  3. Create and configure a VT.


    [Router] interface virtual-template 1[Router-Virtual-Template1] ppp authentication-mode chap domain system[Router-Virtual-Template1] ip address 192.168.10.1 255.255.255.0[Router-Virtual-Template1] remote address pool pool1[Router-Virtual-Template1] ppp ipcp dns 10.10.10.10 10.10.10.11[Router-Virtual-Template1] quit


  4. Enable PPPoE on GE1/0/0 of the PPPoE server.


    [Router] interface gigabitethernet 1/0/0[Router-GigabitEthernet1/0/0] pppoe-server bind virtual-template 1[Router-GigabitEthernet1/0/0] quit[Router] quit


  5. Verify the configuration.

    # After the configurations are complete, verify the configurations on both the PPPoE server and client.


  • PPPoE Client

    Install PPPoE client software on a host and configure the user name user1@system and password huawei2012 on the host. Dial up to the PPPoE server.

  • PPPoE Server

    Run the display pppoe-server session all command to check the PPPoE session status and configuration. The following command output shows that the PPPoE session status is Up and the session configuration is consistent with the data plan and networking.

    <Router> display pppoe-server session allTotal Session: 1                                                                
    SID      Intf                    State   OIntf           RemMAC         LocMAC
    1        Virtual-Template1        UP     GE1/0/0        00e0.fc03.0201 0819.a6cd.0680

Configuration Files

Configuration file of the PPPoE server

#
 sysname Router#
ip pool pool1
 gateway-list 192.168.10.1
 network 192.168.10.0 mask 255.255.255.0
#
aaa
 authentication-scheme system_a
 authorization-scheme system_a
 domain system
  authentication-scheme system_a
  authorization-scheme system_a
 local-user user1@system password cipher %^%#9T`|L}K(4#J3k=+I8SiJrsM:RO[iy@Uuc:LTQJ,1%^%# local-user user1@system privilege level 0 local-user user1@system service-type ppp
#
interface Virtual-Template1
 ppp authentication-mode chap domain system
 remote address pool pool1 ppp keepalive retry-times 2 ppp ipcp dns 10.10.10.10 10.10.10.11 timer hold 30 ip address 192.168.10.1 255.255.255.0
#
interface GigabitEthernet1/0/0
  pppoe-server bind Virtual-Template 1
#
return


Source :::

https://support.huawei.com/enterprise/en/doc/EDOC1100069343/f2f0ee0a/example-for-configuring-the-pppoe-server

Useful share. As always, keep up the good work!
View more
  • x
  • convention:

AL_93
Moderator Created Jan 17, 2022 12:31:49

Good topic. Thank you for the info!
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.