Section 2: OSI Model

0.0(0)
studied byStudied by 1 person
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/81

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

82 Terms

1
New cards

Open Systems Interconnect (OSI) Model

  • Developed by the International Organization for Standardization (ISO)

  • A reference model

    • Used to categorize functions of a network

    • Used for troubleshooting

  • 7 Layers

2
New cards

Layers of the OSI Model (7)

  • Layer 1 - Physical

  • Layer 2 - Data Link

  • Layer 3 - Network

  • Layer 4 - Transport

  • Layer 5 - Session

  • Layer 6 - Presentation

  • Layer 7 - Application

  • Helpful Pneumonic

    • Please Do Not Throw Sausage Pizza Away”

3
New cards

Names of Data as it flows through the OSI Model

  • Layer 1 - Bits

  • Layer 2 - Frames

  • Layer 3 - Packets

  • Layer 4 - Segments

  • Layers 5-7 - Data

4
New cards

Physical Layer

  • 1st Layer of the OSI Model

  • Where transmission of bits across the network occurs and includes physical and electrical network characteristics

  • Data Type : Bits

    • Binary bits represented as a series of 1s and 0s

5
New cards

Transition Modulation

Switching between levels to represent 1 or 0

  • If it changes during the clock cycle, then a 1 is represented. otherwise, a 0 is represented

6
New cards

Transition Modulation Cables

  • Copper Wire (Cat5/CAt6) - Uses voltage (0V for 0, +5V/-5V for 1)

  • Fiber Optic Cable - Uses light (on for 1, off for 0)

7
New cards

Connector Standards

  • RJ-45 Connector - Used in CAT5/CAT6 cables

    • Allows us to plug into the back of a computer or switch

8
New cards

Wiring Standards (2)

  • TIA/EIA-568A

  • TIA/EIA-568B

9
New cards

Crossover Cables

TIA/EIA-568A on one end, TIA/EIA-568B on the other end

10
New cards

Straight-through cable

TIA/EIA-568B on both sides

11
New cards

Physical Topologies

  • Bus

  • Ring

  • Star

  • Hub-and-Spoke

  • Full Mesh

  • Partial-Mesh

Based on how cables are physically connected

12
New cards

Types of Synchronization (2)

  • Asynchronous Communication

  • Synchronous Communication

13
New cards

Asynchronous Communication

Start and stop bits for out-of-sync transmission

Ex. Voicemails

14
New cards

Synchronous Communication

Real-time communication using a common time source

Ex. Phone call

15
New cards

Bandwidth Utilization

  • Broadband

    • Divides bandwidth into separate channels

    • Ex. cable TV

  • Baseband

    • Uses all frequency of the cable all the time

    • Ex. telephone

    • Uses a reference clock (synchronous communication)

16
New cards

Multiplexing

Involves taking some limited amount of resource and using it more efficiently

  • In our case:

    • It allows multiple people to use a baseband connection at the same time

17
New cards

Types of Multiplexing (3)

  • Time Division Multiplexing (TDM)

  • Statistical Time Division Multiplexing (STDM)

  • Frequency Division Multiplexing (FDM)

18
New cards

Time Division Multiplexing (TDM)

Each session takes a turn, using time slots, to share the medium between all users

19
New cards

Statistical Time Division Multiplexing (STDM)

Dynamically allocates the time slots based on when people need it

  • If no one is using the time slot but it is not your time slot, you can use it

20
New cards

Frequency Division Multiplexing (FDM)

Divides the medium into channels based on frequencies and session is transmitted over a different channel

21
New cards

Layer 1 Devices

  • Cables

  • Wireless Media

  • Infrastructure Devices

22
New cards

Layer 1 Device - Cable

  • Fiber optic

  • Ethernet

  • Coaxial

23
New cards

Layer 1 Device - Wireless Media

  • Bluetooth

  • Wi-Fi

  • Near field communication

24
New cards

Layer 1 Device - Infrastructure Devices

  • Hubs

  • Access Points

  • Media Converters

25
New cards

Characteristics of a Layer 1 Device

  • Simply repeat whatever they are told ; dumb devices

  • No logic/ decision-making

