binary lesson 5 classful ip addresses. ip addresses (version 4) ip addresses are 32 bits long ip...

19
Binary Lesson 5 Binary Lesson 5 Classful IP Classful IP Addresses Addresses

Upload: emilie-heatley

Post on 01-Apr-2015

247 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Binary Lesson 5 Classful IP Addresses. IP Addresses (version 4) IP addresses are 32 bits long IP addresses are 32 bits long Four bytes or "octets" Four

Binary Lesson 5Binary Lesson 5Classful IP Addresses Classful IP Addresses

Page 2: Binary Lesson 5 Classful IP Addresses. IP Addresses (version 4) IP addresses are 32 bits long IP addresses are 32 bits long Four bytes or "octets" Four

IP Addresses (version 4)IP Addresses (version 4)

IP addresses are 32 bits longIP addresses are 32 bits long Four bytes or "octets"Four bytes or "octets" Examples:Examples:

147.144.1.212147.144.1.212 1.2.3.41.2.3.4 192.168.0.1192.168.0.1

Each octet must be in the range 0 to Each octet must be in the range 0 to 255255

Page 3: Binary Lesson 5 Classful IP Addresses. IP Addresses (version 4) IP addresses are 32 bits long IP addresses are 32 bits long Four bytes or "octets" Four

Network and Host PortionsNetwork and Host PortionsClass A AddressesClass A Addresses

An IP address of 1.2.3.4 specifies both An IP address of 1.2.3.4 specifies both the the networknetwork and the and the hosthost

The The networknetwork portion tells the Internet portion tells the Internet routers where to send packetsrouters where to send packets

The The hosthost portion tells routers on the portion tells routers on the destination LAN which host the packet destination LAN which host the packet is destined foris destined for

Page 4: Binary Lesson 5 Classful IP Addresses. IP Addresses (version 4) IP addresses are 32 bits long IP addresses are 32 bits long Four bytes or "octets" Four

Network and Host PortionsNetwork and Host PortionsClass A AddressesClass A Addresses

For Class A addresses like 1.2.3.4For Class A addresses like 1.2.3.4 The The networknetwork portion is the first octet portion is the first octet

11 The The hosthost portion is the last three octets portion is the last three octets

2.3.42.3.4 This system was used until 1981This system was used until 1981

Page 5: Binary Lesson 5 Classful IP Addresses. IP Addresses (version 4) IP addresses are 32 bits long IP addresses are 32 bits long Four bytes or "octets" Four

1981:1981:Class A, B, C AddressesClass A, B, C Addresses

Class A (1.2.3.4)Class A (1.2.3.4) Network portion: first octet (1)Network portion: first octet (1) Host portion: last three octets (2.3.4)Host portion: last three octets (2.3.4)

Class B (140.5.6.7)Class B (140.5.6.7) Network portion: first two octets (140.5)Network portion: first two octets (140.5) Host portion: last two octets (6.7)Host portion: last two octets (6.7)

Class C (199.7.8.9)Class C (199.7.8.9) Network portion: first three octets (199.7.8)Network portion: first three octets (199.7.8) Host portion: last octet (9)Host portion: last octet (9)

Page 6: Binary Lesson 5 Classful IP Addresses. IP Addresses (version 4) IP addresses are 32 bits long IP addresses are 32 bits long Four bytes or "octets" Four

First Octet Determines ClassFirst Octet Determines Class

Class A Class A First octet from 1 to 127First octet from 1 to 127

Class B Class B First octet from 129 to 191First octet from 129 to 191

Class C Class C First octet from 192 to 223First octet from 192 to 223

Page 7: Binary Lesson 5 Classful IP Addresses. IP Addresses (version 4) IP addresses are 32 bits long IP addresses are 32 bits long Four bytes or "octets" Four

Network and Host PortionsNetwork and Host Portions

Consider this address: 147.144.0.1Consider this address: 147.144.0.1 Class BClass B

The first 2 octets determine the networkThe first 2 octets determine the network 147.144147.144

The last two octets determine the hostThe last two octets determine the host 0.10.1

Page 8: Binary Lesson 5 Classful IP Addresses. IP Addresses (version 4) IP addresses are 32 bits long IP addresses are 32 bits long Four bytes or "octets" Four

Classful Classful Addressing Addressing

iClicker iClicker QuestionsQuestions

Page 9: Binary Lesson 5 Classful IP Addresses. IP Addresses (version 4) IP addresses are 32 bits long IP addresses are 32 bits long Four bytes or "octets" Four

