Unit 4 Part 2 Flashcards

1
Q

Introduction to the OSI Model

A

Purpose:

OSI Model helps standardize network communications.
Addresses compatibility issues between networks by using a 7-layer model.

Function:

Data is passed vertically through these layers from sender to receiver.

At each layer, data is processed, headers are added on the sending side, and removed on the receiving side.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

OSI Model Layer Functions

A

Layer Communication:

Layers on the sender’s device correspond directly to layers on the receiver’s device.
Each layer has a specific function, defined by the OSI model.

Data Processing:

As data passes through the layers, it is broken up and manipulated for transmission.
The receiving device reassembles the data as it moves up the layers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Layers 7, 6, and 5 (Application, Presentation, Session)

A

Layer 7: Application

Manages network applications like Skype.
Uses application protocols (e.g., HTTP, FTP).

Layer 6: Presentation

Converts data to binary, encrypts/decrypts, and compresses data.

Layer 5: Session

Manages communication sessions between devices.
Determines which data packets belong to which files.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Layer 4 (Transport)

A

Transport Layer Overview:

Receives data from the Session layer and breaks it into segments.
Adds source and destination port numbers, and sequence numbers.

Functions:

Controls data transmission speed based on device capabilities.
Performs error-checking, resending missing segments.
Protocols:

TCP: Prioritizes data quality over speed.
UDP: Prioritizes speed over data quality.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Layer 3 (Network)

A

Network Layer Overview:

Transmits data segments between networks as packets.
Adds source and destination IP addresses.

Routing:

Determines the best paths for data delivery.
IP addresses identify the source and destination devices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Layer 2 (Data Link)

A

Data Link Layer Overview:

Receives packets from the Network layer and adds MAC addresses.
Forms a data unit called a frame.

Functions:

Controls how data is placed on and received from the media (e.g., copper wire, fiber optic).
Embedded as software in the Network Interface Card (NIC).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Layer 1 (Physical)

A

Physical Layer Overview:

Converts binary data into electrical, light, or radio signals.
Transmits signals over local media (e.g., cables, fiber optic).

Function:

Hardware layer that includes cables, RJ45 connectors, etc.
Translates signals back into binary for the receiving application.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

OSI Model Summary

A

Layers 1-7 Overview:

Physical (e.g., cable, RJ45)
Data Link (e.g., MAC, switches)
Network (e.g., IP, routers)
Transport (e.g., TCP, UDP, port numbers)
Session (e.g., Syn/Ack)
Presentation (e.g., encryption, ASCII, PNG)
Application (e.g., HTTP, FTP)

Data Transmission:

Each layer adds headers to the data segment, forming a frame that is transmitted across the network.
The receiving side removes the headers as data moves up through the layers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Overview of Packets

A

Packets are created at Layer 3 (Network) of the OSI model.

They enable information exchange between different LANs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Packet Structure

A

Three Main Parts:
Header
Payload
Trailer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Packet Header

A

Packet Length: Defines the size of the packet.

Synchronization: Helps align the packet with the network.

Packet Number: Indicates the sequence in a series of packets.

Protocol: Specifies the type of data (e.g., email, video).

Destination Address: IP address of where the packet is going.

Source Address: IP address of where the packet originated.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Packet Payload

A

Also called the “body” or “data” of the packet.

Contains the actual data being delivered.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Packet Trailer

A

Signals the end of the packet.

Includes error-checking bits, like CRC (Cyclic Redundancy Check).

Ensures the packet’s integrity by comparing values with the receiving device.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Packet Transmission

A

Routing:
Routers use the destination IP address to forward the packet across networks.
Once the packet arrives, the receiving device strips the header and trailer, reassembling the data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Role of Network and Data Link Layers

A

Network Layer:

Uses IP addresses to send data across different networks (inter-network).

Data Link Layer:

Handles data forwarding within a local network (intra-network).
Uses MAC addresses to identify devices and forward data frames.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Overview of Frames

A

Frames are created by Layer 2 (Data Link) by encapsulating a packet as the frame’s payload.

The Ethernet frame adds source and destination MAC addresses.

17
Q

Frame Transmission Process

A

Switch Function:
Switches forward frames based on MAC addresses.

They check the destination MAC address against a lookup table to determine which physical port to forward the frame to.

18
Q

Frame vs. Packet

A

Switches vs. Routers:
Switches: Inspect frame headers and trailers to transfer data within a LAN.
Routers: Remove frame data to extract the packet and transfer data to external networks (e.g., the Internet).