Forgot password?
 Register now

Welcome to use this form to feedback your problems with Ruijie Community

The category of your feedback

Your Feedback

Your Email address (optional):

Official
Can Ruijie EG support PPPoE server? Reply

admin

Level 4

Can Ruijie EG support PPPoE server?
1281 0 2022-6-14 10:17:11
Original
Requirements

The EG device is egress and the PPPoE server Local-Account function is enabled on it. Down link terminals and devices access the Internet through PPPoE dial-up access authentication.

Topology




Configuration Points

(1) Enable PPPoE Server function on Ruijie EG

(2) Configure PPPoE account


Configuration Steps

1. PPPoE Server configuration:

# Enable PPPoE Server function

Ruijie(config)#pppoe-server enable


# Configure PPPoE Server dialup group

Ruijie(config)#bba-group pppoe pppoe-server0

Ruijie(config-bba-group)#virtual-template 50

Ruijie(config-bba-group)#exit


# Configure AAA authentication method as subslocal authentication

Ruijie(config)#aaa new-model

Ruijie(config)#aaa authentication ppp defaultsubs


# Clear the previous address pool and interface configurations

Ruijie(config)#no ip local pool pppoe-server0

Ruijie(config)#default interface Loopback2147483100


# Configure PPPoE Server address pool (IPaddress range)

Ruijie(config)#ip local pool pppoe-server0192.168.100.1 192.168.100.254


# Set the IP address and mask of the PPPoEServer, can't be same with other DHCP pool IP addresses.

Ruijie(config)#interface Loopback 2147483100

Ruijie(config-if-Loopback 2147483100)#ipaddress 192.168.100.1 255.255.255.255

Ruijie(config-if-Loopback 2147483100)#exit


# Configure a PPPoE Server template, associatean address pool with a Loopback interface, configure DNS, and the defaultauthentication method

Ruijie(config)#interface Virtual-Template 50

Ruijie(config-if-Virtual-Template 50)#ipunnumbered Loopback 2147483100

Ruijie(config-if-Virtual-Template 50)#peerdefault ip address pool pppoe-server0

Ruijie(config-if-Virtual-Template 50)#ppp ipcpdns 8.8.8.8

Ruijie(config-if-Virtual-Template 50)#pppauthentication chap pap ms-chap ms-chap-v2

Ruijie(config-if-Virtual-Template 50)#ip natinside

Ruijie(config-if-Virtual-Template 50)#exit


# Specify the internal network interface toenable PPPoE Server (associated with PPPoE Server dial-up group)

Ruijie(config)#interface Gi0/2

Ruijie(config-if-GigabitEthernet0/0)#pppoe-server enable group pppoe-server0

Ruijie(config-if-GigabitEthernet 0/0)#exit


#Configure account notification function, thisfunction is used to early notification of account expiry. It is turned off bydefault and can be turned on manually if necessary.

Ruijie(config)#local-account notice enable

Ruijie(config)#local-account notice date-rule48 60  //Announcement starts 48 hoursbefore account expiration, The interval between each announcement is 60minutes.

Notice: Use the following command todisable  account notification function.

Ruijie(config)#default local-account noticeenable

Ruijie(config)#default local-account noticedate-rule


2. PPPoE account configuration:

# Configure the account and password by subsauthentication

Ruijie(config)#subscriber static name testparent /PPPoE_Server_Group  password test

Notice: An account can only be used by oneclient. If two clients use the same account, the second client cannot goonline.


#Configure Account Billing Policy

Ruijie(config)#local-account  user test

Ruijie(local-account-user)#policy date 2022 125 //The account will expire after 2022/12/5 and cannot go online.

Ruijie(local-account-user)#mac auto  //Enable the automatic mac binding, theclient's MAC address will be automatically bound when the account goes online.

Ruijie(local-account-user)#exit


#Delete the PPPoE account

Ruijie(config)#no subscriber static name test

Ruijie(config)#no local-account user test


3. Verification

1.      
Using 'show pppoe-serverconfig web'  to PPPoE Server setting



2.      
Using 'show run | in pool' tocheck PPPoE IP addresses pool setting



3.      
Using 'show local-accountconfig' to check account notification function setting



4.      
Check the account setting



5.      
Check special account setting




RG-EG210G-E

Router
There are no replies.
Releated Posts
Product Model

Share this topic to

Cancel

This site contains user submitted content, comments and opinions and is for informational purposes only. Ruijie may provide or recommend responses as a possible solution based on the information provided; every potential issue may involve several factors not detailed in the conversations captured in an electronic forum and Ruijie can therefore provide no guarantee as to the efficacy of any proposed solutions on the community forums. Ruijie disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Ruijie Community Terms of Use.

More ways to get help: Visit Support Videos, call us via Service Hotline, Facebook or Live Chat.

©2000-2023 Ruijie Networks Co,Ltd