What class is this address in?What class is this address in?15.254.222.19915.254.222.199

A.A. Class AClass A

B.B. Class BClass B

C.C. Class CClass C

D.D. That address is not validThat address is not valid

1 of 11

Page 10: Binary Lesson 5 Classful IP Addresses. IP Addresses (version 4) IP addresses are 32 bits long IP addresses are 32 bits long Four bytes or "octets" Four

What class is this address in?What class is this address in?215.2.1.254215.2.1.254

A.A. Class AClass A

B.B. Class BClass B

C.C. Class CClass C

D.D. That address is not validThat address is not valid

2 of 11

Page 11: Binary Lesson 5 Classful IP Addresses. IP Addresses (version 4) IP addresses are 32 bits long IP addresses are 32 bits long Four bytes or "octets" Four

What class is this address in?What class is this address in?185.2.1.0.2185.2.1.0.2

A.A. Class AClass A

B.B. Class BClass B

C.C. Class CClass C

D.D. That address is not validThat address is not valid

3 of 11

Page 12: Binary Lesson 5 Classful IP Addresses. IP Addresses (version 4) IP addresses are 32 bits long IP addresses are 32 bits long Four bytes or "octets" Four

What class is this address in?What class is this address in?147.144.1.312147.144.1.312

A.A. Class AClass A

B.B. Class BClass B

C.C. Class CClass C

D.D. That address is not validThat address is not valid

4 of 11

Page 13: Binary Lesson 5 Classful IP Addresses. IP Addresses (version 4) IP addresses are 32 bits long IP addresses are 32 bits long Four bytes or "octets" Four

What class is this address in?What class is this address in?147.144.1.212147.144.1.212

A.A. Class AClass A

B.B. Class BClass B

C.C. Class CClass C

D.D. That address is not validThat address is not valid

5 of 11

Page 14: Binary Lesson 5 Classful IP Addresses. IP Addresses (version 4) IP addresses are 32 bits long IP addresses are 32 bits long Four bytes or "octets" Four

What is the network portion of What is the network portion of this address?this address?2.255.14.1932.255.14.193

A.A. 22

B.B. 2.2552.255

C.C. 2.255.142.255.14

D.D. 193193

E.E. 14.19314.1936 of 11

Page 15: Binary Lesson 5 Classful IP Addresses. IP Addresses (version 4) IP addresses are 32 bits long IP addresses are 32 bits long Four bytes or "octets" Four

What is the host portion of this What is the host portion of this address?address?222.22.2.2222.22.2.2

A.A. 222222

B.B. 222.22222.22

C.C. 222.22.2222.22.2

D.D. 22

E.E. 2.22.27 of 11

Page 16: Binary Lesson 5 Classful IP Addresses. IP Addresses (version 4) IP addresses are 32 bits long IP addresses are 32 bits long Four bytes or "octets" Four

What is the network portion of What is the network portion of this address?this address?100.200.255.1100.200.255.1

A.A. 100100

B.B. 100.200100.200

C.C. 100.200.255100.200.255

D.D. 11

E.E. 255.1255.18 of 11

Page 17: Binary Lesson 5 Classful IP Addresses. IP Addresses (version 4) IP addresses are 32 bits long IP addresses are 32 bits long Four bytes or "octets" Four

What is the host portion of this What is the host portion of this address?address?

101.99.254.2101.99.254.2

A.A. 101101

B.B. 101.99101.99

C.C. 22

D.D. 254.2254.2

E.E. 99.254.299.254.29 of 11

Page 18: Binary Lesson 5 Classful IP Addresses. IP Addresses (version 4) IP addresses are 32 bits long IP addresses are 32 bits long Four bytes or "octets" Four

What is the network portion of What is the network portion of this address?this address?

193.192.193.191193.192.193.191

A.A. 192192

B.B. 192.192192.192

C.C. 193.192.193193.192.193

D.D. 191191

E.E. 193.191193.19110 of

11

Page 19: Binary Lesson 5 Classful IP Addresses. IP Addresses (version 4) IP addresses are 32 bits long IP addresses are 32 bits long Four bytes or "octets" Four

What is the host portion of this What is the host portion of this address?address?

147.144.1.212147.144.1.212

A.A. 147147

B.B. 147.144147.144

C.C. 1.2121.212

D.D. 212212

E.E. 144.1.212144.1.21211 of

11