# Enable the PPPoE server on GigabitEthernet 1/0/1, and bind the interface to Virtual-Template 1.
[Router] interface gigabitethernet 1/0/1
[Router-GigabitEthernet1/0/1] pppoe-server bind virtual-template 1
[Router-GigabitEthernet1/0/1] quit
# Configure local authentication for the default ISP domain system.
[Router] domain system
[Router-isp-system] authentication ppp local
[Router-isp-system] quit
Verifying the configuration
# Verify that Host A and Host B can access the Internet by using the username user1 and password pass1.
(Details not shown.)
PPPoE server IP address assignment through the local DHCP
server configuration example
Network requirements
As shown in
Figure 13 Network diagram
Configuration procedure
# Configure interface Virtual-Template 10 to use PAP for authentication and use a DHCP address pool for
IP address assignment.
<Router> system-view
[Router] interface virtual-template 10
[Router-Virtual-Template10] ppp authentication-mode pap
[Router-Virtual-Template10] remote address pool pool1
# Specify an IP address for Virtual-Template 10.
[Router-Virtual-Template10] ip address 1.1.1.1 24
[Router-Virtual-Template10] quit
# Enable the PPPoE server on GigabitEthernet 1/0/1, and bind the interface to Virtual-Template 10.
[Router] interface gigabitethernet 1/0/1
[Router-GigabitEthernet1/0/1] pppoe-server bind virtual-template 10
[Router-GigabitEthernet1/0/1] quit
# Enable DHCP.
[Router] dhcp enable
# Configure DHCP address pool pool1.
[Router] dhcp server ip-pool pool1
[Router-dhcp-pool-pool1] network 1.1.1.0 24
Figure
13, configure the PPPoE server as a DHCP server to assign an IP address to the host.
56
Need help?
Do you have a question about the MSR Router Series and is the answer not in the manual?
Questions and answers