A DHCPv6 client communicates with and obtains an IP address from a DHCPv6 server on another network segment through a DHCPv6 relay agent. DHCPv6 relay allows DHCPv6 clients on different network segments to share a DHCPv6 server, which reduces costs and manage information uniformly.