Networking (IP address , IPv4 & IPv6 ,Subnetting ,Types of IP Address)

IN THIS ARTICLES YOU WILL LEARN .......

1. WHAT IS IP Address & IP Addressing in Easiest Way
2. WHAT IS IPv4 & IPv6 
3. WHAT IS SUBNETTING (SUBNET)
4. Types of IP Address in hindi 


             IP Address & IP Addressing

An IP address stands for internet protocol address. An IP address is a numerical representation that  assigned to each device connected to a computer network that uses the Internet Protocol for communication.
                                                         or

An IP address (internet protocol address) is a numerical representation that uniquely identifies a specific device or computer on the network.


Addresses in IPv4 are 32-bits long. This allows for a maximum of 232 bit unique addresses. Addresses in IPv6 are 128-bits, which allows for 2128 bit unique addresses.


IP addresses are binary numbers but are typically expressed in decimal form (IPv4) or hexadecimal form (IPv6) to make reading and using them easier for humans.


IP stands for Internet Protocol and describes a set of standards and requirements for creating and transmitting data packets, or datagrams, across the networks. The Internet Protocol (IP) is part of the Internet layer of the Internet protocol suite. In the OSI model, IP works on the network layer.
 

How IP works

IP is designed to work over a dynamic network. This means that IP must work without a central directory or monitor, and that it cannot rely upon specific links or nodes existing. IP is a connectionless protocol that is datagram-oriented. So each packet must contain the source IP address, destination IP address, and other data in the header to be successfully delivered.


IPv4 addresses

IPv4 addresses are actually 32-bit binary numbers, consisting of the two sub addresses  mentioned above which, respectively, identify the network and the host to the network, with an imaginary boundary separating the two. An IP address is, as such, generally shown as 4 octets of numbers from 0-255 represented in decimal form instead of binary form.


For example, the address 168.212.226.204 represents the 32-bit binary number 10101000.11010100.11100010.11001100.


An IPv4 address is typically expressed in dotted-decimal notation, with every eight bits (octet) represented by a number from 1 to 255, each separated by a dot. An example of IPv4 address would look like this : 192.168.17.43
 

IPv4 addresses are composed of two parts. The first numbers in the address specify the network, while the latter numbers specify the specific host. A subnet mask specifies which part of an address is the network part, and which part addresses the specific host.


Subnet masks

A single IP address identifies both a network, and a unique interface on that network. A subnet mask can also be written in dotted decimal notation and determines where the network part of an IP address ends, and the host portion of the address begins.The bits marking the subnet mask must be consecutive ones. Most subnet masks start with 255. and continue on until the network mask ends. A Class C subnet mask would be 255.255.255.0.


Class A 

In a Class A network, the first eight bits, or the first dotted decimal, is the network part of the address, with the remaining part of the address being the host part of the address. There are 128 possible Class A networks.

0.0.0.0 to 127.0.0.0
 
However, any address that begins with 127. is considered a loopback address. 
Ex for a Class A IP address:
2.134.213.2


Class B

In a Class B network, the first 16 bits are the network part of the address. All Class B networks have their first bit set to 1 and the second bit set to 0. In dotted decimal notation, that makes 128.0.0.0 to 191.255.0.0 as Class B networks. There are 16,384 possible Class B networks.

Ex for a Class B IP address:
135.58.24.17


Class C

In a Class C network, the first two bits are set to 1, and the third bit is set to 0. That makes the first 24 bits of the address the network address and the remainder as the host address. Class C network addresses range from 192.0.0.0 to 223.255.255.0. There are over 2 million possible Class C networks.

Ex for a Class C IP address:
192.168.178.1


Class D

Class D addresses are used for multicasting applications. Unlike the previous classes, the Class D is not used for "normal" networking operations. Class D addresses have their first three bits set to “1” and their fourth bit set to “0”. Class D addresses are 32-bit network addresses, meaning that all the values within the range of 224.0.0.0 – 239.255.255.255 are used to uniquely identify multicast groups. 

Ex for a Class D IP address:
227.21.6.173


Class E

Class E networks are defined by having the first four network address bits as 1. That encompasses addresses from 240.0.0.0 to 255.255.255.255. While this class is reserved, its usage was never defined. As a result, most network implementations discard these addresses as illegal or undefined. The exception is 255.255.255.255, which is used as a broadcast address.

Please do't post spam links...

Post a Comment (0)
Previous Post Next Post