The Future is IPv6

A new version of the Internet will eventually alleviate the shortage of IP addresses


Why IPv6?
IPv6 helps solve the IP address shortage because it supports 340 trillion trillion trillion unique addresses whereas IPv4 only supports four billion. In addition to more IP addresses, IPv6 brings superior reliability, flexibility and security to the Internet that IPv4 cannot provide. IPv4 has many issues that make it unviable for the future. For example, IPv4 was never designed to be secure. It was originally designed for an isolated military network and was later adopted as a public education and research network. IPv4 security is retrofitted, and many security features are optional — you cannot count on their availability. As technology advances, new applications are much more demanding on the network. They demand guaranteed on-time delivery, availability of bandwidth and increased security. The possibility of adding on to the base of IPv4 technology is costly, labor intensive and error-prone, which is why IPv6 is the way of the future.
IPv6 will not change the functionality of network video products, but it will make systems run more efficiently. Consider how people used to get mail. Decades ago, people were sent mail based on their name and street address. When the population grew, a zipcode system was designed so that the delivery of mail could scale to the increased number of people getting mail. Similarly, IPv6 is simply a more efficient way of delivering information.
In addition to the availability of IP addresses, the advantages of IPv6 include better IP address architecture, IP auto-configuration, renumbering to simplify switching entire corporate networks between providers, faster routing, point-to-point encryption and connectivity using the same address in changing networks.
IPv6 improves address architecture and simplifies how the address is represented. IPv6 addresses have a length of 128 bits and are written in hexadecimal notations consisting of eight double-bytes separated by colons. For example, an IPv6 address looks like 2001:0da8:65b4:05d3:1315:7c1f:0461:7847. To shorten the addresses, a number of consecutive zeroes may be abbreviated to a double colon, which is allowed once in any single IPv6 address. The address 2002:0da8::1315:7c7a is equivalent to 2002:0da8:0000:0000:0000:0000:1315:7c7a. In addition, instead of using a subnet mask like in IPv4, the new version uses a network prefix length. Leading zeros in the can be omitted so that 2002:0da8::0017:000c can be written as 2002:da8::17:c.
IPv6 addresses can be assigned in different ways: a link-local IPv6 address is automatically configured; router advertisements can be used to assign auto-configured addresses; and a DHCPv6 server can be used to assign IPv6 addresses. For example, a device that supports IPv6 will get an auto-configured link local address that starts with fe80. The suffix is converted into the Extended Unique Identifier -64 (EUI-64) numbering system. The result is something that looks like fe80::1511:aa56:0361:7a4f.
Network devices may also be auto-configured by listening to advertisements sent by routers in the network. These advertisements will define how the network devices should be configured in order to be routable. A routable IPv6 address can be derived by using the information in the router advertisements. This auto-configured address is derived by using the EUI64 address together with the address of the router and network prefix. The router advertisements may instruct the network device to use DHCPv6.
IPv4 networks may use the DHCP server to assign IP configuration while IPv6 may use the DHCPv6 server. In stateless mode, the DHCPv6 server will designate the network servers to use DNS or NTP servers but it will not assign IPv6 addresses for network devices. It has to be done using other methods. In stateful mode, however, DHCPv6 will also assign IPv6 addresses to the network devices, as well as assigning the network servers as in a stateless mode.
Another differentiator between IPv4 and IPv6 is that there is no broadcast in IPv6, only multicast, and unicast of course. (see diagram on the following page) Broadcast and multicast are methods of transmitting data on a computer network. Broadcast means the sender is sending information to all other servers on the network. When a message is sent, all hosts on the network receive the message and process it. Too many messages slow down the network and the hosts connected to it. Broadcasts are not ideal for network video transmissions. Network video products use broadcasts only for specific protocols that require it like DHCP.
On the other hand, multicast is the communication between a single sender and multiple receivers on a network. These technologies are used when many receivers want the same information such as live video simultaneously. This kind of transmission reduces traffic by delivering a single stream of information to many recipients. When compared to unicasting, the biggest difference is that video stream only needs to be sent once whereas with unicast, a copy for each recipient is required. Multicasting is ideal when large numbers of users want to view live surveillance video.
In terms of assigning IPv6 addresses, most programs accept host names and will look up IPv6 addresses. To pass IPv6 literal addresses to a program, there are a few points to consider. When passing an URL, brackets must be used. For example: http://[2001:5c0:84d9:2:240:8cff:fe6b:3cb9]/view/index.shtml. Most programs e.g FTP, Telnet, etc. will accept the IPv6 address in its literal form.

How do you bring IPv6 in gear?
Even if IPv6 is not used by many organizations yet, it is important to plan for the future. It may be prudent now to choose products that are IPv6-ready.
The IP configuration of Axis network products are typically made from the Basic TCP/IP Settings and Advanced TCP/IP Settings pages in the embedded Web interface.
IPv4 is the default setting in most products; however, companies can disable IPv4 or IPv6 configurations. If IPv4 is disabled, the device will only be accessible through IPv6. When IPv6 is enabled, the device will assign a link-local IPv6 address. By default, the device will also listen to router advertisements and assign IPv6 addresses accordingly. Additionally, IPv4 and IPv6 can operate simultaneously allowing users to make the transition in an easy and efficient manner.

Fredrik Nilsson is general manager of Axis Communications, a provider of IP-based network video solutions that include network cameras and video servers for remote monitoring and security surveillance. This is the first of a three-part series Mr. Nilsson is writing on factors that are impacting network video surveillance. The stories will also be featured on www.SecurityInfoWatch.com.