Subnetting

SUBNETTING

 

/25

/26

/27

/28

/29

/30

/31

/32

128

64

32

16

8

4

2

1

128

192

224

240

248

252

254

255

 

Hexadecimal is base 16.

Hex. prefix = 0x, Hex. suffix = h

0x3F7A = 0011 1111 0111 1010

 

Dec Hex Binary
0 0 0000
1 1 0001
2 2 0010
3 3 0011
4 4 0100
5 5 0101
6 6 0110
7 7 0111
8 8 1000
9 9 1001
10 A 1010
11 B 1011
12 C 1100
13 D 1101
14 E 1110
15 F 1111

 

Private IPv4 Ranges:

  • 10.0.0.0 – 10.255.255.254
  • 172.16.0.0 – 172.31.255.254
  • 192.168.0.0 – 192.168.255.254
Private Addresses:

  • 10.0.0.0 – 10.255.255.255 (10.0.0.0 /8)
  • 172.16.0.0 – 172.31.255.255 (172.16.0.0 /12)
  • 192.168.0.0 – 192.168.255.255 (192.168.0.0 /16

  

/bits Subnet Mask IP Hosts
/8 255.0.0.0 16777216
/9 255.128.0.0 8388608
/10 255.192.0.0 4194304
/11 255.224.0.0 2097152
/12 255.240.0.0 1048576
/13 255.248.0.0 524288
/14 255.254.0.0 262144
/15 255.254.0.0 131072
/16 255.255.0.0 65536
/17 255.255.128.0 32768
/18 255.255.192.0 16384
/19 255.255.224.0 8192
/20 255.255.240.0 4096
/21 255.255.248.0 2048
/22 255.255.252.0 1024
/23 255.255.254.0 512
/24 255.255.255.0 256
/25 255.255.255.128 128
/26 255.255.255.192 64
/27 255.255.255.224 32
/28 255.255.255.240 16
/29 255.255.255.248 8
/30 255.255.255.252 4
IP Host – 2 (network & broadcast) = Usable IPs

 

Octet:  8bits = 11111111 = 255

Bit:  1   2   3   4   5   6   7   8

Sci: 2^7 2^6 2^5 2^4 2^3 2^2 2^1

Dec:128 64 32 16 8 4 2 1

Binary to Decimal: 10000011

Octet: 128+2+1=131

Decimal to Binary: 209

128  64  32  16  8  4  2  1

1      1    0    1   0  0  0  1

Add from Left to Right: 128+64+16+1=209

 

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s