Ethical Hacking
Wireshark Tutorial: Network & Passwords Sniffer
Computers communicate using networks. These networks could be on a local area network LAN or...
An IP (Internet Protocol) address is a numerical label assigned to the devices connected to a computer network that uses the IP for communication.
IP address act as an identifier for a specific machine on a particular network. It also helps you to develop a virtual connection between a destination and a source. The IP address is also called IP number or internet address. It helps you to specify the technical format of the addressing and packets scheme. Most networks combine TCP with IP.
An IP address consists of four numbers, each number contains one to three digits, with a single dot (.) separates each number or set of digits.
IP Address is divided into two parts:
In this networking tutorial, you will learn:
Class | Address Range | Subnet masking | Example IP | Leading bits | Max number of networks | Application |
---|---|---|---|---|---|---|
IP Class A | 1 to 126 | 255.0.0.0 | 1.1.1.1 | 8 | 128 | Used for large number of hosts. |
IP Class B | 128 to 197 | 255.255.0.0 | 128.1.1.1 | 16 | 16384 | Used for medium size network. |
IP Class C | 192 to 223 | 255.255.255.0 | 192.1.11. | 24 | 2097157 | Used for local area network. |
IP Class D | 224 to 239 | NA | NA | NA | NA | Reserve for multi-tasking. |
IP Class E | 240 to 254 | NA | NA | NA | NA | This class is reserved for research and Development Purposes. |
IP address works in an IP network like a postal address. For example, a postal address combines two addresses, address, or your area your house address.
The address or your area is a group address of all houses that belong to a specific area. The house address is the unique address of your homes in that area. Here, your area is represented by a PIN code number.
In this example, the network address comprises all hosts which belong to a specific network. The host address is the unique address of a particular host in that network.
Classful addressing is a network addressing the Internet's architecture from 1981 till Classless Inter-Domain Routing was introduced in 1993.
This addressing method divides the IP address into five separate classes based on four address bits.
Here, classes A, B, C offers addresses for networks of three distinct network sizes. Class D is only used for multicast, and class E reserved exclusively for experimental purposes.
Let's see each of the network classes in detail:
This IP address class is used when there are a large number of hosts. In a Class A type of network, the first 8 bits (also called the first octet) identify the network, and the remaining have 24 bits for the host into that network.
An example of a Class A address is 102.168.212.226. Here, "102" helps you identify the network and 168.212.226 identify the host.
Class A addresses 127.0.0.0 to 127.255.255.255 cannot be used and is reserved for loopback and diagnostic functions.
In a B class IP address, the binary addresses start with 10. In this IP address, the class decimal number that can be between 128 to 191. The number 127 is reserved for loopback, which is used for internal testing on the local machine. The first 16 bits (known as two octets) help you identify the network. The other remaining 16 bits indicate the host within the network.
An example of Class B IP address is 168.212.226.204, where *168 212* identifies the network and *226.204* helps you identify the Hut network host.
Class C is a type of IP address that is used for the small network. In this class, three octets are used to indent the network. This IP ranges between 192 to 223.
In this type of network addressing method, the first two bits are set to be 1, and the third bit is set to 0, which makes the first 24 bits of the address them and the remaining bit as the host address. Mostly local area network used Class C IP address to connect with the network.
Example for a Class C IP address:
192.168.178.1
Class D addresses are only used for multicasting applications. Class D is never used for regular networking operations. This class addresses the first three bits set to "1" and their fourth bit set to use for "0". Class D addresses are 32-bit network addresses. All the values within the range are used to identify multicast groups uniquely.
Therefore, there is no requirement to extract the host address from the IP address, so Class D does not have any subnet mask.
Example for a Class D IP address:
227.21.6.173
Class E IP address is defined by including the starting four network address bits as 1, which allows you two to incorporate addresses from 240.0.0.0 to 255.255.255.255. However, E class is reserved, and its usage is never defined. Therefore, many network implementations discard these addresses as undefined or illegal.
Example for a Class E IP address:
243.164.89.28
Here are the drawbacks/ cons of the classful IP addressing method:
The network ID will be assigned based on the below-given rules:
Computers communicate using networks. These networks could be on a local area network LAN or...
Training Summary An Ethical Hacker exposes vulnerabilities in software to help business owners fix...
YouTube TV is one of the most famous streaming services. VPN or Virtual Private Network helps you...
What is Digital Forensics? Digital Forensics is defined as the process of preservation,...
What is an IP Address? An Internet Protocol address is also known as IP address. It is a numerical label...
What is CISSP? CISSP- full form Certified Information Systems Security Professional is considered as a...