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

Jan 3
🧡 How to Start Learning Linux for DevOps Aspirants πŸš€πŸ§

From newbie to pro in no time!
Let’s make Linux your ultimate superpower. πŸ¦Έβ€β™‚οΈπŸ¦Έβ€β™€οΈ Image
1/ Start with the Basics πŸ› οΈβœ¨
β€’ Discover Linux distros: Ubuntu 🟣, CentOS πŸ”΅, Red Hat πŸ”΄.
β€’ Set up Linux in a VM (VirtualBox/VMware πŸ’»).
β€’ Get cozy with the terminal – your new BFF! πŸ–₯οΈπŸ‘Š
2/ Master Essential Commands 🎯
Get hands-on with:
β€’ πŸ“‚ Navigation: ls, cd, pwd
β€’ πŸ› οΈ File ops: cp, mv, rm
β€’ πŸ”Ž Search: find, grep, locate
β€’ πŸ”‘ Permissions: chmod, chown

Pro tip: Always consult the man pages (man <command>). πŸ€“πŸ“œ
Read 18 tweets
Dec 6, 2024
🐧 Linux Networking Commands: 10 Daily-Used Examples (Thread) 🧡 Image
1/ ifconfig (Deprecated: Use ip):
Check & configure network interfaces.

ifconfig eth0 up # Enable interface
ifconfig eth0 down # Disable interface

Use ip instead:
ip addr show eth0
ip link set eth0 up

#LinuxNetworking #SysAdmin
2/ ip (Modern Network Management):
Powerful alternative to ifconfig.

ip a # Show IP addresses
ip route # Display routing table
ip link set eth0 up # Enable interface
Read 13 tweets
Nov 21, 2024
Platform Engineer vs. SRE vs. DevOps Engineer!

A Thread 🧡
1/ What’s the difference? πŸ€”
All these roles focus on improving software delivery and reliability but have different goals. Here’s a quick breakdown:
2/ Platform Engineer πŸ‘·
πŸ‘‰ Goal: Make life easier for developers.
β€’ Build tools & platforms (e.g. CI/CD pipelines, Kubernetes)
β€’ Standardize workflows for efficiency
β€’ Create self-service systems so developers can work faster

πŸ› οΈ They focus on improving developer productivity.
Read 9 tweets
Sep 12, 2024
AWS service limitations to keep in mind!

A List of critical #AWS services and their limitations πŸ‘‡ Image
1. EC2 – Instance limits by region, instance type restrictions.
2. RDS – Max database storage limits, instance size restrictions.
3. S3 – Max object size is 5TB, bucket policies can limit access.
4. EBS – Volume size max of 64TB, 20,000 IOPS for io1/io2 volumes.
5. IAM – Max 5,000 roles per account, policy size limits.
6. Lambda – Max execution timeout of 15 minutes, memory max 10GB.
7. DynamoDB – Partition throughput limits, item size max of 400KB.
8. CloudFormation – 200 resources limit per stack.
Read 13 tweets
Sep 9, 2024
Mastering Ansible command line!

A Thread of 10 key #Ansible commands and concepts all #DevOps and #Linux Administrators should focus on πŸ‘‡πŸ‘‡ Image
1️⃣ Check Ansible Version

Command:
ansible --version

Explanation:
Verify your Ansible installation and check version details.
2️⃣ Ping All Hosts

Command:
ansible all -m ping

Explanation:
Ping all hosts in your inventory to ensure they are reachable.
Read 18 tweets
Sep 5, 2024
🧡 Mastering Docker Troubleshooting: 15 Key Tips for Developers and DevOps Engineers!

A Thread πŸ‘‡πŸ‘‡ Image
1/ 🐳 Check Container Status
Use docker ps -a to view all containers and their statuses. A container may have exited unexpectedly.
Look at STATUS and RESTART policies to identify potential issues.
2/ πŸ” Inspect Logs
Run docker logs <container_name> to see the container logs.
This helps troubleshoot crashes, errors, or other issues within the app or service.
Read 18 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!

:(