The most viewed posts

Registry Reviver

How to clean up Windows Computer

About Desktop Icons in Windows Computer

Driver Booster

CCleaner

Myanmar font and keyboard for Windows

Advanced System Care

some (JavaScript Array Method)

Web Development Services

How to make a computer secure and run faster

The most viewed items

Desktop Hard Disk

Dell Inspiron 5559

HP ProBook 430

SONY Playstation Portable

Laptop RAM

External Hard Disk

Laptop

ZilaStar ICT Dec 1 2018, 15:22:30
Category : Computer Networking Tutorials

Calculating IP Address Version (4)

There are four octet in IPV4. Each octet has 8 bits. So, there are 32 bits in IPV4. IPV4 is based on binary (0, 1) and decimal (0 to 9).

First OctetSecond OctetThird OctetFourth Octet
8 bits8 bits8 bits8 bits
2726252423222120   2726252423222120   2726252423222120   2726252423222120
255.255.255.255255.255.255.255255.255.255.255255.255.255.255


How to become 255.255.255.255 ? As each octet has 8 bit and is based on binary.... 27 = 128,  26 = 64,  25 = 32, 24 = 16,  23 = 8,  22 = 4, 21 = 2,  20 = 1 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255




Decimal




=

Binary

1st Octet
2nd Octet
3rd Octet
4th Octet
       
1st Octet
2nd Octet
3rd Octet

4th Octet

192.168.1.0
 
11000000.10101000.00000001
.00000000


Let's explore 192.168.1.0/24.... Network Address = 192.168.1.0 Subnet Mask = 255.255.255.0 Usable IP Addresses = 192.168.1.1 to 192.168.1.254 Broadcast Address = 192.168.1.255

Let's explore 192.168.1.0/25.... 1nd Network Address = 192.168.1.0 Subnet Mask = 255.255.255.128 Usable IP Addresses = 192.168.1.1 to 192.168.1.126 Broadcast Address = 192.168.1.127 2nd Network Address = 192.168.1.128 Subnet Mask = 255.255.255.128 Usable IP Addresses = 192.168.1.129 to 192.168.1.254 Broadcast Address = 192.168.1.255

Let's explore 192.168.1.0/26... 1st Network Address = 192.168.1.0 Subnet Mask = 192.168.1.192 Usable IP Addresses = 192.168.1.1 to 192.168.1.62 Broadcast Address = 192.168.1.63 2nd Network Address = 192.168.1.64 Subnet Mask = 192.168.1.192 Usable IP Addresses = 192.168.1.65 to 192.168.1.126 Broadcast Address = 192.168.1.127 3rd Network Address = 192.168.1.128 Subnet Mask = 192.168.1.192 Usable IP Addresses = 192.168.1.129 to 192.168.1.190 Broadcast Address = 192.168.1.191 4th Network Address = 192.168.1.192 Subnet Mask = 192.168.1.192 Usable IP Addresses = 192.168.1.193 to 192.168.1.254 Broadcast Address = 192.168.1.255 (Note: The Subnet Mask is reverse proportional to host range. The larger the subnet mask, the smaller the host range.)

The following table is formula for Ipv4 addresses (Class C). I've made it when I was in Singapore Polytechnic.

Binary   Decimal    PrefixSubnet Mask   Count of Networks    Usable IP Range
--/24 255.255.255.01254
27128/25   255.255.255.1282126
2664/26   255.255.255.192462
2532/27   255.255.255.224830
2416/28   255.255.255.2401614
238/29   255.255.255.248326
224/30   255.255.255.252642

  • Comments:

    No comment to show.

    To Contact
    Available Services
    Terms and Conditions