The Open Systems Interconnection (OSI) model describes seven layers that computer systems use to communicate over a network.
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.
It is responsible for the actual physical connection between the devices. The physical layer contains information in the form of bits.
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.
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.
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.
Layer-management protocols that belong to the network layer are:
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.
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.
Layer 5: Session Layer
This layer is responsible for establishment of connection, maintenance of sessions, authentication and also ensures security.
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.
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.
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.
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
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
Retweet the thread if it's useful.
β’ β’ β’
Missing some Tweet in this thread? You can try to
force a refresh
Let's dive into the world of user privileges on Linux systems. We'll explore the differences between sudo, su, and sudo su.
#Linux #UserPrivileges
2/8 π¦ First up, sudo!
sudo stands for "Superuser Do." It allows regular users to perform administrative tasks by temporarily gaining root (superuser) privileges. Just add "sudo" before a cmd to execute it with elevated privileges. eg: sudo apt-get update updates packages.
1/ π‘ Let's dive into the world of networking and infrastructure components: Load Balancer, Reverse Proxy, and API Gateway.
They play distinct roles in managing web traffic.
2/ π Reverse Proxy:
A reverse proxy is like a middleman between clients and servers. It handles requests on behalf of servers, often providing benefits like security, load balancing, and caching.
All possible reasons a Kubernetes Pod can go into CrashLoopBackOff π§΅π
1/π§΅ What causes a Kubernetes Pod to go into CrashLoopBackOff?
Hereβs a deep-dive thread on ALL the possible reasons and how to fix them. ππ³
#Kubernetes #DevOps #CrashLoopBackOff
2/ Container Exit Code != 0
Your container crashed due to an error in the app.
π οΈ Fix: Check logs with kubectl logs <pod> and fix code/config causing the error.