Example: Assigning The Pppoe Server Ipv6 Address Through Prefix Delegation By Dhcpv6 - H3C SR8800-F Configuration Manual

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

Advertisement

[Router-isp-system] quit
Verifying the configuration
# Display PPP user information on GigabitEthernet 3/1/1.
[Router] display ppp access-user interface gigabitethernet 3/1/1
Interface
BAS0
Example: Assigning the PPPoE server IPv6 address through
prefix delegation by DHCPv6
Network configuration
As shown in
Router A then assigns the prefix to the host for it to generate an IPv6 address.
Figure 93 Network diagram
Procedure
# Create Virtual-Template 10.
<RouterB> system-view
[RouterB] interface virtual-template 10
# Configure Virtual-Template 10 to use PAP to authenticate the peer.
[RouterB-Virtual-Template10] ppp authentication-mode pap domain system
# Configure an IPv6 address for Virtual-Template 10.
[RouterB-Virtual-Template10] ipv6 address 2001::1 64
# Enable Virtual-Template 10 to advertise RA messages.
[RouterB-Virtual-Template10] undo ipv6 nd ra halt
# Enable the DHCPv6 server feature.
[RouterB-Virtual-Template10] ipv6 dhcp select server
[RouterB-Virtual-Template10] quit
# Enable the PPPoE sever on GigabitEthernet 3/1/1, and bind the interface to Virtual-Template 10.
[RouterB] interface gigabitethernet 3/1/1
[RouterB-GigabitEthernet3/1/1] pppoe-server bind virtual-template 10
[RouterB-GigabitEthernet3/1/1] quit
# Create prefix pool 6, and specify prefix 4001::/32 with assigned prefix length 42.
[RouterB] ipv6 dhcp prefix-pool 6 prefix 4001::/32 assign-len 42
# Create address pool 1, specify the subnet 4001::/64 for dynamic allocation in pool 1, and apply
prefix pool 6 to address pool 1. Configure DNS server IP address 2:2::3.
[RouterB] ipv6 dhcp pool pool1
[RouterB-dhcp6-pool-pool1] network 4001::/64
[RouterB-dhcp6-pool-pool1] prefix-pool 6
[RouterB-dhcp6-pool-pool1] dns-server 2:2::3
Username
MAC address
user1
0000-5e08-9d00
Figure
93, configure the PPPoE server to assign a prefix to Router A through DHCPv6.
IP address
IPv6 address IPv6 PDPrefix
-
3001::2
290
-

Advertisement

Table of Contents
loading

Table of Contents