Configuring udp helper, Overview, Configuration guidelines – H3C Technologies H3C S12500 Series Switches User Manual

Page 156

Advertising
background image

143

# After the client with the DUID 00030001CA0006A40000 obtains an IPv6 prefix, display the binding

information on the DHCPv6 server.

[Switch-Vlan-interface2] display ipv6 dhcp server pd-in-use

Pool: 1

IPv6 prefix Type Lease expiration

2001:410:201::/48 Static(C) Jul 10 19:45:01 2009

# After the other client obtains an IPv6 prefix, display binding information on the DHCPv6 server.

[Switch-Vlan-interface2] display ipv6 dhcp server pd-in-use

Pool: 1

IPv6 prefix Type Lease expiration

2001:410:201::/48 Static(C) Jul 10 19:45:01 2009

2001:410::/48 Auto(C) Jul 10 20:44:05 2009

295B

Dynamic IPv6 address assignment configuration example

406B

Network requirements

As shown in

793H

Figure 57

, Switch A serves as a DHCPv6 server to assign IPv6 addresses to the clients in

subnets 1::1:0:0:0/96 and 1::2:0:0:0/96. On Switch A, configure the IPv6 address for VLAN-interface

10 and 1::2:0:0:1/96 for VLAN-interface 20. The lease duration of the addresses on subnet

1::1:0:0:0/96 is 172800 seconds (two days), the valid time is 345600 seconds (four days), the domain
name suffix is aabbcc.com, and the DNS server address is 1::1:0:0:2/96. The lease duration of the

addresses on subnet 1::2:0:0:0/96 is 432000 seconds (five days), the valid time is 864000 seconds

(ten days), the domain name is aabbcc.com, and the DNS server address is 1::2:0:0:2/96.

Figure 57 Network diagram

407B

Configuration procedure

1.

Configure the IPv6 addresses for the interfaces on the DHCPv6 server. (Details not shown.)

2.

Enable DHCPv6:
# Enable DHCPv6 server on VLAN-interface 10 and VLAN-interface 20.

<SwitchA> system-view

[SwitchA] interface vlan-interface 10

[SwitchA-Vlan-interface10] ipv6 dhcp select server

[SwitchA-Vlan-interface10] quit

[SwitchA] interface vlan-interface20

[SwitchA-Vlan-interface20] ipv6 dhcp select server

Advertising