OSI Model Flashcards
osi
open systems interconnection
layer 1
physical layer
bits
cables, radio frequencies, hubs, waps, media converters
broadband
divides bandwidth into separate channels
cable tv
baseband
uses all available frequency on a medium
ethernet
multiplexing
get more out of limited network
simultaneous use of broadband
TDM, StatTDM, FDM
layer 2
data link layer
MAC frames
1. media access control: physical addressing
2. logical link layer: ack, flow control, error control
NIC, bridges, switches\
add src and dest MACs
layer 3
network layer
IP packets
routers, multilayer switches, IPv4/6, ICMP
add src and dest IPs
icmp
internet control message protocol
send error messages and operation information about IP
layer 4
transport layer segments/datagrams tcp, udp, load balancers, firewalls add src and dest ports
tcp
transmission control protocol
reliable, connection-oriented
flow control, windowing, acks, retransmissions
udp
user diagram protocol
unreliable, connectionless
no windowing or retransmission or acks
audio/video streaming
windowing
allows clients to adjust the amount of data sent in each segment
continually adjusts based on retransmission rates
buffering
allocate memory to store segments if bandwidth is not available
when ready, transmit from buffer
if full, messages are dropped :(
layer 5
session layer
data
setup, maintain, teardown session
H.323, netBIOS
layer 6
presentation layer
data
format and secure
tls, ssl, html, ascii. php, js etc…
layer 7
application layer data email: pop3, imap, smtp web: http, https dns, ftp/s, telnet, ssh, snmp
encapsulation
putting headers/trailer around some data
layers 7->1
decapsulation
removing headers/trailer around some data
layers 1->7
pdu
protocol data unit
bits, frames, packets, segments/datagrams
syn
tcp synchronization flag
ack
tcp acknowledgement flag
fin
tcp finished packet
tear down connection
rst
tcp reset flag
used when unexpected packet is received
psh
tcp push flag
give data priority
urg
tcp urgent flag
gives packet most priority (ignore anything else in queue)
ethertype
field to indicate which protocol is encapsulating