26
New cards

Data Link Layer

  • 2nd Layer of the OSI Model

  • Packages bits from layer 1 into frames and transmits them on the network

  • Data Type: Frames

  • Performs:

    • Error Detection

    • Error Correction

    • Identifies devices using MAC addresses

    • Flow Control

27
New cards

Media Access Control (MAC) Address

A means for identifying a device physically and allowing it to operate on a logical topology

  • A 48-bit physical addressing system is assigned to every network interface card (NIC) produced

    • Written in hexadecimal

    • First 24 bits - manufacturer ID

    • Last 24 bits - specific device ID

28
New cards

Logical Link Control (LLC)

  • Provides connection services and allows acknowledgement of receipt of messages, ensuring controlled data flow

  • Keeps receiver from being overwhelmed, limits sender data sent

  • Uses checksum to detect corrupted data frames

29
New cards

Synchronous Methods at Layer 2 (3)

  • Isochronous Mode

  • Synchronous Method

  • Asynchronous

30
New cards

Layer 2 Synchronization Methods - Isochronous Mode

  • Common reference clock

  • Time slots for transmissions

  • Less overhead

31
New cards

Layer 2 Synchronization Methods - Synchronous Method

Devices agree on a common clocking method to indicate beginning and end frames, and control characters for synchronization

32
New cards

Layer 2 Synchronization Methods - Asynchronous

  • Devices reference their own clock styles

  • No control over communication timing

33
New cards

Layer 2 Devices

  • Network Interface Cards (NICs)

  • Bridges

  • Switches

34
New cards

Switch Operation

  • Switches use CAM tables with MAC addresses to identify physical ports connected to devices

  • Enable selective data transmission to specific areas in the network

35
New cards

Network Layer

  • 3rd Layer of the OSI Model

  • Concerned with routing and forwarding traffic using logical addresses

  • Data Type : Packets

36
New cards

Logical Addressing

IP Variants

  • Common logical addressing schemes

  • IPv4

    • written in dotted octet notation, four sets of numbers

    • ex. 172.16.254.1

  • IPv6

Other protocols - replaced by IP

  • Apple Talk

  • IPX ( Internetwork Packet Exchange)

37
New cards

Switching/Routing Methods (3)

  • Packet Switching (Routing)

  • Circuit Switching

  • Message Switching

38
New cards

Packet Switching (Routing)

Data is divided into packets and then forwarded

  • Most common method

39
New cards

Circuit Switching

Dedicated and constant communication link is established between two devices

40
New cards

Message Switching

Data is divided into messages which can be stored and then forwarded

41
New cards

Route Discovery and Selection

Routers maintain routing tables for determining the best path

42
New cards

Routing Protocols

Help decide how data is going to flow across the network and how the routers are going to communicate that information

43
New cards

Connection Services at Layer 3

  • Augment Layer 2 services to improve reliability

  • Involves flow control

    • Prevents sender form overwhelming the receiver

  • Packet reordering

    • Ensures data packet arrival and are reassembled in the correct order

44
New cards

Internet Control Message Protocol (ICMP)

Sends error messages and operation information to an IP destination

  • PING

    • Most commonly used ICMP

    • Helps troubleshoot network issues by testing connectivity and response times

  • Traceroute

    • Traces the route of a packet through the network

45
New cards

Layer 3 Devices and Protocols

  • Routers

  • Multi-layer switches

  • IPv4

  • IPv6

  • ICMP

46
New cards

Multi-layer switches

  • Combines layer 2 switch and layer 3 router features

  • A switch will always be a layer 2 device unless it is mentioned that it is multi-layer switch which is a layer 3 device

47
New cards

Transport Layer

  • 4th layer of the OSI Model

  • The dividing layer between the upper and lower layers of the OSI model

  • Data Type: Segments

48
New cards

Upper Layers of the OSI Model

  • Transport

  • Session

  • Presentation

  • Application

49
New cards

Lower Layers of the OSI Model

  • Physical

  • Data Link

  • Network

50
New cards

Layer 4 Protocols

  • TCP

  • UDP

51
New cards

