0% found this document useful (0 votes)
33 views1 page

Subnet Example

This document provides a cheat sheet for subnetting IP addresses: - It explains that the first octet of an IP address determines its class and default subnet mask. - To calculate the new subnet mask, add the binary bit values for each "borrowed bit" starting from the left. - The binary value of the last borrowed octet is used to divide the network into subnets.

Uploaded by

espartanox
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views1 page

Subnet Example

This document provides a cheat sheet for subnetting IP addresses: - It explains that the first octet of an IP address determines its class and default subnet mask. - To calculate the new subnet mask, add the binary bit values for each "borrowed bit" starting from the left. - The binary value of the last borrowed octet is used to divide the network into subnets.

Uploaded by

espartanox
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

DigiP's Sub Netting Cheat Sheet

Octet Bit Values: all 1's = 255 ex: 11111111


128
64
32
16
8
4
2
1
Binary Bit Value
2^7
2^6
2^5
2^4
2^3
2^2
2^1
2^0
2 to the power of
128
192
224
240
248
252
254
255
Subnet Mask
For every borrowed bit(Starting Left to right) you add the Binary Bit values to get the Subnet Mask. The Binary
value in row 3 is the divider you use for your Base Network ID.
N = Number of Borrowed Bits
2^N = Total Subnets
32 total bits, 8 in each octet. Number of Borrowed bits
H = Number of Remaining Bits
2^H 2 = Total Hosts
plus default mask, subtracted from 32 gives you the value of H.
1-126 = A
128-191 = B 192-223 = C The First OCTET in an IP address determines the Class and Default Subnet Mask.
IP address:

192.168.1.0-255

IP Address Given to work with.

Mask:

255.255.255.0

Default Mask

Number of Bits Borrowed (N):

CIDR Value: /24

Default CIDR

Number of Remaining Bits (H):

New Mask:

255.255.255.192

Need 3 subnets, divide accordingly

New CIDR:

/26

2^N = Total Subnets:

Divider:

64

2^H 2 = Total Hosts:

62

Ex:192.168.1.1/27 Divider is 32, Subnet Mask is 255.255.255.224


Base ID / Subnet

Host Start Range

Host End Range

Broadcast

1 192.168.1.0
2 192.168.1.64

192.168.1.1
192.168.1.64

192.168.1.62
192.168.1.126

192.168.1.63
192.168.1.127

s
u

3 192.168.1.128

192.168.1.128

192.168.1.190

192.168.1.191

4 192.168.1.192

192.168.1.192

192.168.1.254

192.168.1.255

5 Cant go past 255, value is 256 when divider is added to 192, subtract 1,
6 gives you last Host address broadcast octet.

e
t

8
9

10

11
12

b
n

13

14

15
16

17

18
19

u
b

20

21
22

e
t

23

24
25

First determine your IP Class. Then determine the DEFAULT subnet mask. For every borrowed bit, you add the Binary bit value,
and this determines your new Subnet mask value. The ending octet you borrow from is where you begin sub netting your network.
Borrowed Bits + Default Subnet Mask Bits = CIDR Value.
Example:
11111111
11111111
11000000
Mask
255
255
192
CIDR Value:
/18

00000000
0

You might also like