Network+ Lesson 2: OSI Model

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/13

encourage image

There's no tags or description

Looks like no tags are added yet.

14 Terms

1
New cards

What is a Protocol

- Set of rules for formatting and processing data
- A common language so different hardware/software can communicate
- Common examples: HTTP, HTTPS, SMTP, FTP, TCP, UDP

<p>- Set of rules for formatting and processing data<br>- A common language so different hardware/software can communicate<br>- Common examples: HTTP, HTTPS, SMTP, FTP, TCP, UDP</p>
2
New cards

(OSI) Model Layers (overview and mnemonics)

- Open Systems Interconnection model: 7 layers
- 7 Application, 6 Presentation, 5 Session, 4 Transport
- 3 Network, 2 Data Link, 1 Physical
- Built for interoperability between different vendors' devices
- Top down (7-1): All People Seem To Need Data Processing
- Bottom up (1-7): Please Do Not Throw Sausage Pizza Away

3
New cards

(OSI) Model Layers (function of each layer)

- L7 Application: creates data to send, processes data received
- L6 Presentation: converts, encodes, compresses, encrypts data
- L5 Session: controls dialog; manages persistent connections
- L4 Transport: end-to-end delivery via TCP or UDP
- L3 Network: between networks, using IP addresses
- L2 Data Link: within the same network, using MAC addresses
- L1 Physical: bits as electrical signals, light, or radio frequency

<p>- L7 Application: creates data to send, processes data received<br>- L6 Presentation: converts, encodes, compresses, encrypts data<br>- L5 Session: controls dialog; manages persistent connections<br>- L4 Transport: end-to-end delivery via TCP or UDP<br>- L3 Network: between networks, using IP addresses<br>- L2 Data Link: within the same network, using MAC addresses<br>- L1 Physical: bits as electrical signals, light, or radio frequency</p>
4
New cards

Encapsulation / De-encapsulation

- Sender encapsulates (top down); receiver de-encapsulates (bottom up)
- L7-L5: Data (Don't)
- L4: Segment / Datagram (Stop)
- L3: Packet (Pouring)
- L2: Frame (Free)
- L1: Bits (Beer)

<p>- Sender encapsulates (top down); receiver de-encapsulates (bottom up)<br>- L7-L5: Data (Don't)<br>- L4: Segment / Datagram (Stop)<br>- L3: Packet (Pouring)<br>- L2: Frame (Free)<br>- L1: Bits (Beer)</p>
5
New cards

Layer 7 - Application

- Entry point to network services for applications
- Apps use it to send (TX) and receive (RX) data
- Handles user apps, network management, remote access
- Examples: SMTP 25, HTTP 80, FTP 21, Telnet 23
- Examples: TFTP 69, SNMP 161

6
New cards

Layer 6 - Presentation Layer

- Concerned with data format (apps need a common format)
- Services: data conversion, character code translation
- Services: compression, encryption and decryption
- Examples: ASCII, JPEG, MPEG

7
New cards

Layer 5 - Session

- Logical persistent connection between peer hosts
- Creates, monitors, and tears down sessions
- Modes: full duplex, half duplex, simplex
- Examples: SQL, RPC, NFS

8
New cards

Layer 4 - Transport

- End-to-end transport between peer hosts
- TCP: connection-oriented, reliable, full-duplex, uses flags
- UDP: connectionless, best effort
- Also here: SSL/TLS
- Ports: well-known 0-1023, registered 1024-49151
- Dynamic/private ports: 49152-65535

9
New cards

Layer 3 - Network

- Moves data between hosts on different networks
- Uses logical (IP) addresses and routing tables
- IP is connectionless: finds best route, no delivery guarantee
- Device: router
- Protocols: IP, ICMP, RIP, OSPF, BGP, IPSec, NAT

10
New cards

Layer 2 - Data Link Layer (functions)

- Takes packets from Layer 3 and sends frames
- Detects errors in frames
- Uses MAC (hardware) addresses
- Moves data to the next physically connected device
- Sublayers: LLC (upper) and MAC
- Devices: switches and bridges

11
New cards

Media Access Control layer

- Sublayer of Layer 2 (data link)
- Controls access to the physical network medium
- Handles addressing and channel access using MAC addresses

12
New cards

Logical Link Control layer

- Upper sublayer of Layer 2 (data link)
- Provides flow control and error control

13
New cards

Layer 2 - Data Link Layer (proto

- ARP (Address Resolution Protocol): resolves IP to MAC
- Ethernet (IEEE 802.3): the main Layer 2 standard in use

14
New cards

Layer 1 - Physical

- Receives bits from Layer 2
- Converts bits to electrical signals, or light pulses on fiber
- Includes physical topologies
- Devices: cables, connectors, hubs, modems, wireless access points
- Ethernet examples: 10BASE-T, 100BASE-TX, 1000BASE-T, 1000BASE-SX
- Note: Lesson 3 notes place access points at Layer 2 (data link)