[Router-dhcp6-pool-pool1] quit
# Configure a PPPoE user.
[RouterB] local-user user1 class network
[RouterB-luser-network-user1] password simple pass1
[RouterB-luser-network-user1] service-type ppp
[RouterB-luser-network-user1] quit
# Configure an IPv6 pool attribute authorized to the user in the ISP domain.
[RouterB] domain system
[RouterB-isp-system] authorization-attribute ipv6-pool pool1
Verifying the configuration
# Verify that Router B has assigned a prefix to Router A.
[RouterB] display ipv6 dhcp server pd-in-use
Pool: 1
IPv6 prefix
4001::1/42
Then, Router A can assign the prefix 4001::1/42 to the host who uses the prefix to generate an IPv6
global unicast address.
Example: Configuring PPPoE server RADIUS-based IP
address assignment
Network configuration
As shown in
•
The PPPoE server uses the RADIUS server to perform authentication, authorization, and
accounting for access users
•
The RADIUS server assigns access users a PPP address pool named pool1 and a VPN
instance named vpn1.
•
Users in vpn1 obtain IP addresses from PPP address pool pool1.
Figure 94 Network diagram
VPN 1
Host A
PPPoE client
Gateway:1.1.1.1/24
Figure
94, configure the PPPoE server to meet the following requirements:
RADIUS server
10.1.1.2/24
GE3/1/1
L2 Switch
PPPoE server
Type
Auto(O)
GE3/1/2
10.1.1.1/24
MPLS backbone
PE 1
PE 2
Router A
P
291
Lease expiration
Jul 10 19:45:01 2013
GE3/1/1
1.2.1.1./24
Router B
CE
VPN 1