WHAT A LAMP Rotating Header Image

IP Address Class

What is an address?

stands for Internet Protocol, the most popular open-system protocol used to communicate accross any sets of interconnected networks including Local Area Networks (LAN) or Wide Area Networks (WAN). An address is an identification number assigned to a device (e.g. a computer or a printer) in such a network. Other devices in the network or out of that network uses this address to connect to this device via communication protocols such as Transmission Control Protocol (TCP) or Internet Protocol ().
An address consists of 4 sets of 8-bit numbers (octet) with a total of 32-bits, each separated by a dot (.). For each of the 4 sets of octets in an address, the maximum possible value is 255 (representing an octet containing all ones). Therefore, the values of addresses can range from 0.0.0.0 to 255.255.255.255, which translates to 3,720,314,628 different addresses.

Example of an address in decimal and binary -
Decimal: 123.45.67.89
Binary: 01111011.00101101.01000011.01011001

Within a private network, any valid address can be assigned to the devices as long as they are kept unique from one another within that network. However, assigning of addresses for server and devices connected to the internet is governed by organizations such as ARIN (United States), RIPE NCC (Europe) and APNIC (Asia Pacific), so that no duplicate addresses are assigned.


Classification of addresses
An address consists of two portions – one identifies the network and the other identifies the device or the node within that network. For example, in case of the address 123.45.67.89, the network is identified by 123, whereas the node is identified by 45.67.89. The rules of breaking down an address into network and nodes is decided by the classification. Though the decimal representation of address is easier for human usage, computers use the binary representation and the classification of the address is also based on the binary numbers.

A: This of addresses start with a binary number 0 (decimal numbers from 0 to 127). The network is identified by the first octet (the first set of the address). For example, the address 123.45.67.89 belongs to A because the first set of numbers is 123 (between 0 and 127). The network ID is 123, whereas the node ID is 45.67.89.
The address 127.0.0.1 is a special reserved for internal loopback testing. For example, if someone connects to a local host (same computer running the server), the address is 127.0.0.1. It does not create any network traffic. Also the address 0.0.0.0 represents a default fallback value and not assigned to any network. Therefore, A can support 126 network addresses, each containing 16 million nodes.

B: The binary number starts with 10 (decimal numbers from 128 to 191). The network is identified by the first two octets (the first two sets of the address). For example, the address 178.95.234.23 belongs to B, because the first set of numbers is 178 (between 128 and 191). The network ID is 178.95, whereas the node ID is 234.23. B can support 16,000 network addresses, each containing 65,000 nodes.

C: The binary number starts with 110 (decimal numbers from 192 to 223). The network is identified by the first three octets (the first three sets of the address). For example, the address 210.223.99.145 belongs to C, because the first set of numbers is 210 (between 192 and 223). The network ID is 210.223.99, whereas the node ID is 145. B can support more than 2 million network addresses, each containing 254 nodes.

D: The binary digits start with 1110 (decimal numbers from 224 to 239). This of IPs are reserved for multicast purposes.

E: The E of addresses start with binary digits 1111 (ranging from 240 to 255 in decimal format). This of addresses are reserved for testing purposes and not assigned for public usage.

Original from WebsiteGear

Tags:

,

Related posts

0 Comments on “IP Address Class”

Leave a Comment