19
Binary Lesson 5.5 Binary Lesson 5.5 Usable Addresses Usable Addresses Class A, B, and Class A, B, and C C

Binary Lesson 5.5 Usable Addresses Class A, B, and C

Embed Size (px)

Citation preview

Page 1: Binary Lesson 5.5 Usable Addresses Class A, B, and C

Binary Lesson 5.5Binary Lesson 5.5Usable Addresses Class Usable Addresses Class

A, B, and CA, B, and C

Page 2: Binary Lesson 5.5 Usable Addresses Class A, B, and C

Slash NotationSlash Notation

Consider a class A address of 1.2.3.4Consider a class A address of 1.2.3.4 The network portion is the first octetThe network portion is the first octet

11 This situation can be writtenThis situation can be written

1.2.3.4/81.2.3.4/8 The number after the / is the number of The number after the / is the number of

bits in the network portionbits in the network portion

Page 3: Binary Lesson 5.5 Usable Addresses Class A, B, and C

Subnet MaskSubnet Mask

Consider a class A address of 1.2.3.4 /8 in Consider a class A address of 1.2.3.4 /8 in binarybinary

The The subnet masksubnet mask is 255.0.0.0 is 255.0.0.0 The network address is 1.0.0.0 The network address is 1.0.0.0 In Binary:In Binary:IP:IP: 00000001 00000010 00000011 00000100 00000001 00000010 00000011 00000100

Subnt Msk:Subnt Msk: 11111111 00000000 00000000 00000000 11111111 00000000 00000000 00000000

Net Addr:Net Addr: 00000001 00000000 00000000 00000000 00000001 00000000 00000000 00000000

Page 4: Binary Lesson 5.5 Usable Addresses Class A, B, and C

Network AddressNetwork Address

To find the network address, take a node's To find the network address, take a node's IP address and set all the host bits to 0IP address and set all the host bits to 0

IP:IP: 00000001 00000010 00000011 00000100 00000001 00000010 00000011 00000100

Subnt Msk:Subnt Msk: 11111111 00000000 00000000 00000000 11111111 00000000 00000000 00000000

NNNNNNNN HHHHHHHH HHHHHHHH HHHHHHHHNNNNNNNN HHHHHHHH HHHHHHHH HHHHHHHH

Net Addr:Net Addr: 00000001 00000000 00000000 00000000 00000001 00000000 00000000 00000000

In decimal:In decimal:IP:IP: 1 2 3 0 1 2 3 0

Subnt Msk:Subnt Msk: 255 0 0 0 255 0 0 0

Net Addr:Net Addr: 1 0 0 0 1 0 0 0

Page 5: Binary Lesson 5.5 Usable Addresses Class A, B, and C

Broadcast AddressBroadcast Address

To find the broadcast address, take a node's To find the broadcast address, take a node's IP address and set all the host bits to 1IP address and set all the host bits to 1

IP:IP: 00000001 00000010 00000011 00000100 00000001 00000010 00000011 00000100

Subnt Msk:Subnt Msk: 11111111 00000000 00000000 00000000 11111111 00000000 00000000 00000000

NNNNNNNN HHHHHHHH HHHHHHHH HHHHHHHHNNNNNNNN HHHHHHHH HHHHHHHH HHHHHHHH

Brdc Addr:Brdc Addr: 00000001 11111111 11111111 11111111 00000001 11111111 11111111 11111111

In decimal:In decimal:IP:IP: 1 2 3 0 1 2 3 0

Subnt Msk:Subnt Msk: 255 0 0 0 255 0 0 0

Brdc Addr:Brdc Addr: 1 255 255 255 1 255 255 255

Page 6: Binary Lesson 5.5 Usable Addresses Class A, B, and C

Usable AddressesUsable Addresses

All the other addresses are usable--starting All the other addresses are usable--starting at network address + 1 and ending at at network address + 1 and ending at broadcast address -1broadcast address -1

Network Addr:Network Addr: 1. 0. 0. 0 1. 0. 0. 0

Subnet Mask:Subnet Mask: 255. 0. 0. 0 255. 0. 0. 0

Broadcast Addr:Broadcast Addr: 1.255.255.255 1.255.255.255

First Usable Addr:First Usable Addr: 1. 0. 0. 1 1. 0. 0. 1

Last Usable Addr:Last Usable Addr: 1.255.255.254 1.255.255.254

Page 7: Binary Lesson 5.5 Usable Addresses Class A, B, and C

Class BClass B

Class B address: 147.144.1.212 /16Class B address: 147.144.1.212 /16 The The subnet masksubnet mask is 255.255.0.0 is 255.255.0.0 The network address is 147.144.0.0 The network address is 147.144.0.0 The broadcast address is 147.144.255.255The broadcast address is 147.144.255.255 In Binary:In Binary:IP:IP: 10010011 10010000 00000001 11010100 10010011 10010000 00000001 11010100

Subnt Msk:Subnt Msk: 11111111 11111111 00000000 00000000 11111111 11111111 00000000 00000000

Net Addr:Net Addr: 10010011 10010000 00000000 00000000 10010011 10010000 00000000 00000000

Brdc Addr:Brdc Addr: 10010011 10010000 11111111 11111111 10010011 10010000 11111111 11111111

Page 8: Binary Lesson 5.5 Usable Addresses Class A, B, and C

Class B Usable AddressesClass B Usable Addresses

