Jump to content

This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!

IPv6: Difference between revisions

Content deleted Content added
Aa-jamie (talk | contribs)
since when were /128s being handed out by ipv6cp??? pcaps or that never happened.
Aa-jamie (talk | contribs)
update page with what actually happens when things connect
Line 25: Line 25:
(Here, CPE refers to the router belonging to the customer which is being used at their end of the broadband line.)
(Here, CPE refers to the router belonging to the customer which is being used at their end of the broadband line.)


When the CPE logs in and negotiates PPP we use IPV6CP to negotiate an interface identifier. Once this has been negotiated, further negotiations using DHCPv6 IA can take place to assign an IPv6 'WAN' address. This address is a single IPv6 address in the form of:
When the CPE logs in and negotiates PPP, we use IPV6CP to negotiate an interface identifier - this happens at the same time as IPCP happens to negotiate V4 connectivity. Once this has been negotiated,the CPE should perform an ICMPv6 router solicitation - our LNSes will then reply with a Router Advertisement in order to negotiate the [http://en.wikipedia.org/wiki/Link-local_address Link Local] address in the form of FE80::, and will be based on the MAC address of the interface.
At this stage, there should be basic IPv6 connectivity to link-local, and if static routes and manually assigned addresses in place you should have a working connection.
2001:8b0:1111:1111:0:ffff:[your IPv4 WAN in HEX]


Optionally, if routes and addresses have not been configured statically, DHCPv6 can be used for automatic negotiation of the IPv6 WAN and LAN prefixes - using DHCPv6 is usually the default for our routers (ie the ZyXEL) that we supply.
At this point we will also be routing any IPv6 blocks to this WAN address. Usually a line will have at least one /64 block.
When DHCPv6 is enabled, the CPE sends a DHCPv6 Solicitation to the IPv6 broadcast address, containing a list of options that it requires.
Once we receive the DHCPv6 Solicitation, the LNS you are connected to will send a reply containing responses to the options requested. The CPE can then take the options and apply them as appropriate.


In the DHCPv6 Solicitation, you would usually request DHCPv6 IA (Option 3, Identity Association for Non-temporary Address) to assign your IPv6 'WAN' address. This address is a single IPv6 address in the form of:
We also respond to DHCPv6 Prefix Delegation (PD) from the CPE and we'll tell the CPE one of the /64 Blocks. -this may be requested multiple times by the CPE.
2001:8b0:1111:1111:0:ffff:[your IPv4 WAN in HEX]
We also respond to DHCPv6 Prefix Delegation (Option 25, Identity Association for Prefix Delegation, responded to by Option 26, IA Prefix) from the CPE and we'll tell the CPE one of the /64 Blocks. -this may be requested multiple times by the CPE.
A Client Identifier (Option 1) is also present in the DHCPv6 transaction, optionally DNS recursive name server (Option 23) can be requested.


At this point we will be routing any IPv6 blocks to your /128 WAN address. Usually a line will have at least one /64 block routed.
The CPE will also assign itself a [http://en.wikipedia.org/wiki/Link-local_address Link Local] address in the form of FE80::, and will be based on the MAC address of the interface.


{| class="wikitable"
{| class="wikitable"