Transmission Control Protocol (TCP)

  • Connection-oriented protocol that is a reliable way to transport segments across the network

  • Uses acknowledgement

  • Three-Way Handshake

    • SYN - Synchronization

    • SYN-ACK - Synchronization - Acknowledgement

    • ACK - Acknowledgement

  • Used for all network data that needs to be assured to get to its final destination

52
New cards

User Datagram Protocol (UDP)

  • Connectionless protocol that is an unreliable way to transport segments across the network

  • No-three way handshake and less overhead

  • No ACK

  • Used for audio and visual streaming

  • Data Type : Datagrams

53
New cards

TCP vs UDP

  • TCP

    • Reliable

      • Three-way handshake

    • Connection-oriented

    • Segment retransmission and flow control through windowing

    • Segment sequencing

    • Acknowledges segments

  • UDP

    • Unreliable

    • Connection-less

    • No retransmission and no windowing

    • No sequencing

    • No acknowledgements of datagrams

54
New cards

Windowing

  • Allows clients to adjust the amount of data in each segment

  • Optimizes throughput and bandwidth

  • Opens or closes windows based on retransmissions

55
New cards

Buffering

  • Occurs when devices allocate memory to store segments if bandwidth isn’t readily available

  • Buffer

    • Temporary storage for segments

  • Prevents overflow by clearing segments

56
New cards

Layer 4 Devices and Protocols

  • Protocols

    • TCP

    • UDP

  • Devices

    • WAN accelerators

    • Load balancers and firewalls

57
New cards

Session Layer

  • 5th Layer of the OSI Model

  • Manages sessions, ensuring separate conversations to prevent data intermingling

58
New cards

Components in the Session Layer

  • Setting Up Session

  • Maintaining Session

  • Tearing Down a Session

59
New cards

Setting Up Session

Checking of user credentials and assigning numbers to sessions to help identify them

60
New cards

Maintaining Session

  • Continuous data transfer between parties

  • If connection breaks, it must be re-established

  • Includes acknowledgement of data

61
New cards

Tearing Down a Session

Ending a session after the transfer is done or when the other party disconnects

62
New cards

Layer 5 Devices and Protocols

  • H.323

    • Used to set up, maintain, and tear down voice and video connections

    • Operates over the real-time transport protocol (RTP)

      • ex. Facetime, Skype

  • NetBIOS

    • Used to share files over a network

    • ex. Windows file sharing

  • ○ Layer 5 issues involve protocols and software rather than specific devices

63
New cards

Presentation Layer

  • 6th Layer of the OSI Model

  • Formats the data to be exchanged and secures it with proper encryption

64
New cards

Data Formatting

  • Formatting done by a computer to have compatibility between different devices

  • Formats

    • American Standard Code for Information Interchange (ASCII)

      • Text-based language to use

      • Ensures data is readable by receiving system

      • Provides proper data structures

      • Negotiates data transfer syntax for the Application Layer

    • GIFs - motion pictures

    • JPEGs - photographs

    • PNGs - Internet images

65
New cards

Encryption

  • Used to scramble data in transit to keep it secure and confidentiality

  • Transport Layer Security (TLS)

    • Ensures secure data transfer

    • Creates an encrypted tunnel, protecting sensitive information

66
New cards

Scripting Languages in Layer 6

  • All control how ASCII text is displayed on-screen

    • HTML

    • XML

    • PHP

    • JavaScript

67
New cards

Standard Text Formats

  • Different ways for displaying text using ones and zeros

    • ASCII

    • Unicode

    • EBCDIC

68
New cards

Image Formats

  • Graphical representations of ones and zeros

    • GIFs

    • JPEGs

    • TIFFs

    • SVGs

    • PNGs

69
New cards

Movie Files

  • Ones and zeros formatted to create watchable videos

    • MP4s

    • MPEGs

    • MOV

70
New cards

Encryption Algorithms

  • Scrambles data to provide confidentiality and security during transit and storage

    • TLS

    • SSL (Secure Sockets Layer)

71
New cards

Application Layer

  • 7th Layer of the OSI Model

  • Provides application-level services where users communicate with the computer

  • Focus on lower-level applications

    • File Transfer

    • Network Transfer