Class B address: 147.144.1.212 /16Class B address: 147.144.1.212 /16 The The subnet masksubnet mask is 255.255.0.0 is 255.255.0.0 The network address is 147.144.0.0 The network address is 147.144.0.0 The broadcast address is 147.144.255.255The broadcast address is 147.144.255.255 First usable address: 147.144.0.1First usable address: 147.144.0.1 Last usable address: 147.144.255.254Last usable address: 147.144.255.254

Page 9: Binary Lesson 5.5 Usable Addresses Class A, B, and C

Class CClass C

Class C address: 192.168.1.10 /24Class C address: 192.168.1.10 /24 The The subnet masksubnet mask is 255.255.255.0 is 255.255.255.0 The network address is 192.168.1.0 The network address is 192.168.1.0 The broadcast address is 192.168.1.255The broadcast address is 192.168.1.255 In Binary:In Binary:IP:IP: 11000000 10101000 00000001 00001010 11000000 10101000 00000001 00001010

Subnt Msk:Subnt Msk: 11111111 11111111 11111111 00000000 11111111 11111111 11111111 00000000

Net Addr:Net Addr: 11000000 10101000 00000001 00000000 11000000 10101000 00000001 00000000

Brdc Addr:Brdc Addr: 11000000 10101000 00000001 11111111 11000000 10101000 00000001 11111111

Page 10: Binary Lesson 5.5 Usable Addresses Class A, B, and C

Usable Addresses Usable Addresses Class A, B, and CClass A, B, and C

iClicker Questions iClicker Questions

Page 11: Binary Lesson 5.5 Usable Addresses Class A, B, and C

What is the network address in What is the network address in this network?this network?

15.254.222.199 /815.254.222.199 /8

A.A. 15.254.222.015.254.222.0

B.B. 15.254.222.25515.254.222.255

C.C. 15.254.222.115.254.222.1

D.D. 15.0.0.015.0.0.0

E.E. 15.254.0.015.254.0.01 of 9

Page 12: Binary Lesson 5.5 Usable Addresses Class A, B, and C

What is the broadcast address in What is the broadcast address in this network?this network?10.20.30.40 /810.20.30.40 /8

A.A. 10.0.0.010.0.0.0

B.B. 10.0.0.110.0.0.1

C.C. 10.255.255.25410.255.255.254

D.D. 10.255.255.25510.255.255.255

E.E. Something elseSomething else2 of 9

Page 13: Binary Lesson 5.5 Usable Addresses Class A, B, and C

What is the first usable address What is the first usable address for this network?for this network?

111.2.1.2 /8111.2.1.2 /8

A.A. 111.0.0.1111.0.0.1

B.B. 111.2.0.1111.2.0.1

C.C. 111.2.1.1111.2.1.1

D.D. 111.2.255.255111.2.255.255

E.E. Something elseSomething else3 of 9

Page 14: Binary Lesson 5.5 Usable Addresses Class A, B, and C

What is the last usable address What is the last usable address for this network?for this network?

19.144.1.212 /819.144.1.212 /8

A.A. 19.255.255.25419.255.255.254

B.B. 19.144.255.25519.144.255.255

C.C. 19.144.255.25419.144.255.254

D.D. 19.144.1.25419.144.1.254

E.E. Something elseSomething else4 of 9

Page 15: Binary Lesson 5.5 Usable Addresses Class A, B, and C

What is the first usable address What is the first usable address for this network?for this network?

199.144.0.0 /24199.144.0.0 /24

A.A. 199.0.0.1199.0.0.1

B.B. 199.144.0.1199.144.0.1

C.C. 199.144.1.1199.144.1.1

D.D. 199.144.1.255199.144.1.255

E.E. Something elseSomething else5 of 9

Page 16: Binary Lesson 5.5 Usable Addresses Class A, B, and C

What is the last usable address What is the last usable address for this network?for this network?

222.0.14.0 /24222.0.14.0 /24

A.A. 222.255.255.254222.255.255.254

B.B. 222.0.255.254222.0.255.254

C.C. 222.0.14.254222.0.14.254

D.D. 222.0.14.255222.0.14.255

E.E. Something elseSomething else6 of 9

Page 17: Binary Lesson 5.5 Usable Addresses Class A, B, and C

What is the last usable address What is the last usable address for this network?for this network?

129.130.131.132 /16129.130.131.132 /16

A.A. 129.130.131.254129.130.131.254

B.B. 129.130.255.254129.130.255.254

C.C. 129.255.255.254129.255.255.254

D.D. 129.130.0.1129.130.0.1

E.E. Something elseSomething else7 of 9

Page 18: Binary Lesson 5.5 Usable Addresses Class A, B, and C

What is the broadcast address What is the broadcast address for this network?for this network?

132.231.123.213 /16132.231.123.213 /16

A.A. 132.231.123.254132.231.123.254

B.B. 132.231.123.255132.231.123.255

C.C. 132.231.255.255132.231.255.255

D.D. 132.255.255.254132.255.255.254

E.E. Something elseSomething else8 of 9

Page 19: Binary Lesson 5.5 Usable Addresses Class A, B, and C

What is the network address for What is the network address for this network?this network?

200.0.14.128 /24200.0.14.128 /24

A.A. 200.0.14.1200.0.14.1

B.B. 200.0.14.0200.0.14.0

C.C. 200.0.14.254200.0.14.254

D.D. 200.0.14.255200.0.14.255

E.E. Something elseSomething else9 of 9