NET+ CIDR, Hosts - Review Flashcards
of IP Addresses / # of Hosts?
Netmask?
Class?
/32
1 IP Address / 0 Hosts
255.255.255.255
Class C
11111111 - 11111111 - 11111111 - 11111111 or (8*4+2=32)
- # of 0’s in the Binary at the end = Host bits, to find # of IP Addresses: 2 to the power (Host bit) = # of IP Addresses*
- Example: 2 to the power of (0) since there’s 0 Host bits = 1 IP Address
- # of IP Addresses - 2 = # of Hosts Available (-2 Addresses for the Network ID and Broadcast Addresses that are Reserved in the Range)*
- Example: 1 IP Address - 2 = NA Hosts*
of IP Addresses / # of Hosts?
Netmask?
Class?
/31
2 IP Addresses / 0 Hosts
255.255.255.254
Class C
11111111 - 11111111 - 11111111 - 11111110 or (8*3+7=31)
- # of 0’s in the Binary at the end = Host bits, to find # of IP Addresses: 2 to the power (Host bit) = # of IP Addresses*
- Example: 2 to the power of (1) since there’s 1 Host bits = 2 IP Addresses (2 = 2)
- # of IP Addresses - 2 = # of Hosts Available (-2 Addresses for the Network ID and Broadcast Addresses that are Reserved in the Range)*
- Example: 2 IP Addresses - 2 = 0 Hosts*
of IP Addresses / # of Hosts?
Netmask?
Class?
/30
4 IP Addresses / 2 Hosts
255.255.255.252
Class C
11111111 - 11111111 - 11111111 - 11111100 or (8*3+6=30)
- # of 0’s in the Binary at the end = Host bits, to find # of IP Addresses: 2 to the power (Host bit) = # of IP Addresses*
- Example: 2 to the power of (2) since there’s 2 Host bits = 4 IP Addresses (2 * 2 = 4)
- # of IP Addresses - 2 = # of Hosts Available (-2 Addresses for the Network ID and Broadcast Addresses that are Reserved in the Range)*
- Example: 4 IP Addresses - 2 = 2 Hosts*
of IP Addresses / # of Hosts?
Netmask?
Class?
/29
8 IP Addresses / 6 Hosts
255.255.255.248
Class C
11111111 - 11111111 - 11111111 - 11111000 or (8*3+5=29)
- # of 0’s in the Binary at the end = Host bits, to find # of IP Addresses: 2 to the power (Host bit) = # of IP Addresses*
- Example: 2 to the power of (3) since there’s 3 Host bits = 8 IP Addresses (2 * 2 * 2 = 8)
- # of IP Addresses - 2 = # of Hosts Available (-2 Addresses for the Network ID and Broadcast Addresses that are Reserved in the Range)*
- Example: 8 IP Addresses - 2 = 6 Hosts*
of IP Addresses / # of Hosts?
Netmask?
Class?
/28
16 IP Addresses / 14 Hosts
255.255.255.240
Class C
11111111 - 11111111 - 11111111 - 11110000 or (8*3+4=28)
- # of 0’s in the Binary at the end = Host bits, to find # of IP Addresses: 2 to the power (Host bit) = # of IP Addresses*
- Example: 2 to the power of (4) since there’s 4 Host bits = 16 IP Addresses (2 * 2 * 2 * 2 = 16)
- # of IP Addresses - 2 = # of Hosts Available (-2 Addresses for the Network ID and Broadcast Addresses that are Reserved in the Range)*
- Example: 16 IP Addresses - 2 = 14 Hosts*
of IP Addresses / # of Hosts?
Netmask?
Class?
/27
32 IP Addresses / 30 Hosts
255.255.255.224
Class C
11111111 - 11111111 - 11111111 - 11100000 or (8*3+3=27)
- # of 0’s in the Binary at the end = Host bits, to find # of IP Addresses: 2 to the power (Host bit) = # of IP Addresses*
- Example: 2 to the power of (5) since there’s 5 Host bits = 32 IP Addresses (2 * 2 * 2 * 2 * 2 = 32)
- # of IP Addresses - 2 = # of Hosts Available (-2 Addresses for the Network ID and Broadcast Addresses that are Reserved in the Range)*
- Example: 32 IP Addresses - 2 = 30 Hosts*
of IP Addresses / # of Hosts?
Netmask?
Class?
/26
64 IP Addresses / 62 Hosts
255.255.255.192
Class C
11111111 - 11111111 - 11111111 - 11000000 or (8*3+2=26)
- # of 0’s in the Binary at the end = Host bits, to find # of IP Addresses: 2 to the power (Host bit) = # of IP Addresses*
- Example: 2 to the power of (6) since there’s 6 Host bits = 64 IP Addresses (2 * 2 * 2 * 2 * 2 * 2 = 64)
- # of IP Addresses - 2 = # of Hosts Available (-2 Addresses for the Network ID and Broadcast Addresses that are Reserved in the Range)*
- Example: 64 IP Addresses - 2 = 62 Hosts*
of IP Addresses / # of Hosts?
Netmask?
Class?
/25
128 IP Addresses / 126 Hosts
255.255.255.128
Class C
11111111 - 11111111 - 11111111 - 10000000 or (8*3+1=25)
- # of 0’s in the Binary at the end = Host bits, to find # of IP Addresses: 2 to the power (Host bit) = # of IP Addresses*
- Example: 2 to the power of (7) since there’s 7 Host bits = 128 IP Addresses (2 * 2 * 2 * 2 * 2 * 2 * 2 = 128)
- # of IP Addresses - 2 = # of Hosts Available (-2 Addresses for the Network ID and Broadcast Addresses that are Reserved in the Range)*
- Example: 128 IP Addresses - 2 = 126 Hosts*
of IP Addresses / # of Hosts?
Netmask?
Class?
/24
256 IP Addresses / 254 Hosts
255.255.255.0
Class C
11111111 - 11111111 - 11111111 - 00000000 or (8*3=24)
- # of 0’s in the Binary at the end = Host bits, to find # of IP Addresses: 2 to the power (Host bit) = # of IP Addresses*
- Example: 2 to the power of (8) since there’s 8 Host bits = 256 IP Addresses (2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 = 256)
- # of IP Addresses - 2 = # of Hosts Available (-2 Addresses for the Network ID and Broadcast Addresses that are Reserved in the Range)*
- Example: 256 IP Addresses - 2 = 254 Hosts*
of IP Addresses / # of Hosts?
Netmask?
Class?
/23
512 IP Addresses / 510 Hosts
255.255.254.0
Class B
11111111 - 11111111 - 11111110 - 00000000 or (8*2+7=23)
- # of 0’s in the Binary at the end = Host bits, to find # of IP Addresses: 2 to the power (Host bit) = # of IP Addresses*
- Example: 2 to the power of (9) since there’s 9 Host bits = 512 IP Addresses (2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 = 512)
- # of IP Addresses - 2 = # of Hosts Available (-2 Addresses for the Network ID and Broadcast Addresses that are Reserved in the Range)*
- Example: 512 IP Addresses - 2 = 510 Hosts*
of IP Addresses / # of Hosts?
Netmask?
Class?
/22
1024 IP Addresses / 1022 Hosts
255.255.252.0
Class B
11111111 - 11111111 - 11111100 - 00000000 or (8*2+6=22)
- # of 0’s in the Binary at the end = Host bits, to find # of IP Addresses: 2 to the power (Host bit) = # of IP Addresses*
- Example: 2 to the power of (10) since there’s 10 Host bits = 1024 IP Addresses (2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 = 1024)
- # of IP Addresses - 2 = # of Hosts Available (-2 Addresses for the Network ID and Broadcast Addresses that are Reserved in the Range)*
- Example: 1024 IP Addresses - 2 = 1022 Hosts*
of IP Addresses / # of Hosts?
Netmask?
Class?
/21
2048 IP Addresses /2046 Hosts
255.255.248.0
Class B
11111111 - 11111111 - 11111000 - 00000000 or (8*2+5=21)
- # of 0’s in the Binary at the end = Host bits, to find # of IP Addresses: 2 to the power (Host bit) = # of IP Addresses*
- Example: 2 to the power of (11) since there’s 11 Host bits = 2048 IP Addresses (2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 = 2048)
- # of IP Addresses - 2 = # of Hosts Available (-2 Addresses for the Network ID and Broadcast Addresses that are Reserved in the Range)*
- Example: 2048 IP Addresses - 2 = 2046 Hosts*
of IP Addresses / # of Hosts?
Netmask?
Class?
/20
4096 IP Addresses / 4094 Hosts
255.255.240.0
Class B
11111111 - 11111111 - 11110000 - 00000000 or (8*2+4=20)
- # of 0’s in the Binary at the end = Host bits, to find # of IP Addresses: 2 to the power (Host bit) = # of IP Addresses*
- Example: 2 to the power of (12) since there’s 12 Host bits = 4096 IP Addresses (2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 = 4096)
- # of IP Addresses - 2 = # of Hosts Available (-2 Addresses for the Network ID and Broadcast Addresses that are Reserved in the Range)*
- Example: 4096 IP Addresses - 2 = 4094 Hosts*
of IP Addresses / # of Hosts?
Netmask?
Class?
/19
8192 IP Addresses / 8190 Hosts
255.255.224.0
Class B
11111111 - 11111111 - 11100000 - 00000000 or (8*2+3=19)
- # of 0’s in the Binary at the end = Host bits, to find # of IP Addresses: 2 to the power (Host bit) = # of IP Addresses*
- Example: 2 to the power of (13) since there’s 13 Host bits = 8192 IP Addresses (2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 = 8192)
- # of IP Addresses - 2 = # of Hosts Available (-2 Addresses for the Network ID and Broadcast Addresses that are Reserved in the Range)*
- Example: 8192 IP Addresses - 2 = 8190 Hosts*
of IP Addresses / # of Hosts?
Netmask?
Class?
/18
16384 IP Addresses / 16382 Hosts
255.255.192.0
Class B
11111111 - 11111111 - 11000000 - 00000000 or (8*2+2=18)
- # of 0’s in the Binary at the end = Host bits, to find # of IP Addresses: 2 to the power (Host bit) = # of IP Addresses*
- Example: 2 to the power of (14) since there’s 14 Host bits = 16384 IP Addresses (2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 *2 = 16384)
- # of IP Addresses - 2 = # of Hosts Available (-2 Addresses for the Network ID and Broadcast Addresses that are Reserved in the Range)*
- Example: 16384 IP Addresses - 2 = 16382 Hosts*
of IP Addresses / # of Hosts?
Netmask?
Class?
/17
32768 IP Addresses / 32766 Hosts
255.255.128.0
Class B
11111111 - 11111111 - 10000000 - 00000000 or (8*2+1=17)
- # of 0’s in the Binary at the end = Host bits, to find # of IP Addresses: 2 to the power (Host bit) = # of IP Addresses*
- Example: 2 to the power of (15) since there’s 15 Host bits = 32768 IP Addresses (2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 = 32768)
- # of IP Addresses - 2 = # of Hosts Available (-2 Addresses for the Network ID and Broadcast Addresses that are Reserved in the Range)*
- Example: 32768 IP Addresses - 2 = 32766 Hosts*
of IP Addresses / # of Hosts?
Netmask?
Class?
/16
65536 IP Addresses / 65534 Hosts
255.255.0.0
Class B
11111111 - 11111111 - 00000000 - 00000000 or (8*2=16)
- # of 0’s in the Binary at the end = Host bits, to find # of IP Addresses: 2 to the power (Host bit) = # of IP Addresses*
- Example: 2 to the power of (16) since there’s 16 Host bits = 65536 IP Addresses (2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 = 65536)
- # of IP Addresses - 2 = # of Hosts Available (-2 Addresses for the Network ID and Broadcast Addresses that are Reserved in the Range)*
- Example: 65536 IP Addresses - 2 = 65534 Hosts*
CIDR Notation?
255.0.0.0
/8
11111111 - 00000000 - 00000000 - 00000000 or (8*1=8)
24 Host bits
CIDR Notation?
255.255.0.0
/16
11111111 - 11111111 - 00000000 - 00000000 or (8*2=16)
16 Host bits
CIDR Notation?
255.255.255.0
/24
11111111 - 11111111 - 11111111 - 00000000 or (8*3=24)
8 Host bits
CIDR Notation?
255.255.255.255
/32
11111111 - 11111111 - 111111111 - 11111111 or (8*4=32)
0 Host bits
of Hosts pattern?
/25 - /32
128 - /25 64 - /26 32 - /27 16 - /28 8 - /29 4 - /30 2 - /31 1 - /32
128 > 64 > 32 > 16 > 8 > 4 > 2 > 1
- *this is the same number line when calculating Binary digits**
- *from /32 all the way up to /1 the Hosts doubles, so if you can remember /25 - /32, you can easily find /1 - /24.**
REFERENCE CARD:
128 - 192 - 224 - 240 - 248 - 252 - 254 - 255 = Netmasks
128 - 64 – 32 — 16 — 8 —- 4 —– 2 —- 1 = Binary Number Line
/25 – /26 - /27 – /28 – /29 – /30 – /31 – /32
/17 – /18 - /19 – /20 – /21 – /22 – /23 – /24
/9 —- /10 - /11 – /12 – /13 – /14 – /15 – /16
/1 —- /2 — /3 — /4 —- /5 —- /6 — /7 —- /8
Try to remember the Number Line: 128, 64, 32, 16, 8, 4, 2, 1 - which is also the Binary Number Line. 1 = /32 2 = /31 4 = /30 8 = /29 16 = /28 32 = /27 64 = /26 128 = /25 *Doubles from here for /24 to /1 256 = /24 etc. etc.
REFERENCE CARD:
128 - 192 - 224 - 240 - 248 - 252 - 254 - 255 = Netmasks
128 - 64 — 32 — 16 —– 8 —– 4 —– 2 —— 1 = Binary Number Line
/25
/17
/9
/1
128 = (128 = 128) /25 = 255.255.255.128 /17 = 255.255.128.0 /9 = 255.128.0.0 /1 = 128.0.0.0
REFERENCE CARD:
128 - 192 - 224 - 240 - 248 - 252 - 254 - 255 = Netmasks
128 - 64 — 32 — 16 —- 8 —- 4 ——- 2 —— 1 = Binary Number Line
/25 - /26
/17 – /18
/9 — /10
/1 —- /2
64 = (128 + 64 = 192) /26 = 255.255.255.192 (128+64) /18 = 255.255.192.0 (128+64) /10 = 255.192.0.0 (128+64) /2 = 192.0.0.0 (128+64)
REFERENCE CARD:
128 – 192 - 224 - 240 - 248 - 252 - 254 - 255 = Netmasks
128 – 64 – 32 —- 16 —- 8 —— 4 —- 2 —— 1 = Binary Number Line
/25 – /26 - /27
/17 — /18 – /19
/9 —- /10 – /11
/1 —– /2 — /3
32 = (128 + 64 + 32 = 224) /27 = 255.255.255.224 /19 = 255.255.224.0 /11 = 255.224.0.0 /3 = 224.0.0.0
REFERENCE CARD:
128 - 192 - 224 - 240 - 248 - 252 - 254 - 255 = Netmasks
128 - 64 – 32 — 16 —– 8 —– 4 —– 2 —— 1 = Binary Number Line
/25 - /26 - /27 – /28
/17 – /18 – /19 – /20
/9 — /10 – /11 — /12
/1 —- /2 — /3 — /4
16 = (128 + 64 + 32 + 16 = 240) /28 = 255.255.255.240 /20 = 255.255.240.0 /12 = 255.240.0.0 /4 = 240.0.0.0
REFERENCE CARD:
128 - 192 - 224 - 240 - 248 - 252 - 254 - 255 = Netmasks
128 - 64 – 32 — 16 —- 8 —— 4 —– 2 —— 1 = Binary Number Line
/25 - /26 - /27 – /28 – /29
/17 – /18 – /19 — /20 – /21
/9 — /10 – /11 — /12 — /13
/1 —- /2 — /3 — /4 —– /5
8 = (128 + 64 + 32 + 16 + 8 = 248) /29 = 255.255.255.248 /21 = 255.255.248.0 /13 = 255.248.0.0 /5 = 248.0.0.0
REFERENCE CARD:
128 - 192 - 224 - 240 - 248 - 252 - 254 - 255 = Netmasks
128 - 64 — 32 —- 16 —- 8 —- 4 —– 2 —— 1 = Binary Number Line
/25 - /26 – /27 – /28 – /29 – /30
/17 – /18 — /19 – /20 – /21 — /22
/9 — /10 – /11 —- /12 — /13 – /14
/1 —- /2 — /3 —- /4 —– /5 — /6
4 = (128 + 64 + 32 + 16 + 8 + 4 = 252) /30 = 255.255.255.252 /22 = 255.255.252.0 /14 = 255.252.0.0 /6 = 252.0.0.0
REFERENCE CARD:
128 - 192 - 224 - 240 - 248 - 252 - 254 - 255 = Netmasks
128 – 64 – 32 — 16 —– 8 —– 4 —– 2 —— 1 = Binary Number Line
/25 – /26 - /27 – /28 – /29 – /30 – /31
/17 — /18 – /19 — /20 – /21 – /22 – /23
/9 —- /10 – /11 — /12 — /13 — /14 – /15
/1 —– /2 — /3 —- /4 —- /5 —- /6 —- /7
2 = (128 + 64 + 32 + 16 + 8 + 4 + 2 = 254) /31 = 255.255.255.254 /23 = 255.255.254.0 /15 = 255.254.0.0 /7 = 254.0.0.0
REFERENCE CARD:
128 - 192 - 224 - 240 - 248 - 252 - 254 - 255 = Netmasks
128 – 64 — 32 — 16 —- 8 —– 4 —– 2 —— 1 = Binary Number Line
/25 – /26 – /27 – /28 – /29 – /30 – /31 — /32
/17 — /18 — /19 – /20 – /21 — /22 – /23 – /24
/9 —- /10 — /11 — /12 — /13 — /14 — /15 – /16
/1 —– /2 —- /3 —- /4 —- /5 —- /6 —- /7 —- /8
1 = (128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255) /32 = 255.255.255.255 /24 = 255.255.255.0 /16 = 255.255.0.0 /8 = 255.0.0.0