Example: Assigning The Pppoe Server Ipv6 Address Through Nd And Ipv6Cp Negotiation - H3C SR8800-F Configuration Manual

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

Advertisement

[RouterB-dhcp-pool-pool1] network 2.2.2.0 24
[RouterB-dhcp-pool-pool1] gateway-list 2.2.2.1
[RouterB-dhcp-pool-pool1] dns-list 8.8.8.8
# Exclude the IP address 2.2.2.1 from dynamic allocation in DHCP address pool pool1.
[RouterB-dhcp-pool-pool1] forbidden-ip 2.2.2.1
[RouterB-dhcp-pool-pool1] quit
# Specify an IP address for GigabitEthernet 3/1/1.
[RouterB] interface gigabitethernet 3/1/1
[RouterB-GigabitEthernet3/1/1] ip address 10.1.1.1 24
[RouterB-GigabitEthernet3/1/1] quit
# Configure a static route to the PPPoE server.
[RouterB] ip route-static 2.2.2.0 24 10.1.1.2
Verifying the configuration
# Log in to Router A by using username user1 and password pass1.
# Display relay entries on the DHCP relay agent on Router A.
[RouterA] display dhcp relay client-information
Total number of client-information items: 1
Total number of dynamic items: 1
Total number of temporary items: 0
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.
Example: Assigning the PPPoE server IPv6 address through
ND and IPv6CP negotiation
Network configuration
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 91 Network diagram
MAC address
00e0-0000-0001
Client identifier/
Hardware address
00e0-0000-0001
Figure
91, configure the PPPoE server to advertise the following information to the host:
Type
Interface
Dynamic
BAS0
Lease expiration
Unlimited
287
VPN name
N/A
Type
Auto(C)

Advertisement

Table of Contents
loading

Table of Contents