Example: Assigning The Pppoe Server Ip Address Through The Local Dhcp Server - H3C SR8800-F Configuration Manual

Comware 7 user access
Hide thumbs Also See for SR8800-F:
Table of Contents

Advertisement

Procedure
# Create a PPPoE user.
<Router> system-view
[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
# Configure Virtual-Template 1 to use CHAP for authentication and use a PPP address pool for IP
address assignment. Set the DNS server IP address for the peer.
[Router] interface virtual-template 1
[Router-Virtual-Template1] ppp authentication-mode chap domain system
[Router-Virtual-Template1] ppp chap user user1
[Router-Virtual-Template1] remote address pool 1
[Router-Virtual-Template1] ppp ipcp dns 8.8.8.8
[Router-Virtual-Template1] quit
# Configure a PPP address pool that contains nine assignable IP addresses, and configure a
gateway address for the PPP address pool.
[Router] ip pool 1 1.1.1.2 1.1.1.10
[Router] ip pool 1 gateway 1.1.1.1
# Enable the PPPoE server on GigabitEthernet 3/1/1, and bind the interface to Virtual-Template 1.
[Router] interface gigabitethernet 3/1/1
[Router-GigabitEthernet3/1/1] pppoe-server bind virtual-template 1
[Router-GigabitEthernet3/1/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.)
Example: Assigning the PPPoE server IP address through
the local DHCP server
Network configuration
As shown in
host.
Figure 89 Network diagram
Figure
89, configure the PPPoE server as a DHCP server to assign an IP address to the
284

Advertisement

Table of Contents
loading

Table of Contents