Académique Documents
Professionnel Documents
Culture Documents
Key Words:
IPv6 Access, PPP, IPv6CP, ND, DHCPv6, IPv6 Prefix Allocation, BRAS,
Home Gateway, L2TP
Abstract:
With the development of the Internet, the shortage of IPv4 address
resources becomes increasingly serious, which prevents operators from
attracting new broadband access users and rolling out new services.
Upgrading IPv4 user access networks to IPv6 user access networks can
solve the problem of IP address shortage.
This chapter describes the applications of IPv6 access technologies in
different networking modes and service models. Operators can select
an optimal solution based on services and networks.
1
1 IPv6 Address Assignment
Technology
During the upgrade from an IPv4 broadband access network to an
IPv6 broadband access network, the protocols used by access users to
obtain addresses change but the authentication, authorization, and
accounting mechanisms for access users do not change.
In IPv4, there is only one address assignment protocol, that is, the
Dynamic Host Configuration Protocol (DHCP). In IPv6, there are two
address configuration modes: stateful address autoconfiguration and
stateless address autoconfiguration.
On an IPv4 network, a PPPoX user uses an IPv4 address assigned by
IPCP. On an IPv6 network, IPv6CP assigns only link-local addresses;
therefore, a PPPoX user needs to obtain a global unicast address
through stateful address autoconfiguration or stateless address
autoconfiguration.
2
Whether address autoconfiguration is used
Autoconfiguration type supported by the flag (stateful or stateless
address autoconfiguration, including the address configuration flag
M and other information configuration flag O)
One or more link prefixes (nodes on the local link can perform
address autoconfiguration by using these address prefixes) and
lifetime of the link prefixes
Whether the router advertised by the sending router can be used as
a default router (if the router can be used as the default router, the
lifetime, expressed in seconds, of the default router is also contained
in the packet.)
Other configuration information about the host, such as the hop
limit and the maximum MTU for the packet initiated by the host
3. If address autoconfiguration is specified in the RA message
received by the host, the M flag is set to 0, and the correct link
prefix is contained in the message, the host uses the link prefix
and interface ID to generate a global unicast address to complete
stateless address configuration.
In stateless address autoconfiguration, the host does not actively
extend the IP address lease. Instead, the router sends an RA carrying
the new lifetime to extend the IP address lease.
Stateless address autoconfiguration is simple. The nodes that support
IPv6 must support ND. Windows 2000 and Windows XP can support
IPv6 after the ipv6 install command is run on them, and support
stateless address autoconfiguration.
3
1.2.1 Stateless DHCPv6
Stateless DHCPv6 is used to obtain configuration information except
the address through two steps, as shown in Figure 2.
Figure 3 Format of messages exchanged between the DHCPv6 client and server
4
Figure 4 Format of messages exchanged between the DHCPv6 relay agent and server
5
1.2.2 IPv6 Stateful Address Autoconfiguration
Stateful address autoconfiguration can complete the
configuration of an address and configuration information
through four or two steps, as shown in Figure 5. After receiving
an RA message with the M flag being 1, the client initiates the
exchange of DHCPv6 messages.
6
renew time and rebind time account for 50% and 80%
respectively of the preferred lifetime. The valid lifetime
is the lease of an IPv6 address/prefix. When the valid
lifetime of an IPv6 address/prefix expires, the DHCP
server withdraws the IP address/prefix. To keep using the
IP address/prefix, the DHCPv6 client needs to renew the
IPv6 address lease before the valid lifetime expires.
When the lease renew time expires, the DHCPv6 client
automatically sends a Renew message to the DHCPv6
server to renew the IPv6 address lease. After receiving
the Renew message, the DHCPv6 server replies with
a Reply message. When the rebind time expires, the
DHCPv6 client sends a Rebind message to the DHCPv6
server if it does not complete the renewing of the IPv6
address. After receiving the Rebind message, the DHCPv6
server replies with a Reply message.
Windows 2000 and Windows XP do not support DHCPv6
clients, whereas Windows Vista and Windows 7 support
DHCPv6 clients.
DHCPv6 is defined in RFC 3315. For more information
about DHCPv6, refer to RFC 3315.
7
home gateway passes the authentication. The home gateway uses
the IPv6 prefix to assign IPv6 addresses to the devices that need to
access devices on the operator's network. DHCPv6 is applicable to
the upgrade from an IPv4 network to an IPv6 network when the
home gateway runs in the routing mode.
8
conflict, as shown in Figure 7.
On an ISP network, different users cannot access each other before
going online. That is, the duplicate link-local address detection packet
sent by a user can be sent to the router rather than any other users.
Therefore, the router needs to function as the duplicate link-local
address detection agent. Thus, the router needs to detect whether
the link-local address of the user conflicts with the IPv6 link-local
address of the router interface and whether the link-local address of
the user conflicts with the IPv6 link-local addresses of other users that
access the same router interface as the user. If yes, the router sends a
message to the device that initiates duplicate address detection.
CPE1
link-address1
CPE2 link-address2
PC2
9
2 IPv6 Access Scenario
Figure 8 Scenario where the home gateway runs in the bridge mode
10
position of the terminal. The BRAS performs
authentication, authorization, and accounting
for the user, and then assigns an IPv6 address or
prefix to the user based on the IPv6 address or
prefix received from the local or remote DHCPv6
server.
When the terminal supports only stateless address
autoconfiguration, the BRAS needs to function as
the DHCPv6-PD proxy, and applies to the remote
DHCPv6 server for an IPv6 prefix instead of the
terminal, and then forward an IPv6 prefix received
from the DHCPv6 server to the terminal through
an RA message. If the terminal supports DHCPv6,
the BRAS needs to function as a DHCPv6 relay
agent, and forwards the DHCPv6 message of the
terminal to the remote DHCPv6 server, and the
forwards the message sent by the DHCPv6 server
to the terminal.
BRAS
IPTV 2.3 Home Gateway Running in Multiple
Modes
_For TR69 services, the home gateway initiates a connection,
and runs in the terminal mode. A home gateway can run in multiple modes. For
_For VolP services, the home gateway initiates a connection, example, a home gateway needs to work in routing
and runs in the terminal mode instead of the telephone.
mode for go-online services, and needs to work in the
-For IPTV servlces, the STB initiates a connection, and the
home gateway runs in the bridge mode. bridge mode for IPTV services. In addition, the home
-For online services, the home gateway initiates a connection, gateway functions as a terminal and runs VoIP and
and runs in the routing mode.
TR69 (NMS services) services, as shown in Figure 10.
Figure 10 Scenario where the home gateway runs in multiple modes
12
3 Scenario Where IPv4 Broadband Access Services
Transit to IPv6 Broadband Access Services
13
4 Conclusion
5 Appendix A References
14
6 Appendix B Acronyms and
Abbreviations
Abbreviations
PPP Point-to-Point
IPCP PPP IPv4 Control Potocol
IPv6CP PPP IPv6 Control Protocol
ARP Address Resolution Protocol
SLAAC Stateless Address Autoconfiguration
ND Neighbor Discovery
ICMP Internet Control Message Protocol
DUD Neighbor Unreachability Detection
DAD Duplicate Address Detection
RS Router Solicitation
RA Router Advertisement
DHCPv6 Dynamic Host Configuration Protocol for IPv6
DNS Domain Name Service
NS Neighbor Solicitation
NA Neighbor Advertisement
NMS Network Management System
STB Set-top Box
VoIP Voice over Internet Protocol
BRAS Broadband Remote Access Server
DSLAM Digital Subscriber Line Access Multiplexer
DHCPv6-PD DHCPv6 Prefix Delegation
L2TP Layer 2 Tunneling Protocol
LAC L2TP Access Concentrator
LNS L2TP Network Server
15
Copyright 2010 Huawei Technologies Co., Ltd. All rights reserved.
No part of this document may be reproduced or transmitted in any form or by any means without prior written
consent of Huawei Technologies Co., Ltd.
and other Huawei trademarks are the property of Huawei Technologies Co., Ltd.
All other trademarks and trade names mentioned in this document are the property of their respective holders.
Notice
The product, service, or feature that you purchase should be restricted by
the Huawei commercial contract and the clauses in the contract. All or a
part of products, services, or features described in this document may not
be purchased or used. Every effort has been made in the preparation of this
document to ensure the accuracy of the contents, but the statements,
information, and recommendations in this document do not constitute a Huawei Technologies Co., Ltd.
warranty of any kind, expressed or implied. Address: Huawei Industrial Base
Bantian, Longgang
The information in this document is subject to change without notice. Every
Shenzhen 518219
effort has been made in the preparation of this document to ensure the People's Republic of China
accuracy of the contents, but the statements, information, and
recommendations in this document do not constitute a warranty of any Website: http://www.huawei.com
kind, expressed or implied. Email: support@huawei.com
16