Subnetting Calculation


 CALCULATE SUBNETTING

Step 1

IP Address: 192.168.4.0/24    

Default subnet mask: 255.255.255.0

Custom subnet mask: 255.255.255.224

 

Subnet

1

2

4

8

16

32

64

128

256

Host

256

128

64

32

16

8

4

2

1

Subnet Mask

/24

/25

/26

/27

/28

/29

/30

/31

/32

 

Step 2

First, we must locate the bits that have been borrowed. Because our subnet mask is 24, we utilise formula 2s – 2 and approximate it to 24. The 'S' represents the bits that have been borrowed. We apply the same method for the number of subnets, but without the approximation to 24. We apply the formula 2H– 2 for the host address.

Number of bits borrowed =    2s – 2 = 24

                                                        2s = 26

                                                        25 = 32 > 26

                                                            S = 5

                         

Number of host = 2H – 2 = 32

   = 25 – 2 = 30                                    

 

Magic number = 32

              

Step 3

After that, we begin subnetting. Network Address, first IP Address, last IP Address, and Broadcast Address are the four addresses.

Subnet

Network Address

IP Address

Broadcast Address

0 (1)

192.168.4.0

192.168.4.1 – 192.168.4.30

192.168.4.31

 

1 (2)

192.168.4.32

192.168.4.33 – 192.168.4.62

192.168.4.63

2 (3)

192.168.4.64

 

192.168.4.65 – 192.168.4.96

192.168.4.95

3 (4)

192.168.4.96

192.168.4.97 – 192.168.4.126

192.168.4.127

4 (5)

192.168.4.128

192.168.4.129 – 192.168.4.158

192.168.4.159

5 (6)

192.168.4.160

192.168.4.161 – 192.168.4.190

192.168.4.191

6 (7)

192.168.4.192

192.168.4.193 – 192.168.4.222

192.168.4.223

7 (8)

192.168.4.224

192.168.4.225 – 192.168.4.254

192.168.0.255

 

 

 

 

Comments

Popular posts from this blog

OSI Layer Model

TCP/IP Manual