The IP address (or Internet Protocol Address) is one of network protocols in the form of a computer address that aims to access content that exists within the Internet network. The function of the IP Address is as the address when transmitting data between hosts on the internet network. It makes the IP Address a universal communication system and has become a computer addressing method applied worldwide
In a computer network, the IP address of each connected host must be different. So, if on a computer network connected two computers, then both computers have their own "address". Another story if there is a computer on the network that has more than one Internet interface (eg using two Network Interface Cards, one LAN Card and one WLAN Card / Wi-Fi), then the computer must have two IP addresses, where each IP address is intended for an internet interface.
Addressing computers with IP addresses can not be done haphazardly. You will not see the same IP address on a computer network. The reason, if there is a twin IP address on a different host, there will be a conflict within the network. To prove, try doing how to check IP address on your computer with other computers connected on the same network. Then, equate the IP address on each computer and see what happens.
The IP Address itself is separated into two parts, ie the network (net ID) and host part (host ID). Net ID as a sign of identification of a network from another computer network, while the host ID as a sign identification host in a network. Thus, all hosts connected in the same network have the same net ID. Some of the initial bits in the IP Address are network bits or network numbers, while the rest are host bits. To distinguish the net ID and host ID, there is a sort of dividing line specified from the class division of IP address and subnetting done on a computer network.
The dividing line between net ID and host ID is not always fixed, depending on its network class. This is because the IP address is divided into five classes, namely class A, B, C, D, and E. The difference between each class is the size and number of hosts. IP address also need to be subnetting for usage of IP address in computer network become efficient. On this occasion, we will give an example of class B IP address and its subnetting. Here is the information
Definition of class IP Address B
Two bits in class B IP address are always set to "10" in binary numbers. So the first byte is always worth between 128-191 in the decimal number. The Net ID is the first 16 bits and the remaining 16 bits are the host ID. Thus, if any computer has an IP address 18.104.22.168, then its net ID = 191.147 and its host ID = 26.161. The IP address of this class has an IP range of 128.0.xxx.xxx to 191.155.xxx.xxx. If summed, then the IP address of this class will have 65.255 network number with the number of hosts per network that is about 65 thousand hosts. The bit in the IP address of this class can be described as follows:
n = bit network; h = bit host
Subnetting IP Address Class B
In the networking world, you must understand the name of subnetting. As we explained earlier, subnetting is done so that the usage of IP address on the computer network becomes efficient. At this time, we will give you an example of class B IP address and subnetting.
Now we will try to do subnetting on class B. The first thing you should know is the subnet mask that can be used for subnetting IP address class B is like the table below.