Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

37
Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model

Transcript of Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

Page 1: Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

Network+ Guide to Networks5th Edition

Chapter 2Networking Standards and the OSI

Model

Page 2: Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

Figure 2.1 Flow of data through the OSI model

Page 3: Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

Mnemonics for the OSI Model

• Bottom Up– Please– Do– Not– Throw– Sausage– Pizza– Away

• Top Down– All– People– Seem– To– Need– Data– Processing

Page 4: Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

Application Layer

• Top (seventh) OSI model layer

• No software applications

• Protocol functions– Facilitates communication

• Between software applications and lower-layer network services

– Network interprets application request– Application interprets data sent from network

Page 5: Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

Presentation Layer

• Protocol functions– Accept Application layer data– Formats data to make it understandable to different

applications and hosts

• Examples– Text encoding methods ASCII and ANSI– Compression methods like JPEG and MP3– Data encryption and decryption

Page 6: Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

Session Layer

• Protocol functions– Coordinate and maintain communications between two nodes

• Session – Connection for ongoing data exchange between two parties

• Example: between Web browser client and Web server

• Functions– Establishing and keeping alive communications link

• For session duration– Determining if communications ended

• Determining where to restart transmission– Terminating communications

Page 7: Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

Transport Layer

• Protocol functions– Accept data from Session layer– Provides flow control, segmentation, and error

control• Primary Transport Layer Protocols: TCP and UDP

Page 8: Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

Transport Layer

• TCP• Connection-oriented

– Establishes a connection before transmitting data– Three-way handshake

SYN

SYN/ACK

ACK

Page 9: Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

Transport Layer• TCP

– Require acknowledgements from receiver to ensure data was received correctly

– Checksum• Unique character string allowing receiving node to

determine if arriving data unit exactly matches data unit sent by source

• Ensures data integrity

Send data, wait for ACK

ACK

Send more data, wait for ACK

Page 10: Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

Transport Layer

• UDP: A connectionless protocol– Do not establish connection with another node before

transmitting data—no handshake– Make no effort to ensure data is delivered free of

errors– Faster than connection-oriented protocol– Useful when data must be transferred quickly, such as

streaming music or video

Page 11: Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

Transport Layer

• Segmentation– Breaking large data units received from Session layer

into multiple smaller units called segments– Increases data transmission efficiency

• MTU (maximum transmission unit)– Largest data unit network will carry– Ethernet default: 1500 bytes– Discovery routine used to determine MTU

Page 12: Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

Transport Layer (cont’d.)

• Reassembly– Process of reconstructing segmented data units

• Sequencing– Method of identifying segments belonging to the

same group of subdivided data

Page 13: Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

Transport Layer (cont’d.)

Figure 2-2 Segmentation and reassembly

Page 14: Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

Network Layer

• Packet formation– Transport layer segment is encapsulated by a

Network layer packet• Network layer adds logical addressing information—IP

address

• Routing– Determine path from point A on one network to point

B on another network

• Routing considerations– Delivery priorities, network congestion, quality of

service, cost of alternative routes

Page 15: Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

Network Layer

• Common Network layer protocol– IP (Internet Protocol)

• Fragmentation– Network layer protocol (IP) subdivides Transport layer

segments received into smaller packets– This is usually avoided by adjusting the Maximum

Segment Size in the Transport layer, because it makes data transfer inefficient

• Link Ch 2e

Page 16: Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

Data Link Layer

• Function of protocols– Divide data received into distinct frames for

transmission in Physical layer– Add Physical address to the frame: MAC addresses

like 00-30-48-82-11-BD

• Frame– Structured package for moving data

• Includes raw data (payload), sender’s and receiver’s physical addresses, error checking and control information

Page 17: Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

Data Link Layer (cont’d.)

• Frames may be damaged as they pass through the Physical layer, so the Data Link layer has error-checking– Error checking

• Frame check sequence

• CRC (cyclic redundancy check)

• Possible glut of communication requests– Data Link layer controls flow of information

• Allows NIC to process data without error

Page 18: Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

Data Link Layer (cont’d.)

• Two Data Link layer sublayers– LLC (Logical Link Control) sublayer– MAC (Media Access Control) sublayer

• MAC address components– Block ID

• Six-character sequence unique to each vendor

– Device ID• Six-character number added at vendor’s factory

• MAC addresses frequently depicted in hexadecimal format

