Lecture 2 Flashcards
Learning Objectives: • Describe the two common network models – OSI and TCP/IP • Identify each layers and common protocols in each. • Differentiate between OSI and TCP/IP models
How many layers does the The Open Systems Interconnection (OSI) model have and what are they
- Application
- Presentation
- Session
- Transport
- Network
- Data link
- Physical
The OSI model: peer communication
each layer between 2 computers behave as if they are directly communicating with each other
Data passes from top (application layer) to bottom to the physical layer and back up on
the pair computer
What does each layer in the OSI model do
has its own function and interacts with the layer below it
similarly each layer provides service to the layer above it.
Data from the application layer is split into what
Protocol Data Units (PDUs)
As data makes its way down the OSI model, each layer below adds its “_____”. Similar to putting
a letter into an envelop.
header (encapsulation)
When data gets to the destination host’s physical layer, as it passes up the stack, and the
header is removed (_____).
decapsulation
The OSI Model Application layer (L7)
Application Layer (L7)
- Provides interface for user applications to access the network
- User applications include web browsers, email clients, networked games etc.
Common protocols at L7 include:
• Hyper Text Transfer Protocol (HTTP), port#: 80 or 8080
• Hyper Text Transfer Protocol Secure (HTTPS), port#: 443
• File Transfer Protocol (FTP), port #: 20 or 21
• Domain Name Service (DNS), port#: 53
• Simple Mail Transfer Protocol (SMTP), port#: 25
The OSI Model Presentation Layer (L6)
- Ensures that data can be read by the receiving system.
- Handles data formatting, e.g., displaying graphics embedded in web pages
- Translation, e.g., translating special characters between MACs and Windows or Linux
- Handles Encryption and decryption.
Common protocols at L6 include:
- SSL or TSL security
- JPEG, PNG image formatting
- MP4, MP3, AVI, multimedia formats
The OSI Model Session Layer (L5)
- Enables two devices hold on-going communications called “sessions”.
- This allows the 2 devices exchange data seamlessly for as long as the session lasts.
- Activities includes user login/logoff and authentication used in online shopping or banking applications.
- Handles synchronization and ordering of packet received, such as in streaming videos.
The OSI Model Transport layer (L4)
- Manages data transfer between applications across a network.
- Ensures reliable delivery, error corrections.
- TCP and UDP are common protocols here
- TCP: reliable data delivery using sequencing, acknowledgements, flow control, etc.
- UDP: best effort and does not usually guarantee delivery of PDUs
The OSI Model Network Layer (L3)
- Handles logical addressing
-Translates logical address to physical address. - Routes data from the source to destination node across network(s).
- Also manages traffic management including flow control and access control.
- Devices include: layer 3 switches, routers
- Protocols include:
• Internet Protocol (IP) address
• Internet Control Message Protocol (ICMP)
• RIP, BGP, OSPF etc.
The OSI Model Data Layer (L2)
- Media Access Control Layer
- Works with frames
- Error checking using different models including Cyclic Redundancy Checks (CRC) control.
- Detects and manages collisions on network lines.
- Devices include layer 2 switches and bridges.
- Protocols include:
• MAC address
• Spanning Tree Protocol (STP).
• Ethernet, ATM etc.
The OSI Model Physical Layer (L1)
- Converts data bits into electrical signals and vice versa.
- Deals with data encoding.
-Handles physical media for data transmission including Ethernet cables, fiber optics, coaxial etc. - Hardware connection
- Devices include:
• Hubs and repeaters
• NIC
• Cables
The TCP/IP Model Application layer (L1):
- Combines the Application, presentation and session layers of the OSI model into one.
- Interfaces with the end user
- Creates data which is sent to the transport layer.
The TCP/IP Model Transport Layer (L2):
- Similar function as the transport layer of the OSI model.
- TCP and UDP are the most common protocols.
- Creates a SEGMENT by adding a TCP header to data received from the application layer or
- Creates a DATAGRAM by adding a UDP header to data received from the application layer.