Pppoe Server Ip Address Assignment Through The Local Dhcp Server Configuration Example - HPE FlexNetwork MSR series Configuration Manual

Comware 7 layer 2 - wan access
Table of Contents

Advertisement

[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 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
host.
Figure 13 Network diagram
Host
Configuration procedure
# Configure 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
[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
[Router-dhcp-pool-pool1] quit
# Create a PPPoE user.
[Router] local-user user1 class network
[Router-luser-network-user1] password simple pass1
[Router-luser-network-user1] service-type ppp
[Router-luser-network-user1] quit
Verifying the configuration
# Log in to the router by using username user1 and password pass1.
Figure
13, configure the PPPoE server as a DHCP server to assign an IP address to the
PPPoE Server
GE1/0/1
Router
Internet
55

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents