Your browser is not supported. Please update it.

7 June 2012

Broadcasters have most to gain from IPv6 as it goes live on many networks

There are two reasons you may not have been aware this Wednesday was worldwide IPv6 launch day. One was the event so successful nobody noticed it had happened, which was precisely what the organizers hoped, with few glitches reported. The other reason is that the benefits of IPv6 will emerge only gradually, with the new addressing scheme not really getting the credit it is due.

Oddly enough the broadcasting sector will gain more than any other from the technical advantages of IPv6, partly because some of them have been engineered with video in mind. It will make it easier to make OTT services and large CDNs (Content Distribution Networks) scalable, cost effective, and able to deliver high quality of service.

Yet the initial reason for bringing on IPv6 was to tackle an impending Internet address crunch. It was conceived over two decades ago, well before the Internet became a widespread public phenomenon, for even then it was clear that the existing IPv4 scheme would run out of addresses. IPv4 has a 32 bit address space, which means there are 232 possible addresses, which is about 4.3 billion, considerably less than the population of the planet. This fact was appreciated at the dawn of the Internet, and IPv4 was never intended to be deployed globally, but merely as an experiment to test whether IP was capable of scaling to a large network. But according to Vinton Gray, who is jointly credited with Bob Kahn as the godfather of the Internet, IPv4 just escaped into the wild and could not be reined back.

Development of IPv6 then began in the late 1980s, initially to rectify the shortage of addresses, but then, as the project unfolded, also to rectify other shortcomings of the IPv4 addressing scheme that inhibit scalability, efficiency and performance. It is these that are of greatest interest for broadcasters and pay TV operators, and explain why some of the bigger players such as Comcast and Verizon have become so actively involved in the IPv6 movement.

After failing to allow for Internet expansion with IPv4, the Internet Engineering Task Force made no mistake with IPv6, quadrupling the address space to 128 bits, creating 2128 possible addresses, which is 18,446,744,073,709,551,616, more than enough for every grain of sand on the planet to have a unique IP address. At the same time IPv6 brings immediate efficiency gains of benefit for all Internet services, simplifying address assignment, and various measures to speed up the routing calculations needed for each hop of an IP network. These include reducing the size of the routing tables, and eliminating the need to recalculate checksums at each router, no longer needed because IPv6 has in-built error checking at the link level.

Another major gain is elimination of the Network Address Translation (NAT) that has dogged the Internet for many years, having been designed to overcome the shortage of IPv4 addresses by enabling them to be reused behind enterprise firewalls. It enables enterprises to have multiple devices sharing a single IP address, but at the cost of the operational complexity involved in routing incoming traffic to the correct end device. NAT violates the principle of unique end-to-end connectivity between all Internet attached devices, but this is restored by IPv6.

Another major advantage of IPv6, also associated with the abolition of NAT, is in-built end-to-end device security via the IPSec protocol. This again simplifies deployment, since with IPv4 the core ICMP (Internet Control Message Protocol), used by computer operating systems to exchange error or query messages relating to service availability or quality, often has to be blocked by firewalls because of its potential to infect an enterprise network with malware. Under IPv6 enterprises can trust IPSec to identify and block such malware.

This in-built security has potential value for broadcasters and OTT operators because it facilitates end-to-end authentication and identification of IP devices, which will be particularly useful for mobile TV. There is other good news for mobile TV, with support for global IP roaming, enabling devices such as audio codecs to go anywhere in the world and be contactable via a single IP address.

But the most exciting mobility aspect is one that perhaps will not be loved by all content or service providers, which is inherent support for media rich peer to peer (P2) applications, bypassing intermediate nodes in an IP network. This will make it much easier for individuals to set up P2P services from their mobile devices, and make them available either to a specified group of users, or anybody.

Broadcasters and OTT operators will also welcome IPv6’s embedded QoS support. While IPv4 was confined to ‘best effort’ IP packet delivery across networks, and therefore needed QoE mechanisms bolting on, IPv6 has a traffic-class field within packet headers allowing operators to prioritize data packets. This makes it much easier to ensure that audio/video content is delivered in uninterrupted streams across networks that are shared by less critical data traffic such as email. Of course this advantage diminishes in the case of a network almost entirely dedicated to premium video, but then such a network will probably involve some form of CDN anyway and so not rely on best effort delivery.

The remaining significant advantage of IPv6 for broadcasters lies in multicasting, with changes relevant for large scale OTT services or CDNs. Under IPv4, specific multicast routers are required to send multicast IP packets over IP networks, which tends to inhibit scalability to large geographical areas, because it may involve traversing long distances and many router hops for a service to reach the relevant multicast router serving a particular destination.

IPv6 fixes this via support for anycasting, which is sometimes described as a ‘fourth way’ of routing packets. Firstly there is unicasting, which is one-to-one, then there is broadcasting, which is one ‘to-all, and thirdly multicasting, or one-to-many but not everybody. Anycasting is one-to-one of many, where an IP packet’s destination is defined as any one, but just one, of a group of hosts or servers. It enables multiple hosts or servers that each provide the same service to share a single IP address. Then users can be directed just to the host nearest them to access the service, rather than having to go to a host the other side of the world. In this context nearest may not mean the geographically closest server, but the one that is accessible via the smallest number of hops, although the two will often coincide.

Anycasting is designed for services where a given set of users wants to access applications or data replicated across more than one server. It is particularly relevant for large scale video distribution, above all where interactivity is required when latency is a key issue. It means that the same content can be stored several times on different servers around the world, as is already increasingly done, and then users are directed to the nearest one. As well as reducing latency, this supports a degree of load balancing, depending on the scale, and also on how users are distributed around the region of operation. Configuration is also simplified, because there is just one single IP address to manage for all content, avoiding the need to correlate multiple DNS servers distributed around the network, DNS being the acronym for the Internet’s hierarchical naming system based on underlying IP addresses.

This approach can also provide an elegant solution for redundancy or high availability, because the information conveying which host to go to for the content (called the route advertisement) can be made dependent on the QoS information. If the nearest server is unavailable or congested for whatever reason, a user can be switched to the next nearest one. This leads to the final advantage, which is scalability. Instead of having to pump up a given server in a densely populated location, another server can be dropped in nearby and configured with the same anycast IPv6 address. Then users can be routed to the second server, and this idea can be propagated across a global network, enabling rapid reconfiguration to new routes in the event of congestion occurring. Here IPv6 does not achieve anything that cannot be done with IPv4, but makes life much easier, and the deployment will almost certainly be less expensive, more robust, and faster to converge or reconfigure in real time as required.

IPv6 does also herald some bad news for content distributors and service providers, largely the result of the dithering of the last decade. Migration was supposed to begin in the late 1990s, and yet by 2008 only 1% of the Internet had been converted, according to Google. This led to a concerted campaign among leading Internet players to accelerate deployment, culminating in World IPv6 Day on June 8, 2011. This was spearheaded by five anchoring companies, Facebook, Google, Yahoo, Akamai Technologies, and Limelight Networks, the purpose being to test IPv6 in their networks and identify how well IPv6 was working alongside IPv4. It was also intended as a rallying call for all parties providing Internet services on any scale, helping to ensure a successful transition.

This was really a dress rehearsal for World IPv6 Launch Day a year later on June 6th 2012. Then the same five companies, plus other participants, turned on IPv6 for good. But to some extent this has all come too late, for with IPv4 addresses now almost completely exhausted there is no way IPv6 can be deployed fast enough to have a period of parallel running allowing migration to proceed in an orderly manner. This would allow individual operators to test IPv6 properly before switching off IPv4. But as this cannot be done in all cases, there will be a painful period during which some service providers will find it difficult, or prohibitively expensive, to deploy new services.

This partly explains the upsurge of interest by large pay TV operators, particularly MSOs and Telcos, and especially in the US where IPv6 migration has lagged a bit behind the rest of the world. Comcast has been active and vociferous, announcing in April 2012 it had become the first ISP as well as pay TV operator to offer IPv6 to home gateway users. Comcast is providing home networking users with a dual-stack service for parallel running, enabling fallback to IPv4 in the event IPv6 does not work. Customers enable IPv6 by plugging their home router into the back of an IPv6 enabled cable modem provided by Comcast, and then they will be accessing the Internet in dual stack mode, IPv4 and IPv6 running side by side.

Comcast says its entire network will support IPv6 by the end of 2012, and that 1% of its 18 million residential broadband subscribers, including many TV customers, were using IPv6 by the world IPv6 launch day of June 6, 2012. As part of the move, Comcast was giving its customers their own 64 bit block of IPv6 addresses, which is the square of, or about 4 billion times, the total number of IPv4 addresses across the entire Internet. Quite what customers were supposed to do with these Comcast did not make clear, admitting it was a ludicrous number. But it is the only block size of IPv6 addresses currently supported by CPE equipment such as gateways. Comcast said it would renumber its gateways with smaller address prefixes when new ones came along.

Until recently lack of home gateway support has held back IPv6 deployment for ISPs and pay TV operators. For this reason initial IPv6 deployments from other operators such as Time Warner have been confined to customers that have no home gateway and plug their equipment directly into the cable modem ‘ about 15% of the total.

In an ideal world all websites and IP based services would run in dual stack mode for a time, but that is clearly not going to happen, and many of the less aware operators will only migrate when they are pushed by the lack of IPv4 addresses and also their inability to compete with rivals that have already made the move.

There are though a number of options available, providing operators do not wait until the very last moment. The decision over which to use depends largely on the scale of the network, and on where IPv6 is being introduced first within that infrastructure. One advantage of IPv4’s longevity has been that various techniques have evolved to assist with migration. One of these is known as 6RD, meaning ‘Rapid IPv6 Deployment’, which allows IPv6 first to be introduced by tunneling through the existing IPv4 network. This allows some evaluation and testing of IPv6 as a prelude to moving onto dual stack operation, where IPv6 and IPv4 run side by side.

For those operators like Comcast that have moved early, IPv6 migration should be relatively straightforward, but it has yet to explain the full benefits to subscribers other than demonstrating there are no adverse consequences. The real benefits will be felt most in mobile TV usage, emerging over the next few years.

Meanwhile there is the risk that operators will suffer from damage to their reputations if they mess up the migration and are ill prepared for it. While World IPv6 Launch Day did pass with barely a whimper, it was accompanied by sirens from industry analysts warning of security, performance and availability issues during migration. While we think the warnings are overblown, they do serve to warn against the perils of living in IPv6 denial.