IP Addresses :

Each computer on a TCP/IP ( What is TCP/IP? ) based network (including the internet) has a unique, numeric address called an IP (Internet Protocol) address, enabling data packages to be addressed to this specific recipient.

IP Addresses

An IP address consists of four so-called octets separated by dots. An octet is a binary number of eight digits, which equals the decimal numbers from 0 to 255. To make IP addresses easier to read and write, they are often expressed as four decimal numbers each separated by a dot. This format is called "dotted-decimal notation".

In a LAN based on TCP/IP, an IP address must be assigned to each host (computer or device) in the network. The IP address must be unique to each host. (If two hosts were given the same address, the data to these hosts would be picked up randomly by one of them - be it the intended receiver or not - causing network irregularities).

Classes of IP Addresses :

In order to provide the flexibility required to support differently sized networks, IP addresses come in three classes - A, B, and C. Every class fixes the boundary between the network portion and the host portion of the IP address at a different point. This makes them appropriate for different size networks.

Class C addresses allow 254 hosts per network and are typically used by smaller and middle-sized companies. Class B networks a maximum of 16,384 hosts, while Class A networks allow more than 16 million hosts. As a consequence, Class A networks are only used by large organizations.

Calculating the number of possible hosts requires a closer look at the IP classes in their binary form. (The binary system is a base-2 number system, just like the base-10 number system is known as the decimal number system.) It is done as follows :

  • in a Class C network, only the last octet is used to designate the hosts. the maximum decimal number that you can write using eight bits is 256 (28). The host calculation now requires that 2 is subtracted because two host addresses must be reserved for a network address and a broadcast address (for a further explanation of network and broadcast addresses, see the section on 'Subnets'). Ergo, the maximum number of hosts on a class C network is 256-2=254.
  • A class B network allows a maximum of 16,384 hosts(216-2) per network (three octets are used to designate the hosts).
Classes of IP Addresses
Class Leading bits Start address End address
A 0 0.0.0.0 127.255.255.255
B 10 128.0.0.0 191.255.255.255
C 110 192.0.0.0 223.255.255.255
Programming Language Generations - 1GL, 2GL, 3GL, 4GL, 5GL

Programming Language Generations - 1GL, 2GL, 3GL, 4GL, 5GL :

01/12/2018

A programming language is a set of written symbols that instructs the computer hardware to perform specific tasks. Typically, programming language consists of a vocabulary.

Read More
What Is GPU? World First GPU Details and Where Company's use GPUs?

What Is GPU? World First GPU Details and Where Company's use GPUs?

23/10/2018

GPU (Graphics Processing Unit) is an electronic circuit used to speed up the creation of both 2D and 3D images. A GPU can be present on a video card or motherboard.

Read More
Algorithm and Flowchart, Symbols in Flowcharts and Examples of flowcharts

Algorithm and Flowchart, Symbols in Flowcharts and Examples of flowcharts :

02/12/2018

TCP/IP is an industry-standard protocol suit for Wide Area Networks (WANs) developed in the 1970s and 1980 by the U.S Department of Defense (DoD).

Read More

Next Update

Loading...

We Are Currently Working On Our Android Application Development and We already have two YouTube channels their name is CodeX or NightHawk. CodeX is for programming related videos and NightHawk is for online game streaming so please supporting us and Subscribe to our channels, Thank you