{"id":2929,"date":"2021-08-23T05:25:21","date_gmt":"2021-08-23T05:25:21","guid":{"rendered":"https:\/\/routerctrl.com\/?p=2929"},"modified":"2021-08-23T05:27:43","modified_gmt":"2021-08-23T05:27:43","slug":"198-162-1-1","status":"publish","type":"post","link":"https:\/\/routerctrl.com\/198-162-1-1\/","title":{"rendered":"198.162.1.1"},"content":{"rendered":"

If you try to type 198.162.1.1 in your browser, you will probably get a message like in the picture below. Why is that happening? Are you using the right address? What kind of address is 198.162.1.1? Is this address your default gateway? You will find all the answers in this article.\u00a0<\/b><\/p>\n

\"198.162.1.1\"<\/p>\n

Basics of IP Addressing<\/h2>\n

IP addresses are something like codes or phone numbers assigned to every device connected to a network, so they can be recognized and located on that network. Without an IP address, a device can\u2019t do anything on a network. It can\u2019t even connect to the network.\u00a0<\/span><\/p>\n

The form of an IP address and the entire process of IP address assignment is defined by the protocols (<\/span>IPv4<\/span><\/a> and <\/span>IPv6<\/span><\/a>). The protocol that is currently in use is IPv4. The IPv6 protocol is designed for future purposes and is not in use, yet. IPv4 is a set of rules that defines fundamental principles of IP addressing. You can think of it as the Constitution of IP addressing.<\/span><\/p>\n

IPv4 defines an IP address as a 32-bit long sequence of 1s and zeros. The sequence is divided into 4 parts \u2013 4 octets. Each octet has 8 bits. Each device connected to a network must have a unique IP address.\u00a0<\/span><\/p>\n

What our computers see are ones and zeros. Networking equipment and servers also use this binary form to communicate. However, what we perceive as an IP address is much simpler. We see an IP address as a four-number sequence with dots between numbers. But it can\u2019t be just any number. It has to be a number between 0 and 255. The reason is simple \u2013 when you convert numbers from binary form to numeric values, the highest number you can write with eight 1s and 0s is 255 (11111111). The lowest number, logically, is zero (00000000). So, 198.162.1.1 is a valid IP address, but 198.168.1.1 is not.<\/span><\/p>\n

\"198.168.1.1<\/p>\n

The total number of different combinations of 32 bits (the total number of IPv4 addresses) is 2<\/span>32<\/span>. That\u2019s almost 4.3 billion IP addresses.\u00a0<\/span><\/p>\n

The total number of different devices that can be connected to the internet is more than 10 billion. So, assuming that they are all connected to the internet at the same time, it would be impossible to assign a unique IP address to each device (because we only have 4.3 billion addresses). And these are just devices. We also have websites (1.88 billion) and each website also has an IP address. So, without introducing some new rules, the IPv4 protocol would become obsolete. There wouldn\u2019t be enough addresses for all the devices and websites in the world.<\/span><\/p>\n

This issue is resolved by introducing some divisions and reserving large blocks of addresses for special purposes.<\/span><\/p>\n

Classes of IP Addresses<\/h2>\n

All the existing IPv4 addresses are divided into classes. There are 5 classes (A, B, C, D, E). These blocks are not equal \u2013 some are larger and some are smaller. Each class is designed for a different purpose and a different network type.\u00a0<\/span><\/p>\n

\"Class<\/p>\n

Class A is the largest. It encompasses half of all the available addresses (2<\/span>31<\/span> or 2.15 billion IP addresses). This class of addresses is reserved for large networks. In this class, 8 bits define the network, while 24 bits define the host. This means, that you can have a lot of hosts on one network.\u00a0<\/span><\/p>\n

Class B encompasses 1.07 billion addresses (2<\/span>30<\/span>). It is designed for medium-sized networks. In this class, 16 bits define the network, while the other 16 bits define the host. Compared to Class A, you can have more networks with fewer hosts\/clients on each network.<\/span><\/p>\n

Class C encompasses almost 537 million addresses (2<\/span>29<\/span>). This class is reserved for smaller networks. In this class, 24 bits define the network, while 8 bits define the host\/client. That means that you can have lots of networks with a relatively small number of hosts\/clients on each network.<\/span><\/p>\n

Class D and Class E encompass 268.4 million addresses each. Class D addresses are reserved for <\/span>multicast<\/span><\/a> (not for networks), while class E addresses are reserved for experimental purposes.<\/span><\/p>\n

Public and Private IP Addresses<\/h2>\n

The division into classes brings order into IP addressing but doesn’t extend the life of IPv4 protocol. We still have the same problem \u2013 too many devices and too few addresses. To resolve this issue, IP addressing authorities introduced two new terms \u2013 public and private IP addresses.\u00a0<\/span><\/p>\n

A large majority of all the IP addresses are public, but there’re dedicated blocks of private addresses inside the first three classes (A, B, and C). Class A private addresses are all 10.x.x.x addresses. Class B private addresses are addresses from the following scope \u2013 172.16.0.0-172.31.255.255. Class C private addresses are all 192.168.x.x addresses. In total, we have 18 million private IP addresses.\u00a0<\/span><\/p>\n

So, what’s the purpose of this division, and how it managed to prolong the life of the IPv4 protocol? The answer is simple \u2013 the introduction of reserved blocks of private addresses allowed us to use one (private) address multiple times. Every single private IP address can be used an unlimited number of times on an unlimited number of local area networks. But, there’re still some rules. A detailed explanation follows.<\/span><\/p>\n

The difference between public and private networks is that the first one can be routed over the internet, while the latter cannot be routed.\u00a0<\/span><\/p>\n

Private addresses are meant for use on smaller private networks (LAN networks), not for accessing the internet. Every device connected to your home wi-fi network has a private IP address. These addresses are assigned by the router. The router holds a predefined scope of private IP addresses (aka DHCP pool) and it assigns these addresses to every device that connects to your wi-fi. The devices use these private addresses only for communication with other devices on the same network.\u00a0<\/span><\/p>\n

Similar Articles:\u00a0<\/strong><\/p>\n