72
New cards

Application Services

  • Unites communicating components for more than one network application

    • File transfer

    • File sharing

    • Email

      • Low-level protocols

        • POP3 (Post Office Protocol 3)

        • IMAP (Internet Message Access Protocol

        • SMTP ( Simple Mail Transfer Protocol)

    • Remote access

    • Network Management

    • Client-server processes

73
New cards

Service Advertisement

  • Applications send announcements to other devices on the network

  • Devices advertise the services they offer

    • Printer and file servers managed by Active Directory

    • Self-advertising devices like wireless printers

74
New cards

Layer 7 Protocols

  • Email Applications

    • POP3

    • IMAP

    • SMTP

  • Web Browsing

    • HTTP

    • HTTPS

  • Domain Name Service (DNS)

  • File Transfer Protocols

    • FTP

    • FTPS

    • SFTP

  • Remote Access

    • Telnet

    • SSH

    • SNMP

75
New cards

Encapsulation

The process of putting headers( and trailers) around some data

  • Moving from Application Layer (7) to Physical Layer (1) - Encapsulation

76
New cards

Decapsulation

Removing the applied encapsulation to access the original data

  • Moving from Physical Layer (1) to Application Layer (7) - Decapsulation

77
New cards

Protocol Data Units (PDUs) in OSI Model

  • A single unit of information transmitted in a computer network

    • Terminology used for each layer is written as L(layer number) PDU

      • Ex. L7 PDU for Layer 7

  • There are special names for the PDUs for layers 1,2,3, and 4

    • Layer 1 - Bits

    • Layer 2 - Frames

    • Layer 3 - Packets

    • Layer 4 - Segments (TCP) or Datagrams (UDP)

78
New cards

TCP Header (Layer 4)

  • 10 Fields, 20 bytes of information

    • Source port

    • Destination port

    • Sequence number

    • Acknowledgment numbers

    • TCP data offset

    • Reserved data - always set to zero

    • Control flags

      • SYN - synchronizes connection in three-way handshake

      • ACK - acknowledgement of the successful receipt of data

      • FIN (Finished) - tears down connections created by three-way handshake

      • RST (Reset) - used when an unexpected packet is received

      • PSH (Push) - ensures data is given priority

      • URG (Urgent) - identifies incoming data as urgent

    • Window size

    • TCP checksum

    • Urgent pointer

    • mTCP * Optional

79
New cards

UDP Header (Layer 4)

  • 8-byte header

    • Source port

    • Destination port

    • Length - indicates total packet bytes

    • Checksum - not mandatory

80
New cards

IP Header (Layer 3)

  • Various Fields

    • Version

    • Length

    • Type of service

    • Total packet and header length

    • Identifier

    • Flags

    • Fragmented offset

    • Time to Live

    • Protocol

    • Header checksum

    • Source IP

    • Destination IP

    • Options and Padding

81
New cards

Ethernet Header (Layer 2)

  • Source and Destination MAC Address

    • MAC Address

      • Physical address that is used to identify a network card on a LAN

      • Processed by switches

  • EtherType field

    • Indicates which protocol is encapsulated in the payload of a frame

  • VLAN Tag - optional

    • IEEE 802.1Q

    • IEEE 802.1AD

  • A frame sent at Layer 2 will also contain a payload

    • Payload

      • Data that is being sent across the network

      • 42 bytes - using VLANs

      • 46 bytes - no VLANs

      • Maximum Transmission Unit (MTU)

        • Maximum size for payload

          • 1500 bytes for Ethernet

    • Jumbo Frame

      • Frames larger than 1500 bytes

      • Require reconfiguring of MTU

82
New cards

Data Transmission (Encapsulation/Decapsulation)

  • Encapsulation of data and adding header at each layer

    • Layer 4 - Source/Destination Ports

    • Layer 3 - Source/Destination IP addresses

    • Layer 2 - Source/Destination MAC addresses

    • Layer 1 - data transmitted as 1s and 0s

  • Decapsulation at each intermediate device until the final host is reached

  • Final host decapsulates to Layer 7 for application understanding