{"id":335,"date":"2017-02-03T07:51:00","date_gmt":"2017-02-03T07:51:00","guid":{"rendered":"https:\/\/opstree.com\/blog\/\/2017\/02\/03\/classless-inter-domain-routing-made-easy\/"},"modified":"2025-11-28T10:57:23","modified_gmt":"2025-11-28T05:27:23","slug":"classless-inter-domain-routing-made-easy","status":"publish","type":"post","link":"https:\/\/opstree.com\/blog\/2017\/02\/03\/classless-inter-domain-routing-made-easy\/","title":{"rendered":"Classless Inter Domain Routing Made Easy"},"content":{"rendered":"<div dir=\"ltr\" style=\"text-align: left;\">\n<div id=\"docs-internal-guid-c236b439-f483-d5f0-07d1-496e2f6b0dfe\" dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 3pt; margin-top: 0;\">Introduction :<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0; margin-top: 0; text-align: justify;\">One day I was working with VPC (Virtual Private Cloud) inside AWS(Amazon Web Services), where I had a need to calculate the CIDR notation of an IP address and subnet combinations.<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0; margin-top: 0; text-align: justify;\">I had to use online tools to calculate the Subnets and CIDR every time when I was working with VPC, but I found it interesting that how the network get \u00a0broken into different small Networks. So, finally I decided why not to learn CIDR Methods, and then calculate it by my own side instead of using tools every time.<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0; margin-top: 0; text-align: center;\"><\/div>\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0; margin-top: 0; text-align: justify;\">But the questions that striked in my mind were:<\/div>\n<ul style=\"margin-bottom: 0; margin-top: 0;\">\n<li style=\"background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; list-style-type: disc; text-decoration: none; vertical-align: baseline;\">\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0; margin-top: 0; text-align: justify;\">What is CIDR ?<\/div>\n<\/li>\n<li style=\"background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; list-style-type: disc; text-decoration: none; vertical-align: baseline;\">\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0; margin-top: 0; text-align: justify;\">How CIDR Came into Picture ?<\/div>\n<\/li>\n<li style=\"background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; list-style-type: disc; text-decoration: none; vertical-align: baseline;\">\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0; margin-top: 0; text-align: justify;\">What CIDR do ?<\/div>\n<\/li>\n<\/ul>\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0; margin-top: 0; text-align: justify;\">For Understanding CIDR &#8211; (Classless Inter-Domain Routing) few thing need to be cleared before :<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0; margin-top: 0; text-align: justify;\"><br class=\"kix-line-break\" \/>1. IP Addresses<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0; margin-top: 0; text-align: justify;\">2. Structure of IP Address<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0; margin-top: 0; text-align: justify;\">3. Internet Protocol Address Types<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0; margin-top: 0; text-align: justify;\">4. Classes<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0; margin-top: 0; text-align: justify;\">5. Network Mask<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0; margin-top: 0; text-align: justify;\">6. Subnetting<\/div>\n<h2 style=\"line-height: 1.2; margin-bottom: 6pt; margin-top: 18pt; text-align: justify;\">IP Address &#8211;<\/h2>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">It is the Address of the Computer, Laptop, Printers or even of the Mobile Sets.<br class=\"kix-line-break\" \/>Everyone has some Address, so as these devices also have an Internet Protocol Address (IP Address), also called as Logical Address.<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">In a Network there are many Computers \u2026<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Network..??<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">A Network is a group of two or more Computers Linked Together.<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">So When there are Many Computers in a Network, We need to uniquely identify each Computer, so there IP ADDRESS works as an Unique Identifier for Computers and Other Devices.<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">For Example : There are Twin Sisters, How we are going to Identify them differently \u00a0<br class=\"kix-line-break\" \/>By their Name that are unique for each of them.<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Here Name of the Girls are the IP Addresses that will be unique and the two Girls are the two Devices.<\/div>\n<h2 style=\"line-height: 1.2; margin-bottom: 6pt; margin-top: 18pt; text-align: justify;\">Structure of IP Address &#8211;<\/h2>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Now the Question is How do an IP Address looks like??<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">IP ADDRESS : 192.168.33.10<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">IP ADDRESS is made up of 32-Bit &#8211; 8.8.8.8 = (8+8+8+8=32 Bits)<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">A bit (short for binary digit) is the smallest unit of data in a computer.<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Binary Conversion for 192 :<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">192 :\u00a0\u00a0\u00a0 128\u00a0\u00a0\u00a0 \u00a0 64\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 32\u00a0\u00a0 \u00a0\u00a0 16\u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0 8 \u00a0\u00a0 \u00a0 4 \u00a0 \u00a0 \u00a0\u00a0 \u00a0 2 \u00a0 \u00a0 \u00a0\u00a0\u00a0 1<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a01\u00a0 \u00a0\u00a0 \u00a0\u00a0 1 \u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0 0 \u00a0\u00a0\u00a0 \u00a0 \u00a0 0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 0\u00a0 \u00a0 \u00a0\u00a0 0\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 0\u00a0 \u00a0 \u00a0 \u00a0\u00a0 0<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Bit 1 \u00a0\u00a0\u00a0Bit 2 \u00a0\u00a0\u00a0Bit 3 \u00a0\u00a0Bit 4 \u00a0\u00a0\u00a0\u00a0Bit 5 \u00a0\u00a0\u00a0Bit 6 \u00a0\u00a0Bit 7 \u00a0\u00a0\u00a0\u00a0Bit 8 \u00a0\u00a0\u00a0&#8211; Total Bit = 8<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">128+64 = 192 <br class=\"kix-line-break\" \/>So, 0\u2019s for Other and 1 for the Number whose sum will be 192<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Binary Conversion for 168 :<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">168 : \u00a0\u00a0\u00a0128\u00a0\u00a0 \u00a0\u00a0 64 \u00a0 \u00a0\u00a0\u00a0 32\u00a0 \u00a0 \u00a0 \u00a0\u00a0 16 \u00a0 \u00a0 \u00a0 8 \u00a0 \u00a0 \u00a0 \u00a0\u00a0\u00a0 4 \u00a0 \u00a0 \u00a0\u00a0\u00a0 2 \u00a0 \u00a0 \u00a0\u00a0 \u00a0 1<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a01 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a00 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a01 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a00 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a01 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a00 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a00 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a00<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Bit 1 \u00a0\u00a0\u00a0Bit 2 \u00a0\u00a0\u00a0Bit 3 \u00a0\u00a0Bit 4 \u00a0\u00a0\u00a0\u00a0Bit 5 \u00a0\u00a0\u00a0Bit 6 \u00a0\u00a0Bit 7 \u00a0\u00a0\u00a0\u00a0Bit 8 &#8211; Total Bit = 8<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Binary Conversion for 33 :<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">\u00a0\u00a033 : \u00a0\u00a0128\u00a0\u00a0 \u00a0 \u00a0\u00a0 64\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 32\u00a0\u00a0 \u00a0 \u00a0\u00a0 16\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 8\u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0 4\u00a0 \u00a0 \u00a0 \u00a0\u00a0 2\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 1<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a00 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a00 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a01 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a00 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a00 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a00 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a00 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a01<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Bit 1 \u00a0\u00a0\u00a0Bit 2 \u00a0\u00a0\u00a0Bit 3 \u00a0\u00a0Bit 4 \u00a0\u00a0\u00a0\u00a0Bit 5 \u00a0\u00a0\u00a0Bit 6 \u00a0\u00a0Bit 7 \u00a0\u00a0\u00a0\u00a0Bit 8 &#8211; Total Bit = 8<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Binary Conversion for 10 :<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">10 : \u00a0\u00a0\u00a0\u00a0128\u00a0 \u00a0 \u00a0\u00a0 64 \u00a0 \u00a0 \u00a0 32\u00a0\u00a0 \u00a0 \u00a0 \u00a0 16\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 8 \u00a0 \u00a0 \u00a0\u00a0 \u00a0 4 \u00a0 \u00a0 \u00a0\u00a0 \u00a0 2 \u00a0 \u00a0 \u00a0\u00a0 \u00a0 1<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a00 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a00 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a00 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a00 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a01 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a00 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a01 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a00<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Bit 1 \u00a0\u00a0\u00a0Bit 2 \u00a0\u00a0\u00a0Bit 3 \u00a0\u00a0Bit 4 \u00a0\u00a0\u00a0\u00a0Bit 5 \u00a0\u00a0\u00a0Bit 6 \u00a0\u00a0Bit 7 \u00a0\u00a0\u00a0\u00a0Bit 8 &#8211; Total Bit = 8<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">8.8.8.8 &#8211; total of 32 Bit.<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Dotted Decimal Notation : In dot form 4 Sections are called as OCTETS &#8211; Vendor Neutral Term for Bytes.<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Let a IP Be : 200.10.20.30<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Inside a Network : 200.10.20 &#8211; will remain same and 30 will be unique for each.<\/div>\n<h2 style=\"line-height: 1.8; margin-bottom: 6pt; margin-top: 18pt;\">Type of IP Address &#8211;<\/h2>\n<ol style=\"margin-bottom: 0; margin-top: 0;\">\n<li style=\"background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: bold; list-style-type: decimal; text-decoration: none; vertical-align: baseline;\">\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0; margin-top: 0; text-align: justify;\">Assignment Method<\/div>\n<\/li>\n<li style=\"background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: bold; list-style-type: decimal; text-decoration: none; vertical-align: baseline;\">\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0; margin-top: 0; text-align: justify;\">Classes : 1) Classful<br class=\"kix-line-break\" \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a02) Classless<\/div>\n<\/li>\n<li style=\"background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: bold; list-style-type: decimal; text-decoration: none; vertical-align: baseline;\">\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0; margin-top: 0; text-align: justify;\">Public \/ Private<\/div>\n<\/li>\n<li style=\"background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: bold; list-style-type: decimal; text-decoration: none; vertical-align: baseline;\">\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0; margin-top: 0; text-align: justify;\">Version<\/div>\n<\/li>\n<\/ol>\n<h3 style=\"line-height: 1.38; margin-bottom: 4pt; margin-top: 16pt; text-align: justify;\">Assignment Methods :<\/h3>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Assignment Method is method that defines how to assign an IP address to a Device.<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">IP Address can be assigned in two ways<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">1) Static IP Address<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Static IP Address is the IP Address in which configuration is done Manually and is used in small networks.<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">2) Dynamic IP Address<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Dynamic IP Address is the IP Address in which the configuration is done by the Computer Interface or by the Host Interface &#8211; DHCP (Dynamic Host Configuration Protocol)<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">&#8212; Configuration is Automatic&#8211;<\/div>\n<h2 style=\"line-height: 1.2; margin-bottom: 6pt; margin-top: 18pt; text-align: justify;\">Classes :<\/h2>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">classes define that in an IP, How much part will be for Network and How much is for Host.<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">There are 2 types of classes in IP Addressing :<\/div>\n<ol style=\"margin-bottom: 0; margin-top: 0;\">\n<li style=\"background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: bold; list-style-type: decimal; text-decoration: none; vertical-align: baseline;\">\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Classful<\/div>\n<\/li>\n<li style=\"background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: bold; list-style-type: decimal; text-decoration: none; vertical-align: baseline;\">\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Classless<\/div>\n<\/li>\n<\/ol>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">CLASSFUL : IP Address are divided into 5 Classes;<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Class A : 0 &#8211; 126 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0N.H.H.H \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Assigned for Large Organization<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">127\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0 \u00a0\u00a0\u00a0 N.H.H.H\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Assigned for the Loopback<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Class B : 128 &#8211; 191 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0N.N.H.H \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Assigned for Medium Companies<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Class C : 192 &#8211; 223 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0N.N.N.H \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Assigned for Small Organizations<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Class D : 224 &#8211; 239 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Assigned for Multicasting<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Class E : 240 &#8211; 255 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Assigned for Experimental Purpose<\/div>\n<hr \/>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">CLASSLESS : Classless addressing is an \u00a0IP address where a subnet mask does not define its class. \u00a0Subnet mask can be anywhere between bit 0 and bit 31.<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">CLASS A IP ADDRESS :<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Range of Class A IP Address : \u00a00.0.0.0 &#8211; 127.255.255.255<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Network ID : 8 Bit<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Host ID : 24 Bit (8+8+8)<\/div>\n<ul style=\"margin-bottom: 0; margin-top: 0;\">\n<li style=\"background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; list-style-type: disc; text-decoration: none; vertical-align: baseline;\">\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">IP Address begins with 0,First Bit will always be Zero<\/div>\n<\/li>\n<li style=\"background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; list-style-type: disc; text-decoration: none; vertical-align: baseline;\">\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">7 Remaining Bits in Network part : Only 128 Possible class A Network<\/div>\n<\/li>\n<li style=\"background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; list-style-type: disc; text-decoration: none; vertical-align: baseline;\">\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">24 Bits in Local Part : Over 16 million hosts per Class A Network<\/div>\n<\/li>\n<li style=\"background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; list-style-type: disc; text-decoration: none; vertical-align: baseline;\">\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">All class A network parts are assigned or reserved.<\/div>\n<\/li>\n<\/ul>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\"><\/div>\n<div dir=\"ltr\" style=\"margin-left: 0;\">\n<table style=\"border-collapse: collapse; border: none;\">\n<colgroup>\n<col width=\"123\" \/>\n<col width=\"126\" \/>\n<col width=\"129\" \/>\n<col width=\"150\" \/> <\/colgroup>\n<tbody>\n<tr style=\"height: 0;\">\n<td style=\"padding: 2pt; vertical-align: bottom; border: solid #cccccc .75pt;\">\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Network ID(N)<\/div>\n<\/td>\n<td style=\"padding: 2pt; vertical-align: bottom; border: solid #cccccc .75pt;\">\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Host ID(H)<\/div>\n<\/td>\n<td style=\"padding: 2pt; vertical-align: bottom; border: solid #cccccc .75pt;\">\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Host ID(H)<\/div>\n<\/td>\n<td style=\"padding: 2pt; vertical-align: bottom; border: solid #cccccc .75pt;\">\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Host ID(H)<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a07 8 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a031<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">0NNNNNNN \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0. \u00a0\u00a0\u00a0\u00a0\u00a0HHHHHHHH \u00a0\u00a0\u00a0\u00a0. \u00a0\u00a0\u00a0\u00a0\u00a0HHHHHHHH \u00a0\u00a0. \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0HHHHHHHH<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">In Binary :<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Class A starts from : 00000000.00000000.00000000.00000000<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Class A ends at \u00a0\u00a0\u00a0\u00a0\u00a0: 01111111.11111111.11111111.11111111<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">In Decimal :<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Class A IP Address is from 0.0.0.0 to 127.255.255.255<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Number of Networks : 2^7 = 128<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Number of Hosts : 2^24<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">SOME EXCEPTIONS IN CLASS A : Cannot be assigned to host<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">0.0.0.0 : For Self check &#8211; Represent Default Network or M<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">0.255.255.255 : For Self check &#8211; Represent Default Network or My IP<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">127.0.0.0 : Loop Back Address Range : solve NIC Problem<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">127.255.255.255 : Loop Back Address Range : solve NIC Problem<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\"><\/div>\n<hr \/>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">CLASS B IP ADDRESS :<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Range of Class B IP Address : 128.0.0.0 &#8211; 191.255.255.255<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Network ID : 16 Bit(8+8)<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Host ID : 16 Bit (8+8)<\/div>\n<ul style=\"margin-bottom: 0; margin-top: 0;\">\n<li style=\"background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; list-style-type: disc; text-decoration: none; vertical-align: baseline;\">\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">First two Bit will always be One and Zero<\/div>\n<\/li>\n<li style=\"background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; list-style-type: disc; text-decoration: none; vertical-align: baseline;\">\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">14 Bits in Network part &#8211; Over 16,000 possible Class B Network<\/div>\n<\/li>\n<li style=\"background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; list-style-type: disc; text-decoration: none; vertical-align: baseline;\">\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">16 Bits in Local Part \u00a0&#8211; Over 65,000 possible Hosts<\/div>\n<\/li>\n<\/ul>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\"><\/div>\n<div dir=\"ltr\" style=\"margin-left: 0;\">\n<table style=\"border-collapse: collapse; border: none;\">\n<colgroup>\n<col width=\"123\" \/>\n<col width=\"126\" \/>\n<col width=\"129\" \/>\n<col width=\"150\" \/> <\/colgroup>\n<tbody>\n<tr style=\"height: 0;\">\n<td style=\"padding: 2pt; vertical-align: bottom; border: solid #cccccc .75pt;\">\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Network ID(N)<\/div>\n<\/td>\n<td style=\"padding: 2pt; vertical-align: bottom; border: solid #cccccc .75pt;\">\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Network ID(N)<\/div>\n<\/td>\n<td style=\"padding: 2pt; vertical-align: bottom; border: solid #cccccc .75pt;\">\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Host ID(H)<\/div>\n<\/td>\n<td style=\"padding: 2pt; vertical-align: bottom; border: solid #cccccc .75pt;\">\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Host ID(H)<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a015 | 16\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a031<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">10NNNNNN \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0. \u00a0\u00a0\u00a0\u00a0NNNNNNNN \u00a0\u00a0\u00a0\u00a0. HHHHHHHH \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0. HHHHHHHH<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">In Binary :<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Class B starts fr0m : 10000000.00000000.00000000.00000000<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Class B ends at \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0: 10111111.11111111.11111111.11111111<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">In Decimal :<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Class B IP Address is from \u00a0128.0.0.0 to 191.255.255.255<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Number of Networks : 2^14<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Number of Hosts : 2^16<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">SOME EXCEPTIONS IN CLASS B : Cannot be assigned to host<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">169.254.X.X : Reserved for APIPA (Automatic Private IP Address) &#8211; Host take IP Automatically ifit doesn\u2019t get any DHCP Server in the Network.<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\"><\/div>\n<hr \/>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">CLASS C IP ADDRESS :<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Range of Class B IP Address : 192.0.0.0 &#8211; 223.255.255.255<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Network ID : 24 Bit(8+8+8)<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Host ID : 8 Bit (8)<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">**Most Popular and Commonly Used**<\/div>\n<ul style=\"margin-bottom: 0; margin-top: 0;\">\n<li style=\"background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; list-style-type: disc; text-decoration: none; vertical-align: baseline;\">\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">First three Bit will always be One,One and Zero<\/div>\n<\/li>\n<li style=\"background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; list-style-type: disc; text-decoration: none; vertical-align: baseline;\">\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">21 Bits in Network part &#8211; Over 2 Million \u00a0possible Class C Network<\/div>\n<\/li>\n<li style=\"background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; list-style-type: disc; text-decoration: none; vertical-align: baseline;\">\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">8 Bits in Local Part \u00a0&#8211; Only \u00a0256 possible Hosts per class C Network<\/div>\n<\/li>\n<\/ul>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\"><\/div>\n<div dir=\"ltr\" style=\"margin-left: 0;\">\n<table style=\"border-collapse: collapse; border: none;\">\n<colgroup>\n<col width=\"123\" \/>\n<col width=\"126\" \/>\n<col width=\"129\" \/>\n<col width=\"150\" \/> <\/colgroup>\n<tbody>\n<tr style=\"height: 0;\">\n<td style=\"padding: 2pt; vertical-align: bottom; border: solid #cccccc .75pt;\">\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Network ID(N)<\/div>\n<\/td>\n<td style=\"padding: 2pt; vertical-align: bottom; border: solid #cccccc .75pt;\">\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Network ID(N)<\/div>\n<\/td>\n<td style=\"padding: 2pt; vertical-align: bottom; border: solid #cccccc .75pt;\">\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Network ID(N)<\/div>\n<\/td>\n<td style=\"padding: 2pt; vertical-align: bottom; border: solid #cccccc .75pt;\">\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Host ID(H)<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a023 | 24 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a031<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">110NNNNN \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0. \u00a0\u00a0\u00a0NNNNNNNN \u00a0\u00a0. \u00a0\u00a0\u00a0\u00a0\u00a0NNNNNNNN \u00a0\u00a0\u00a0\u00a0. \u00a0\u00a0\u00a0\u00a0\u00a0HHHHHHHH<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">In Binary :<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Class C starts from : 1100000.00000000.00000000.00000000<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Class C ends at \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0: 11011111.11111111.11111111.11111111<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">In Decimal :<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Class C IP Address is from \u00a0192.0.0.0 to 223.255.255.255<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Number of Networks : 2^21<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Number of Hosts : 2^8<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\"><\/div>\n<hr \/>\n<p>&nbsp;<\/p>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">CLASS D IP ADDRESS :<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Range : 224.0.0.0 &#8211; 239.255.255.255 <br class=\"kix-line-break\" \/>IP Address begins with 1110<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\"><br class=\"kix-line-break\" \/>Used for Multicasting, Not defining networks.<\/div>\n<ul style=\"margin-bottom: 0; margin-top: 0;\">\n<li style=\"background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; list-style-type: disc; text-decoration: none; vertical-align: baseline;\">\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Sending messages to group of hosts<\/div>\n<\/li>\n<li style=\"background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; list-style-type: disc; text-decoration: none; vertical-align: baseline;\">\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">just to one (Unicasting)<\/div>\n<\/li>\n<li style=\"background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; list-style-type: disc; text-decoration: none; vertical-align: baseline;\">\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">ALL HOSTS (Broadcasting)<\/div>\n<\/li>\n<li style=\"background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; list-style-type: disc; text-decoration: none; vertical-align: baseline;\">\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Say to send a videoconference stream to a group of receivers<\/div>\n<\/li>\n<\/ul>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">In Binary :<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Class D starts from : 11100000.00000000.00000000.00000000<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Class D end at \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0: 11101111.11111111.11111111.11111111<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">In Decimal :<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Class D IP Address is from \u00a0224.0.0.0 to 239.255.255.255<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">224.0.0.5 &#8211; OSPF <br class=\"kix-line-break\" \/>All OSPF Routers address is used to send HELLO PACKETS<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">224.0.0.6 &#8211; OSPF <br class=\"kix-line-break\" \/>All the routers address is used to send OSPF routing information to designated routers on a network segment.<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">224.0.0.9 &#8211; The Routing Information Protocol (RIP) version 2 group address is used to send routing information to all RIP2-aware routers on a network segment.<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">224.0.0.10 &#8211; EIGRP <br class=\"kix-line-break\" \/>used to send routing information to all EIGRP routers on a network segment.<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">224.0.0.18 &#8211; Virtual Router Redundancy Protocol.<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0; margin-top: 0; text-align: justify;\"><\/div>\n<hr \/>\n<h3 style=\"line-height: 1.38; margin-bottom: 4pt; margin-top: 16pt; text-align: justify;\">Private\/Public:<\/h3>\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0; margin-top: 0; text-align: justify;\">PUBLIC :<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0; margin-top: 0; text-align: justify;\">A public also called as \u00a0External IP address is the one that your ISP (Internet Service Provider) provides to identify your home network to the outside world. It is an IP address that is unique throughout the entire Internet.<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0; margin-top: 0; text-align: justify;\">When you&#8217;re setting up your router, if your ISP issued you a static IP address, you enter it into your router&#8217;s settings. For a dynamic IP address, you specify DHCP in your router&#8217;s network settings. DHCP is Dynamic Host Control Protocol. It tells your router to accept whatever public IP address your ISP issues.<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0; margin-top: 0; text-align: justify;\">Those who wanted not to connect through internet but they wanted to run their network on TCP\/IP Protocol<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0; margin-top: 0; text-align: justify;\">Here came the concept of PRIVATE \u00a0IP<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0; margin-top: 0; text-align: justify;\">PRIVATE :<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0; margin-top: 0; text-align: justify;\">Just as your network&#8217;s public IP address is issued by your ISP, your router issues private (or internal) IP addresses to each network device inside your network. This provides unique identification for devices that are within your home network, such as your computer, your Slingbox, and so on.<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">THEY ARE NOT ROUTABLE<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">CLASS A PRIVATE ADDRESS \u00a0\u00a010.0.0.0 &#8211; 10.255.255.255<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">CLASS B PRIVATE ADDRESS \u00a0\u00a0172.16.0.0 &#8211; 172.31.255.255<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">CLASS C PRIVATE ADDRESS \u00a0\u00a0192.168.0.0 &#8211; 192.168.255.255<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Internet Protocol Address :<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Reserved IP Address :<\/div>\n<ol style=\"margin-bottom: 0; margin-top: 0;\">\n<li style=\"background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; list-style-type: decimal; text-decoration: none; vertical-align: baseline;\">\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Addresses beginning with 127 are reserved for loopback and internal testing &#8211; Used for Self Testing that TCP\/IP is properly working or not.<\/div>\n<\/li>\n<li style=\"background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; list-style-type: decimal; text-decoration: none; vertical-align: baseline;\">\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">XXX.0.0.0 reserved for Network Address<\/div>\n<\/li>\n<li style=\"background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; list-style-type: decimal; text-decoration: none; vertical-align: baseline;\">\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">XXX.255.255.255 reserved for Broadcast<\/div>\n<\/li>\n<li style=\"background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; list-style-type: decimal; text-decoration: none; vertical-align: baseline;\">\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">0.0.0.0 &#8211; First Address &#8211; Represent Local Network \/ Used for Default Routing<\/div>\n<\/li>\n<li style=\"background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; list-style-type: decimal; text-decoration: none; vertical-align: baseline;\">\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">255.255.255.255 &#8211; Broadcast<\/div>\n<\/li>\n<\/ol>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">Example : Let a Class A IP Address be &#8211; 101.101.101.101<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Network Address &#8211; 101.0.0.0<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0BroadCast Address &#8211; 101.255.255.255<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-left: 36pt; margin-top: 0; text-align: justify;\">\u00a0: Let a Class B IP Address be &#8211; 150.150.150.150<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.2; margin-bottom: 0; margin-top: 0; text-align: justify;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Network Address &#8211; 150.150.0.0<\/div>\n<div dir=\"ltr\" style=\"line-height: 1.38; margin-bottom: 0; margin-top: 0; text-align: justify;\">\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0BroadCast Address &#8211; 150.150.255.255<\/p>\n<div dir=\"ltr\" style=\"border: 0; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 1.2; margin: 0; padding: 0; text-align: justify; vertical-align: baseline;\">I hope that gives you a good knowledge of IP Addresses and their classes.<\/div>\n<div dir=\"ltr\" style=\"border: 0; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 1.2; margin: 0; padding: 0; text-align: justify; vertical-align: baseline;\">Now, We can move on to what sub-netting is, in my next blog.<\/div>\n<div dir=\"ltr\" style=\"border: 0; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 1.2; margin: 0; padding: 0; text-align: justify; vertical-align: baseline;\"><\/div>\n<div dir=\"ltr\" style=\"border: 0; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 1.2; margin: 0; padding: 0; text-align: justify; vertical-align: baseline;\">Please Follow this link to get on to sub-netting &#8211;<br \/>\n<span id=\"docs-internal-guid-f112d5e4-02f8-4b42-b091-004b3830513c\"><span style=\"background-color: transparent; color: #1155cc; font-family: Arial; font-size: 11pt; text-decoration: none; vertical-align: baseline;\">Classless Inter Domain Routing Made Easy (Cont..)<\/span><\/span><\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Introduction : One day I was working with VPC (Virtual Private Cloud) inside AWS(Amazon Web Services), where I had a need to calculate the CIDR notation of an IP address and subnet combinations. I had to use online tools to calculate the Subnets and CIDR every time when I was working with VPC, but I &hellip; <a href=\"https:\/\/opstree.com\/blog\/2017\/02\/03\/classless-inter-domain-routing-made-easy\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Classless Inter Domain Routing Made Easy&#8221;<\/span><\/a><\/p>\n","protected":false},"author":171775670,"featured_media":29900,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[28070474],"tags":[676319256,676319257,768739308,676319247,267172,768739285,768739290,946984,676319258,768739302],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/opstree.com\/blog\/wp-content\/uploads\/2025\/11\/DevSecOps-1.jpg","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pfDBOm-5p","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/opstree.com\/blog\/wp-json\/wp\/v2\/posts\/335"}],"collection":[{"href":"https:\/\/opstree.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/opstree.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/opstree.com\/blog\/wp-json\/wp\/v2\/users\/171775670"}],"replies":[{"embeddable":true,"href":"https:\/\/opstree.com\/blog\/wp-json\/wp\/v2\/comments?post=335"}],"version-history":[{"count":3,"href":"https:\/\/opstree.com\/blog\/wp-json\/wp\/v2\/posts\/335\/revisions"}],"predecessor-version":[{"id":30094,"href":"https:\/\/opstree.com\/blog\/wp-json\/wp\/v2\/posts\/335\/revisions\/30094"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/opstree.com\/blog\/wp-json\/wp\/v2\/media\/29900"}],"wp:attachment":[{"href":"https:\/\/opstree.com\/blog\/wp-json\/wp\/v2\/media?parent=335"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/opstree.com\/blog\/wp-json\/wp\/v2\/categories?post=335"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/opstree.com\/blog\/wp-json\/wp\/v2\/tags?post=335"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}