IP address
2.2.2.3
# Display information about the assigned IP addresses on Router B.
[RouterB] display dhcp server ip-in-use
IP address
2.2.2.3
The output shows that Router B has assigned an IP address to the host.
PPPoE server IPv6 address assignment through ND and IPv6CP
negotiation configuration example
Network requirements
As shown in
IPv6 prefix in RA messages.
•
•
IPv6 interface identifier during IPv6CP negotiation.
The host uses the IPv6 prefix and IPv6 interface identifier to generate an IPv6 global unicast address.
Figure 15 Network diagram
Configuration procedure
# Create interface Virtual-Template 10.
<Router> system-view
[Router] interface virtual-template 10
# Configure interface Virtual-Template 10 to use PAP to authenticate the peer.
[Router-Virtual-Template10] ppp authentication-mode pap domain system
# Configure an IPv6 address for interface Virtual-Template 10.
[Router-Virtual-Template10] ipv6 address 2001::1 64
# Enable interface Virtual-Template 10 to advertise RA messages.
[Router-Virtual-Template10] undo ipv6 nd ra halt
[Router-Virtual-Template10] quit
# Enable the PPPoE sever on GigabitEthernet 1/0/1, and bind the interface to interface Virtual-Template
10.
[Router] interface gigabitethernet 1/0/1
[Router-GigabitEthernet1/0/1] pppoe-server bind virtual-template 10
[Router-GigabitEthernet1/0/1] quit
# Configure a PPPoE user.
[Router] local-user user1 class network
[Router-luser-network-user1] password simple pass1
MAC address
00e0-0000-0001
Client identifier/
Hardware address
00e0-0000-0001
Figure
15, configure the PPPoE server to advertise the following information to the host:
Type
Interface
Dynamic
VA1
Lease expiration
May 1 14:02:49 2009
59
VPN name
N/A
Type
Auto(C)
Need help?
Do you have a question about the MSR Router Series and is the answer not in the manual?
Questions and answers