Rakesh Jain Profile picture
Sep 23, 2021 β€’ 17 tweets β€’ 7 min read β€’ Read on X
Networking Basics!

How communication happens?
What are 7 OSI Layers?

#Linux #networking #basics #osi #DevOps

A thread πŸ‘‡
What Is the OSI Model?

The Open Systems Interconnection (OSI) model describes seven layers that computer systems use to communicate over a network. Image
Layer 1: Physical Layer

It represents the electrical and physical representation of the data connection / system.

When a networking problem occurs, many networking pros go right to the physical layer to check that all of the cables are properly connected. Image
It is responsible for the actual physical connection between the devices. The physical layer contains information in the form of bits. Image
Layer 2: Data Link Layer

The data link layer is responsible for the node to node delivery of the message. The main function of this layer is to make sure data transfer is error-free from one node to another, over the physical layer. Image
It is IP address understandable layer, which helps you to define logical addressing so that any endpoint should be identified.

The layer also helps you implement routing of packets through a network. Image
Layer 3: Network Layer

Network layer works for the transmission of data from one host to the other located in different networks. It also takes care of packet routing.

The sender & receiver’s IP address are placed in the header by the network layer. Image
Layer-management protocols that belong to the network layer are:

1. Routing protocols
2. multicast group management
3. network-layer address assignment

Segment in Network layer is referred as Packet. Image
Layer 4: Transport Layer

The Transport Layer deals with the coordination of the data transfer between end systems and hosts. How much data to send, at what rate, where it goes, etc.

The data in the transport layer is referred to as Segments. Image
Two examples of the Transport Layer are the UDP (User Datagram Protocol) and TCP (Transmission Control Protocol) that is build on top of the Internet Protocol (IP model), which work at layer 3. Image
Layer 5: Session Layer

This layer is responsible for establishment of connection, maintenance of sessions, authentication and also ensures security. Image
Important function of Session Layer:

1. It establishes, maintains, and ends a session.
2. Session layer enables two systems to enter into a dialog
3. It also allows a process to add a checkpoint to steam of data. Image
Layer 6: Presentation Layer

The presentation layer is responsible for ensuring that the data is understandable for the end system or useful for later stages. It translates or formats data based on the application’s syntax or semantics. Image
The functions of the presentation layer are :

1. Translation : For example, ASCII to EBCDIC.

2. Encryption/ Decryption : Data encryption translates the data into another form or code.

3. Compression: Reduces the number of bits that need to be transmitted on the network. Image
Layer 7: Application Layer

At this layer the user directly interacts with a software application, so it is closest to the end user. When the user wants to transmit files or pictures, this layer interacts with the application communicating with the nw.
Examples: Web Browsers Image
The functions of the Application layer are :

1. Network Virtual Terminal
2. FTAM-File transfer access and management
3. Mail Services
4. Directory Services

Some common protocols include:

1. POP3 or SMTP for emails
2. FTP for emails
3. Telnet for controlling remote devices Image
Retweet the thread if it's useful.

β€’ β€’ β€’

Missing some Tweet in this thread? You can try to force a refresh
γ€€

Keep Current with Rakesh Jain

Rakesh Jain Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @devops_tech

May 5
🧡 Kubernetes Troubleshooting Series:

Scenario: Pod stuck in ImagePullBackOff or ErrImagePull?

Here’s a step-by-step thread to troubleshoot and fix it like a pro. πŸ’‘

#Kubernetes #DevOps #Containers Image
1/ Why does this happen?

When a pod can’t pull the container image, it may get stuck in ImagePullBackOff or ErrImagePull.

This commonly occurs due to:
- Private Docker registries 🏰
- Wrong image names/tags ❌
- Expired or missing imagePullSecrets πŸ”
2/ Step 1 – Inspect Pod Events

Run:
kubectl describe pod <pod-name>

Check the Events section. Look for errors like:
- pull access denied
- manifest not found
- rpc error from daemon

These reveal the root cause.
Read 13 tweets
Mar 26
🐧 AWK Master Cheat Sheet: 15 Must-Know Commands for DevOps & Linux Admins πŸ–₯️ Image
1️⃣ Basic Print

Print the first column of a file:
awk '{print $1}' file.txt

πŸ‘‰ Extracts and prints the first field from each line.
2️⃣ Print Specific Columns

Print columns 1 and 3 separated by -:
awk '{print $1 "-" $3}' file.txt

πŸ‘‰ Useful for structured data processing.
Read 18 tweets
Mar 24
πŸš€ 7-Day Docker Learning Series – Day 7: Docker Security Best Practices πŸ›‘οΈ Image
Welcome to the final day of our Docker Learning Series! Today, we’ll focus on Docker Security – essential for protecting your containers, images, and infrastructure.
πŸ”Ή Why is Docker Security Important?
β€’ Containers share the host kernel πŸ–₯️
β€’ Misconfigurations can expose sensitive data πŸ›‘
β€’ Unverified images can introduce vulnerabilities ⚠️

πŸ§΅πŸ‘‡ (Thread)
Read 16 tweets
Mar 22
πŸš€ 7-Day Docker Learning Series – Day 6: Docker Compose – Managing Multi-Container Applications πŸ› οΈ Image
Welcome to Day 6 of our Docker Learning Series! Today, we’ll learn about Docker Compose, a powerful tool to define and manage multi-container applications using a simple YAML file.

πŸ”Ή Why Use Docker Compose?

πŸ§΅πŸ‘‡ (Thread)
1️⃣What is Docker Compose?πŸ“œ

Docker Compose is a tool that allows you to define & run multi-container apps using a single YAML config file (docker-compose.yml).
βœ… Helps manage complex applications
βœ… Simplifies multi-container setups
βœ… Automates container startup & networking
Read 14 tweets
Mar 21
πŸš€ 7-Day Docker Learning Series – Day 5: Docker Networking – Connecting Containers 🌐 Image
Welcome to Day 5 of our Docker Learning Series! Today, we’ll dive into Docker Networking, how containers communicate, and different network types.

πŸ”Ή Why is Docker Networking Important?

πŸ§΅πŸ‘‡ (Thread)
1️⃣ What is Docker Networking? 🌐

Docker provides a networking system that allows containers to communicate with each other or with the outside world.
Read 20 tweets
Mar 18
πŸš€ 7-Day Docker Learning Series – Day 4: Docker Volumes – Managing Data in Containers πŸ“¦

Welcome to Day 4 of our Docker Learning Series! Today, we’ll learn how Docker handles data using volumes. Image
πŸ”Ή Why Do We Need Docker Volumes?

πŸ§΅πŸ‘‡ (Thread)
1️⃣ What Happens to Data in Containers? ❌

By default, when a container is deleted, all its data is lost!
To persist data outside the container, we use Docker Volumes.
Read 15 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(