# Specify an IP address for GigabitEthernet 1/0/2.
[RouterA] interface gigabitethernet 1/0/2
[RouterA-GigabitEthernet1/0/2] ip address 10.1.1.2 24
[RouterA-GigabitEthernet1/0/2] quit
# Create a PPPoE user.
[RouterA] local-user user1 class network
[RouterA-luser-network-user1] password simple pass1
[RouterA-luser-network-user1] service-type ppp
[RouterA-luser-network-user1] quit
2.
Configure Router B as a DHCP server:
# Enable DHCP.
<RouterB> system-view
[RouterB] dhcp enable
# Create DHCP address pool pool1, and specify a primary subnet and a gateway address for
DHCP clients.
[RouterB] dhcp server ip-pool pool1
[RouterB-dhcp-pool-pool1] network 2.2.2.0 24
[RouterB-dhcp-pool-pool1] gateway-list 2.2.2.1
[RouterB-dhcp-pool-pool1] quit
# Specify an IP address for GigabitEthernet 1/0/1.
[RouterB] interface gigabitethernet 1/0/1
[RouterB-GigabitEthernet1/0/1] ip address 10.1.1.1 24
[RouterB-GigabitEthernet1/0/1] quit
# Configure a static route to the PPPoE server.
[RouterB] ip route-static 2.2.2.0 24 10.1.1.2
Verifying the configuration
# Log in to Router A by using username user1 and password pass1.
# Display relay entries on the DHCP relay agent on Router A.
[RouterA] display dhcp relay client-information
Total number of client-information items: 1
Total number of dynamic items: 1
Total number of temporary items: 0
IP address
2.2.2.3
# Display information about the assigned IP addresses on Router B.
[RouterB] display dhcp server ip-in-use
IP address
2.2.2.3
The output shows that Router B has assigned an IP address to the host.
PPPoE server RADIUS-based IP address assignment
configuration example
Network requirements
As shown in
MAC address
00e0-0000-0001
Client identifier/
Hardware address
00e0-0000-0001
Figure
15, configure the PPPoE server to meet the following requirements:
Type
Interface
Dynamic
VA1
Lease expiration
Unlimited
57
VPN name
N/A
Type
Auto(C)
Need help?
Do you have a question about the FlexNetwork MSR series and is the answer not in the manual?