WHAT IS A NETWORK OR IP ADDRESS?
NETWORK ADRRESS
-Addresses are vital in network communication just as they are for locating places in the actual world. They may not be the typical home number, block number, or zip codes that we use, but the same concept is utilized to determine the address of a device on a network.
WHAT IS A NETWORK (IP) ADRRESS?
- A network address is a set of numbers called octets that identifies any network device like computer printer camera router switch and etc.) which will generally refer to as a host in a network. It is more commonly known as internet protocol address. It can be compared to the physical addresses that we use for our homes with uniquely identifies it from the rest of the homes in our neighborhood town city province country and the whole wide world, but unlike home addresses.
IPv4
- IPv4 address It is the precise version or type of IP address that we have all come to recognize and accept. Similarly, when we talk about IP addresses, we can't help but think of internet addresses. So, anytime we talk about IP addresses, we talk about IPv4 addresses that are used on the internet to help us comprehend what they are.
An IP address is a series of four sets of numbers called an "octets". For easier readability, we write this set of octets in what we call a "dotted decimal" notation: e.g., 192.168.1.120 or 74.125.224.72 (Google.com). Each octet in the series is a decimal value of 8 bits of binary number or 1 byte 00000000 is equal to 11111111 is equal to 255. So each will have a value range of 0-255 only. Having this is in mind, it would mean that there will only be a little less than 4.3 billion possible IP addresses available for each network host worldwide.
FIGURE: Showing the different IP address ranges for each class and the binary equivalent of each octet.
- How exactly does and IP address able to give a unique identity to a host in a network so that it can be located. As mentioned earlier, an IP address, unlike a physical home address, does not refer to any specific geographic location. Rather, it points to what particular network group a specific host belongs to, regardless of geographic location. A certain scheme has to be made in order for ip addresses to first identify which network a host belongs to, and second, identify the specific host itself. For this reason, the ip address was first divided into two parts: the net ID and the host ID.
- The net id is indicated by the first three high order beads of the first octet and is categorized into different classes. The 3 most common classes are classes A, B, and C classes D and E are really used especially among end-users like you and me. Let's look at how the first three high order bits of an ip address is determines the classes. Keep in mind that although you are used to looking at ip address is dotted-decimal format, you need to understand that these numbers are operated in their binary format.
From the below, we can see the different IP address ranges corresponding to the network classes it is associated with. These classes determine the network group to which a host belongs to. This information is important, especially for networks administrators, to be able to manage the networks properly.
Classifying IP addresses allows for easy searching through different network. It also allows for effective management of hosts in a particular network. Generally, class A IP addresses are assigned to organizations with a large number of host connecting to the network, class B is for medium-sized network of organizations, while class C is usually for networks run by small organizations or offices. Thus, allocation of IP addresses is done according to the size of network, which is determined by the number of hosts.
RESERVED IP ADDRESSES
- In some organizations, not all computers are directly connected to the Internet. Usually, these computers are connected through a local network and only connect to the Internet through one computer (usually a proxy or a gateway). In such cases, there is no need to reserve an IP address for the computers in this kinds of networks. For this reason, certain IP address blocks are reserved for each network class to make sure that this addresses do not conflict with IP addresses used in the internet.
FIGURE: Showing reserved IP address blocks for each network class.
Looking closely at the class C block, you will notice that this is commonly found if you are using routers like in small offices or even at home. Computers connected or members of this network will not be able to connect to the internet and less through the gateway address but can communicate among themselves. A gateway is a node that serves as the access point on a network — typically a router.
SUBNETTING AND SUBNET MASKS
- From the start of this lesson, we've always been talking about how network administrators can create different networks within a network (subnet). Realistically, by now, we would have almost depleted most of the ip addresses available through the IPv4 addressing. But network administrators manage to conserve and optimize the use of these addresses by creating logical networks that does not necessarily need Internet- routable IP addresses. They do this by using subnet masks.
Subnet masks are used to set or assign a logical network within a network. What happens is that, depending on the network class, we borrow certain bits of the IP address that is set for the hosts. This way, administrators are able to extend the network size by creating logical or subnetworks equivalent to as many as the number of beats it borrowed from the host ID side of the IP address.
Before we move forward, let us take a look at automatic subnet mask per network class to help us understand more about subnetting. whenever a particular host is assigned an ip address it also acquires an automatic or default subnet mask; i.e.,
- Class A - 255.0.0.0 ( 11111111.00000000.00000000.0000000)
- Class B - 255.255.0.0 ( 11111111.11111111.00000000.00000000)
- Class C - 255.255.255.0 ( 11111111.11111111.11111111.00000000)
- From the example given above, you can see that applying a default subnet mask for a class C network, where all bits are set to 1s, simply comes up with the same IP address giving it the impression of being absolute. What happens if we do apply for example a subnet mass of 255.255.255.192? Doing so would mean that we will be borrowing some binary bits from the host portion of the IP address, Thus:
IP ADDRESS:192.168.123.0 — 11000000.10101000.01111011.00000000
SUBNET: 255.255.255.255.192. — 11111111.11111111.11111111.11000000
- Looking at the binary conversion of the subnet mask above, the first two binary digits of the last octet becomes part of the network address as it comes out of being part of the whole series of ones. With the subnet given above, the administrator is effectively telling that the system that you want to use the first two bits of the last octet to indicate the network ID. this will now allow him or her to have four logical networks for the 192.168.123.0 block of IP address. The four network addresses then will be:
- 192.168.123.0-62
- 192.168.123.65-126
- 192.168.123.129-190
- 192.168.123.193-254