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

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

Advertisement

Example: Assigning the PPPoE server IPv6 address through
DHCPv6
Network configuration
As shown in
DHCPv6.
Figure 92 Network diagram
Procedure
# Create Virtual-Template 10.
<Router> system-view
[Router] interface virtual-template 10
# Configure Virtual-Template 10 to use PAP to authenticate the peer.
[Router-Virtual-Template10] ppp authentication-mode pap domain system
# Configure an IPv6 address for Virtual-Template 10.
[Router-Virtual-Template10] ipv6 address 3001::1 64
# Enable Virtual-Template 10 to advertise RA messages.
[Router-Virtual-Template10] undo ipv6 nd ra halt
# Configure the host to use the DHCPv6 protocol to obtain IPv6 addresses.
[Router-Virtual-Template10] ipv6 nd autoconfig managed-address-flag
# Enable the DHCPv6 server feature.
[Router-Virtual-Template10] ipv6 dhcp select server
[Router-Virtual-Template10] quit
# Enable the PPPoE sever on GigabitEthernet 3/1/1, and bind the interface to Virtual-Template 10.
[Router] interface gigabitethernet 3/1/1
[Router-GigabitEthernet3/1/1] pppoe-server bind virtual-template 10
[Router-GigabitEthernet3/1/1] quit
# Configure DHCPv6 address pool 1 with network 3001::/32 and DNS server IP address 2001:2::3.
[Router] ipv6 dhcp pool pool1
[Router-dhcp6-pool-pool1] network 3001::/32
[Router-dhcp6-pool-pool1] dns-server 2001:2::3
[Router-dhcp6-pool-pool1] quit
# Configure 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
# Configure an IPv6 pool attribute authorized to the user in the ISP domain.
[Router] domain system
[Router-isp-system] authorization-attribute ipv6-pool pool1
Figure
92, configure the PPPoE server to assign an IPv6 address to the host through
289

Advertisement

Table of Contents
loading

Table of Contents