Pppoe Server Ip Address Assignment Through A Remote Dhcp Server Configuration Example - HPE FlexNetwork MSR series Configuration Manual

Comware 7 layer 2 - wan access
Table of Contents

Advertisement

# Display information about IP addresses assigned by the DHCP server.
[Router] display dhcp server ip-in-use
IP address
1.1.1.2
The output shows that the router has assigned an IP address to the host.
PPPoE server IP address assignment through a remote
DHCP server configuration example
Network requirements
As shown in
from the DHCP server to the host.
Figure 14 Network diagram
GE1/0/1
Host
Configuration procedure
1.
Configure Router A as the PPPoE server:
# Configure Virtual-Template 10 to use PAP for authentication and use a DHCP address pool
for IP address assignment.
<RouterA> system-view
[RouterA] interface virtual-template 10
[RouterA-Virtual-Template10] ppp authentication-mode pap
[RouterA-Virtual-Template10] remote address pool pool1
[RouterA-Virtual-Template10] quit
# Enable the PPPoE server on GigabitEthernet 1/0/1, and bind the interface to Virtual-Template
10.
[RouterA] interface gigabitethernet 1/0/1
[RouterA-GigabitEthernet1/0/1] pppoe-server bind virtual-template 10
[RouterA-GigabitEthernet1/0/1] quit
# Enable DHCP.
[RouterA] dhcp enable
# Enable recording of relay entries on the relay agent.
[RouterA] dhcp relay client-information record
# Create DHCP relay address pool pool1.
[RouterA] dhcp server ip-pool pool1
# Specify a gateway address for the clients in pool1.
[RouterA-dhcp-pool-pool1] gateway-list 2.2.2.2 export-route
# Specify a DHCP server for pool1.
[RouterA-dhcp-pool-pool1] remote-server 10.1.1.1
[RouterA-dhcp-pool-pool1] quit
Client identifier/
Hardware address
3030-3030-2e30-3030-
662e-3030-3033-2d45-
7468-6572-6e65-74
Figure
14, configure the PPPoE server as a DHCP relay agent to relay an IP address
PPPoE Server
GE1/0/2
Router A
Lease expiration
Unlimited
DHCP Server
GE1/0/1
Router B
56
Type
Auto(C)
Internet

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FlexNetwork MSR series and is the answer not in the manual?

Table of Contents