Network services

Published: November 30, 2015 Words: 1279

Introduction

Each device that participates in networking activities must have a unique IP address. Network services that use TCP/IP identify other network hosts by using IP addresses. The IP address provides the exact location of a host device on a network. If the internet protocol determines that a destination address is on the local network, it transmits the packet directly to the network host. If it is determined that the destination IP address is not on the local network, the internet protocol looks for a route to a remote host. An address on the local network is a local address and on not on the local network is a remote address. If a route is found, the packet is sent using that route. If no route is found, then the packet is sent to the default gateway for the source host. A gateway connects networks using different communication protocols.

An IP address includes a network identifier and a host identifier. The network identifier is used to identify the network where the host is located. All systems that are on the same physical network must have the same network identifier. The host identifier identifies a workstation, server, router, or other host within a network. The address assigned to each host must be unique to the network identifier.

The 128-bit IPv6 address is divided into 16-bit boundaries. The 16-bit blocks are then converted to a 4-digit hexadecimal number, separated by colons. This representation is called colon-hexadecimal. This is in contrast to 32-bit IPv4 address represented in the dotted-decimal format, divided into 8-bit boundaries, and then converted to its decimal equivalent, and separated by periods.

IPv6 addresses do not need to be configured manually. Unlike in IPv4, DHCP is not used in IPv6 to configure IP addresses and subnet masks automatically. The link-local scope of an IPv6 address is always configured automatically. Addresses with other scopes, for example global, are configured by router advertisements.

Static and Dynamic Addresses

A static IP address is an address that does not change over time unless altered manually. It is used when an IP address or network location has to remain the same consistently. A good example of this would be a web server. If you go to www.google.co.uk you are really going to the IP address of 66.102.9.147. If this were to change it would not be possible to access Google.co.uk unless you knew the new IP address or until Google updated their DNS records.

A Dynamic IP address is an address that changes every time the device connects to a network and is assigned an IP address. It is mostly commonly used when a consistent IP address is not necessary. Dynamic IP's are used in large networks where computers are frequently reconfigured, or where a limited number of IP address are available to share between many computers.

IPv6 Unicast Addresses

IPv6 Unicast

IPv6 Unicast addresses are generically structured as a two part address: a 64-bit Topology part, used by routers to forward a packet to its intended destination network, and a 64-bit Interface Identifier, that identifies a particular end point.

There are several types of unicast addresses in IPv6 unicast: global unicast, link-local unicast, and unique-local unicast. There are also some special-purpose subtypes of global unicast, for example IPv6 addresses with embedded IPv4 addresses or Loopback address. Additional address types or subtypes may be defined in the future.

Elements of a Unicast Address

Prefix - e.g. FC00::/7 is a prefix to identify Local IPv6 unicast addresses.

Global IDs are 40-bit global identifiers used to create a globally unique prefix

Subnet IDs are 16-bit identifiers used to identify a subnet within the site

Interface ID is a 64-bit Interface identifier that indicates the interface of a node

Global Unicast

Global Unicast Addresses of this type are designed to be aggregated or summarized to produce an efficient routing infrastructure. They are the IPv6 equivalent of public IPv4 addresses. Unlike the current IPv4-based Internet, which has the mixture of both flat and hierarchical routing, IPv6 has been designed from the ground up to support hierarchical addressing and routing. Global unicast addresses are globally routable and reachable on the IPv6 section of the Internet. The region of the Internet over which the global unicast address is unique is the entire IPv6 Internet.

IPv6 global unicast addresses are assigned from the prefix 2000::/3. Global unicast address assignments are made to Regional Internet Registries, and the address blocks that have been assigned are registered in the IANA IPv6 Global Unicast Address Assignment Registry. All other address prefixes are currently unallocated, and should not be seen in the source or destination address of an IPv6 packet in the context of global routing.

Link-Local Addresses

Link-local addresses are network addresses that are intended only for communications within one segment of a local network or a point-to-point connection. Link-locals allow addressing hosts without using a globally-routable address prefix. Routers will not forward a packet with link-local addresses.

Link-local addresses are often used for network address configuration when there is no external source of network addressing information is available. This addressing is accomplished by the host operating system using a process called stateless address auto configuration. This is possible in both IPv4 and in IPv6.

IPv6 hosts automatically assign their interfaces a unique address based on the IEEE 802 MAC address.

Unique Local Addresses

Unique Local Addressesare similar to the private address space in IPv4. This address space is intended to have the same scope as global address but that equates to an enterprise environment. Unique local addresses are assigned from the prefix FD00::/8, using a self-assigned Global ID, where the Local bit is set to 1. The Global ID is not certain to be unique, and there is no form of address registration. Packets with these addresses in the source or destination fields are not intended to be routed in the public Internet, but are intended to be routed in a site. The address prefix FC00::/8 , with the local bit set to 0, is currently undefined.

A former standard proposed the use of "site-local" addresses in the fec0::/10 range, but due to concerns about scalability and the poor definition of what constitutes a site, its use has been deprecated since September 2004

Unicast Considerations

Global Unicast Address Considerations

Local Link Addresses Considerations

Unique Local Addresses Considerations

Advantages

Disadvantages

Recommendations

The Unique Local Address format is recommended for several reasons:

Bibliography

Das, K., IPv6.com - How Enterprise is gearing up for IPv6 to build the Next Generation Networks. Available at: http://ipv6.com/articles/enterprise/IPv6-For-Enterprises.htm [Accessed March 23, 2010].

Das, K., IPv6.com - IPv6 Addressing. Available at: http://ipv6.com/articles/general/IPv6-Addressing.htm [Accessed March 23, 2010].

Hinden, R., Deering, S. & Nordmark, E., 2003. RFC 3587 - IPv6 Global Unicast Address Format. Available at: http://tools.ietf.org/html/rfc3587 [Accessed March 23, 2010].

Hinden, R. & Haberman, B., 2005. RFC 4193 - Unique Local IPv6 Unicast Addresses. Available at: http://tools.ietf.org/html/rfc4193 [Accessed March 23, 2010].

Koziero, C.M., The TCP/IP Guide - IPv6 Global Unicast Address Format. Available at: http://www.tcpipguide.com/free/t_IPv6GlobalUnicastAddressFormat.htm [Accessed March 23, 2010].

Kozierok, C.M., 2005. The TCP/IP Guide - IPv6 Global Unicast Address Format. Available at: http://www.tcpipguide.com/free/t_IPv6GlobalUnicastAddressFormat-4.htm [Accessed March 23, 2010].

MSDN Library, 2008. MSDN Library - Unicast IPv6 Addresses. Available at: http://msdn.microsoft.com/en-us/library/aa921071.aspx [Accessed March 23, 2010].

Rekhter, Y. & Li, T., 1995. RFC 1887 - An Architecture for IPv6 Unicast Address Allocation. Available at: http://www.faqs.org/rfcs/rfc1887.html [Accessed March 23, 2010].

Ross, C.E., Ipv6 Cisco Training: Defining Unicast, Multicast, And Anycast Addresses. Available at: http://www.articledashboard.com/Article/IPv6-Cisco-Training--Defining-Unicast--Multicast--and-Anycast-Addresses/484703 [Accessed March 23, 2010].

Schroder, C., 2006. Understand IPv6 Addresses - www.enterprisenetworkingplanet.com. Available at: http://www.enterprisenetworkingplanet.com/netsp/article.php/3633211 [Accessed March 23, 2010].

Van de Velde, G. et al., 2008. RFC 5375 - IPv6 Unicast Address Assignment Considerations. Available at: http://tools.ietf.org/html/rfc5375 [Accessed March 23, 2010].