Understanding IP Addressing

Defining IP Addresses

The TCP/IP protocol suite is the more frequently implemented protocol suite in networks today. However, setting up the TCP/IP protocol is not as simple as using one of the other protocol stacks. One of the main requirements of TCP/IP is that each TCP/IP computer has a unique IP address, and other TCP/IP configuration parameters. An IP address can be defined as a unique numeric identifier (address) that is assigned to each computer operating in a TCP/IP based network. IP addresses are considered software addresses, and are not hard coded hardware addresses.

To communicate on the Internet and private TCP/IP network, all hosts defined on the network must have IP addresses. These 32-bit IP address identifies a particular host on the network. While planning for the implementation of a TCP/IP based network, administrators have to clarify what types of IP addresses will be used.

To uniquely identify computers on a TCP/IP network, each computer must have a unique IP address. When a computer running in a TCP/IP network forwards data packets, the packet contains the following IP addresses:

The routers use the IP address information to forward the packet to the destination computer. The IP addresses of computers therefore have to be both unique and correct so that they can be forwarded to the correct destination.

IP addresses are categorized into the following categories:

IP addresses have the following characteristics:

Understanding Private IP Addresses and Public IP Addresses

Public IP addresses are IP addresses that are connected to the public Internet. To ensure that these IP addresses are unique, the Internet Assigned Numbers Authority (IANA) divides up the non-reserved portion of the IP address space. It then delegates responsibility for public IP address allocation to registries such as the American Registry for Internet Numbers (ARIN) and Asia-Pacific Network Information Center (APNIC). The registries are responsible for allocating blocks of addresses to large InternetS Providers (ISPs). ISPs allocate smaller blocks of addresses to small Internet Service Providers (ISPs) and customers. What normally occurs is that the ISP allocates one public IP address to each computer which is connected to the particular ISP. The particular public IP addresses can be assigned dynamically to each computer when it connects to the ISP, or the IP address can be reserved statically for a dedicated line or a particular dial-up account.

Only those addresses that the IANA has registered are visible on the Internet. IANA functions as the registrar of public IP addresses in order to prevent the duplication of these addresses. The addresses obtained from IANA are simply network identifiers. Administrators then have to assign unique host identifiers (IDs) to each computer and network device. To calculate the IP addresses for computers, you have to combine the network ID assigned by IANA with a unique host ID.

While you can assign public IP addresses to each network device, you should consider the following disadvantages of implementing this strategy:

Private IP addresses are IP addresses that are used on the private network. These addresses are not visible on the public Internet. Private addresses are typically used on TCP/IP networks for servers and workstations accessed by your internal network users. The Internet Assigned Numbers Authority (IANA) has specifically reserved IP addresses which are used for computers on the private network that need to access the Internet. A number of methods can be used to assign private addresses to computers so that they can access the Internet, but are not visible on the Internet.

In RFC 1918 / Address Allocation for Private Internets; IANA has reserved the following three private IP address ranges for private network utilization.

Hosts that have a private IP address can use one of the following methods to access the Internet:

IP Address Assignment Methods

IP addressing can occur through either of the following methods:

Understanding the Hierarchical IP Addressing Structure

As mentioned earlier, IP addresses are 32-bit unique identifiers. The bits of an IP address are divided into octets. The notations used to indicate IP addresses are:

The 32-bit IP address is a hierarchical structured address. IP addresses are not flat addresses. IP addresses are considered hierarchical addresses because the address space is divided into ordered chunks. The 32 bits are not in its entirety a unique identifier. A segment of the IP address is the network address, and another segment is the host (node) address. This segregation is what makes IP addresses hierarchical structured addresses.

When the Internet was designed, it was decided to create classes of networks. These classes of networks are based on the size of the network.

The characteristics of the network address classes are listed below:

Understanding Reserved IP addresses

A few IP addresses are reserved for specific special purposes. The reserved IP addresses are:

Converting Between the Binary Notation and Decimal Notation

In the dotted-decimal notation, the digits 0 to 9 are used. With the 32-bit IP addresses, the octets and bit places are numbered from the left to the right. Each number in the decimal system can be represented in the binary format. The binary system uses only two digits, which are 0 and 1. A binary digit is called a bit. With IP addressing, an octet is formed by 8 bits. An IP address consists of 32 bits, or four octets.

The initial octet refers to the leftmost octet. The bit places 1 to 8 signify the eight leftmost bit places. The second octet signifies the following eight bits, which is bit places 9 to16. The third octet signifies the following eight bits, which is bit places 17 to 24. The fourth octet signifies the following eight bits, which is bit places 25 to 32.

If you want to convert a binary number to a decimal number, add the value of each bit position set to 1. If you want to convert a decimal number to a binary number, determine the largest binary bit represented.

Understanding the Different IP Address Classes

The different IP Address classes are:



Top 5 Free Networking Tools

Bookmark Understanding IP Addressing

Latest Blog Posts


English English GermanGerman SpanishSpanish FrenchFrench ItalianItalian PortuguesePortuguese RussianRussian DutchDutch
GreekGreek HindiHindi JapaneseJapanese KoreanKorean ChineseChinese Chinese (Simplified)Chinese (Simplified) ArabicArabic

Copyright 2009 Tech-FAQ. All rights reserved. Privacy Policy.