Page 19: Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

Example of MAC Address

• Whole MAC address: 00-30-48-82-11-BD– Block ID

• 00-30-48

• Identifies the vendor

– Device ID• 82-11-BD

• Different for each NIC from the same vendor

• If two NICs have the same MAC address, they have problems networking– This can happen with cheaply made refurbished

NICs, or with copied virtual machines

Page 20: Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

Data Link Layer (cont’d.)

Figure 2-5 The Data Link layer and its sublayers

Page 21: Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

Data Link Layer (cont’d.)

Figure 2-6 A NIC’s Mac address

Page 22: Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

Finding Your MAC Address

• Start, CMD, Enter

• IPCONFIG /ALL

• Scroll up to see the first entry

MAC Address (also called "Physical

Address")

IP Address

Page 23: Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

Physical Layer

• Functions of protocols– Accept frames from Data Link layer– Generate signals as changes in voltage at the NIC

• Copper transmission medium– Signals issued as voltage

• Fiber-optic cable transmission medium– Signals issued as light pulses

• Wireless transmission medium– Signals issued as electromagnetic waves

Page 24: Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

Physical Layer (cont’d.)

• Physical layer protocols responsibility when receiving data– Detect and accept signals– Pass on to Data Link layer– Set data transmission rate

• Devices operating at Physical layer– Hubs and repeaters

• NICs operate at both Physical layer and Data Link layers

Page 25: Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

Applying the OSI Model

Table 2-1 Functions of the OSI layers

Page 26: Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

iClicker QuestionsiClicker Questions

Page 27: Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

Which OSI layer creates Which OSI layer creates electrical signals which travel electrical signals which travel along an Ethernet cable?along an Ethernet cable?

A. Session, Presentation, or Application

B. TransportC. NetworkD. Data LinkE. Physical

1 of 5

Page 28: Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

Which OSI layer tears down a Which OSI layer tears down a connection after a period of connection after a period of inactivity?inactivity?

A. ApplicationB. PresentationC. SessionD. TransportE. Network, Data Link, or Physical

2 of 5

Page 29: Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

Which OSI layer encrypts and Which OSI layer encrypts and decrypts data sent with secure decrypts data sent with secure protocols like HTTPS?protocols like HTTPS?

A. Session, Presentation, or Application

B. TransportC. NetworkD. Data LinkE. Physical

3 of 5

Page 30: Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

Which OSI layer assigns Which OSI layer assigns addresses likeaddresses like00-50-56-C0-00-0100-50-56-C0-00-01to the data?to the data?

A. Session, Presentation, or ApplicationB. TransportC. NetworkD. Data LinkE. Physical

4 of 5

Page 31: Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

Which OSI layer assigns Which OSI layer assigns addresses like addresses like 147.144.51.101147.144.51.101to the data?to the data?

A. Session, Presentation, or Application

B. TransportC. NetworkD. Data LinkE. Physical

5 of 5

Page 32: Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

iClicker QuestionsiClicker QuestionsReview

Page 33: Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

Which item below is a Which item below is a MAC address?MAC address?

A. 147.144.1.2B. 94112C. 1005HAD. 00-12-11-XY-9Q-01E. 00-11-15-A3-B2-2E

1 of 5

Page 34: Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

Which OSI layer is also Which OSI layer is also called Layer 2?called Layer 2?

A. Session, Presentation, or Application

B. PhysicalC. NetworkD. Data LinkE. Transport

2 of 5

Page 35: Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

Which OSI layer routes Which OSI layer routes packets across the packets across the Internet?Internet?

A. Layer 5, 6 or 7B. Layer 4C. Layer 3D. Layer 2E. Layer 1

3 of 5

Page 36: Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

Which OSI layer maintains a list Which OSI layer maintains a list of remote servers that your of remote servers that your computer is currently computer is currently connected to?connected to?

A. Layer 5, 6 or 7B. Layer 4C. Layer 3D. Layer 2E. Layer 1

4 of 5

Page 37: Network+ Guide to Networks 5 th Edition Chapter 2 Networking Standards and the OSI Model.

Which OSI layer sends Which OSI layer sends radio signals out your Wi-radio signals out your Wi-Fi Interface?Fi Interface?

A. Session, Presentation, or ApplicationB. TransportC. NetworkD. Data LinkE. Physical

5 of 5