The Open Systems Interconnection (OSI) model describes how a network functions and standardizes the way that systems send information to one another. In this article, we will introduce you to the OSI model and discuss each layer in detail.
What is the OSI Model?
OSI was developed in 1984, the Open Systems Interconnection or OSI model is a seven-layer model used to describe networking connections. It was initially developed by ISO, the International Organization for Standardization in 1984 and is now common practice for learning networking concepts. The OSI models specifies how information is transmitted from a network device like a router to its destination through a physical medium and how it interacts with the application. In other words, it provides a standard for different systems to communicate with each other.
- The upper 4 layers are about transport issues like the physical characteristics of the network and data transmission.
- The bottom 3 layers are about application issues like data formatting and user interfacing.
Some people argue that the OSI model is obsolete because it is less important than the four layers of the TCP/IP model, but this is not true. The OSI model is essential theory for understanding modern computer network technology in a connection-oriented way.
Layer 1: Physical Layer
At the lowest layer of the OSI reference model, the physical layer is responsible for transmitting unstructured data bits across the network between the physical layers of the sending and receiving devices. In other words, it takes care of the transmission of raw bit streams. Example: Cables, modems, network adapters, hubs, etc.
Layer 2: Data Link Layer
The data link layer corrects any errors that may have occurred at the physical layer. It ensures that any data transfer is error-free between nodes over the physical layer. It is responsible for reliable transmission of data frames between connected nodes. The data is packaged into frames here and transferred node-to-node. The data layer has the following sub-layers:
- Media Access Control (MAC): The MAC address layer is responsible for flow control and multiplexing devices transmissions over the network.
- Logical link control (LLC): The LLC layer provides error control and flow control over the physical medium and identifies line protocols.
Layer 3: Network Layer
The network layer receives frames from the data link layer and delivers them to the intended destination based on the addresses inside the frame. It also handles packet routing. The network layer locates destinations using logical addresses like the IP. Routers are a crucial component at this layer as they route information to where it needs to go between different networks. The main functions of the Network layer are:
Routing: The network layer protocols determine which routes from source to destination.
Logical Addressing: The network layer defines an addressing scheme to uniquely identify devices. The network layer places the IP addresses from the sender and receiver in the header.
Layer 4: Transport Layer
The transport layer is responsible for delivering, error checking, flow control, and sequencing data packets. It regulates the sequencing, size, and transfer of data between systems and hosts. It gets the data from the session layer and breaks it into transportable 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
The session layer will create communication channels, called sessions, between different devices. This layer is responsible for opening those sessions and ensuring that they’re functional during data transfer. In other words, the session layer is responsible for establishing, managing, and terminating communication sessions with the lower layers with the presentation and application layer.
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. It also manages any encryption or decryption required by the application layer. It is also called the syntax layer.
Layer 7: Application Layer
The application layer is where 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 network. The application layer identifies resources, communication partners, and synchronizes communication. Other functions of the application layer are the Network Virtual Terminal and FTAM-File transfer access, and mail/directory services. The protocol used depends on the information the user wants to send. Some common protocols include:
- POP3 or SMTP for emails
- FTP for emails
- Telnet for controlling remote devices
- Examples of communications that use Layer 7 are web browsers like Firefox, IE, Chrome etc.
Data flow in OSI Layers : explained through an example...
Refer to above diagram…
Let’s say you send an email to a friend. Your email passes through the application layer to the presentation layer. This layer will compress your data.
Next, the session layer initializes communication. It will then be segmented in the transportation layer, broken up into packets in the network layer, and then into frames at the data link layer. It will then be sent to the physical layer where it is converted to 0s and 1s and sent through a physical medium like cables.
When your friend gets the email through the physical medium, the data flows through the same layers but in the opposite order. The physical layer will convert the 0s and 1s to frames that will be passed to the data link layer. This will reassemble the frames into packets for the next layer.
The network layer will assemble the segments into data. The data is then passed on to the presentation layer that ends the communication session. The presentation layer will then pass the data to the application layer. The application layer feeds the human-readable data to the email software that will allow your friend to read your email.
44 thoughts on “OSI Layers – Microsoft has oftenly referred this term in Azure security topics. What is it all about?”
I think this is one of the most important info for me. And i am glad reading your article. But want to remark on some general things, The website style is ideal, the articles is really nice : D. Good job, cheers
Key Focus Areas : while there are many details described in the resource links, these are key areas to focus your education and planning efforts: Shared responsibility model and cloud architectures: To a security analyst, Azure is a software defined datacenter that provides many services including VMs familiar and others that are very different from on-premises such as Azure SQL Database Azure Functions, and so on. Analysts need to understand and integrate this context into their daily workflows so they know what data to expect, where to get it, and what format it will be in. Endpoint data sources: Getting insights and data for attacks and malware on cloud hosted servers is often faster, easier, and more accurate with native cloud detection tools like Microsoft Defender for Cloud and endpoint detection and response EDR solutions as opposed to traditional approaches of direct disk access.
Hey! I just wish to give an enormous thumbs up for the great info you could have right here on this post. I will be coming back to your weblog for extra soon.
Hmm it looks like your blog ate my first comment (it was extremely long) so I guess I’ll just sum it up what I submitted and say, I’m thoroughly enjoying your blog. I as well am an aspiring blog blogger but I’m still new to the whole thing. Do you have any tips for newbie blog writers? I’d really appreciate it.
I think other web-site proprietors should take this web site as an model, very clean and fantastic user genial style and design, as well as the content. You’re an expert in this topic!
Thanks for the suggestions you have provided here. Yet another thing I would like to convey is that laptop or computer memory demands generally rise along with other improvements in the technological innovation. For instance, any time new generations of cpus are brought to the market, there’s usually a related increase in the type preferences of all laptop memory along with hard drive space. This is because the program operated by means of these cpus will inevitably surge in power to leverage the new technology.
What抯 Going down i am new to this, I stumbled upon this I’ve discovered It absolutely useful and it has aided me out loads. I hope to contribute & help different customers like its helped me. Great job.
fantastic post, very informative. I wonder why the other specialists of this sector don’t notice this. You must continue your writing. I’m confident, you have a great readers’ base already!
Heya i am for the first time here. I came across this board and I to find It truly useful & it helped me out much. I am hoping to offer one thing back and help others such as you helped me.
I would like to add if you do not now have an insurance policy or perhaps you do not remain in any group insurance, you could well make use of seeking the help of a health agent. Self-employed or those with medical conditions typically seek the help of one health insurance brokerage. Thanks for your writing.
Wonderful blog you have here but I was wondering if you knew of any community forums that cover the same topics discussed here? I’d really love to be a part of group where I can get opinions from other knowledgeable people that share the same interest. If you have any recommendations, please let me know. Appreciate it!
hello there and thank you for your info ?I抳e definitely picked up something new from right here. I did however expertise some technical points using this web site, since I experienced to reload the website a lot of times previous to I could get it to load properly. I had been wondering if your web hosting is OK? Not that I’m complaining, but slow loading instances times will very frequently affect your placement in google and can damage your quality score if advertising and marketing with Adwords. Anyway I抦 adding this RSS to my e-mail and could look out for a lot more of your respective fascinating content. Ensure that you update this again very soon..
Hello! I just wish to give an enormous thumbs up for the great data you have here on this post. I can be coming again to your weblog for extra soon.
wonderful points altogether, you just gained a brand new reader. What would you suggest in regards to your post that you made some days ago? Any positive?
I have seen many useful things on your web-site about computers. However, I have the view that laptop computers are still not quite powerful adequately to be a sensible choice if you generally do jobs that require a lot of power, like video editing and enhancing. But for world-wide-web surfing, statement processing, and majority of other typical computer functions they are just fine, provided you may not mind the tiny screen size. Many thanks for sharing your thinking.
I have taken notice that in digital camera models, exceptional detectors help to target automatically. The particular sensors with some video cameras change in contrast, while others utilize a beam with infra-red (IR) light, particularly in low lumination. Higher specification cameras occasionally use a combination of both systems and may have Face Priority AF where the dslr camera can ‘See’ your face while keeping focused only upon that. Thanks for sharing your ideas on this blog site.
Hello my loved one! I want to say that this article is amazing, great written and come with approximately all important infos. I would like to peer more posts like this .
Howdy! This is my first comment here so I just wanted to give a quick shout out and tell you I truly enjoy reading your blog posts. Can you recommend any other blogs/websites/forums that cover the same topics? Appreciate it!
This actually answered my problem, thanks!
I think other website proprietors should take this site as an model, very clean and magnificent user genial style and design, as well as the content. You are an expert in this topic!
I just like the helpful info you provide on your articles. I will bookmark your blog and test once more here regularly. I am reasonably sure I抣l be told lots of new stuff proper right here! Good luck for the following!
I like what you guys are up too. This type of clever work and coverage! Keep up the excellent works guys I’ve incorporated you guys to blogroll.
My husband and i got ecstatic Chris managed to carry out his homework via the precious recommendations he grabbed from your very own site. It is now and again perplexing to just choose to be giving out guidance that many the others might have been trying to sell. So we do know we have got the website owner to thank because of that. Most of the illustrations you’ve made, the easy site navigation, the friendships you assist to foster – it’s got most sensational, and it’s really helping our son in addition to the family feel that this subject matter is thrilling, which is certainly highly indispensable. Thank you for all the pieces!
Thanks for your post. One other thing is that individual states have their own laws which affect house owners, which makes it extremely tough for the our elected representatives to come up with the latest set of recommendations concerning foreclosed on property owners. The problem is that a state possesses own regulations which may work in a negative manner on the subject of foreclosure procedures.
Something else is that when evaluating a good on the web electronics retail outlet, look for online stores that are continually updated, always keeping up-to-date with the most current products, the very best deals, and also helpful information on services. This will make sure that you are handling a shop which stays over the competition and give you what you need to make intelligent, well-informed electronics acquisitions. Thanks for the vital tips I have learned from the blog.
It is appropriate time to make a few plans for the long run and it is time to be happy. I’ve learn this submit and if I may just I desire to suggest you some interesting issues or tips. Maybe you could write next articles relating to this article. I wish to learn more things approximately it!
whoah this blog is wonderful i like studying your articles. Stay up the good paintings! You realize, many people are looking around for this info, you could aid them greatly.
Thank you for every other wonderful post. The place else could anybody get that kind of information in such a perfect means of writing? I have a presentation subsequent week, and I’m on the look for such information.
My developer is trying to persuade me to move to .net from PHP. I have always disliked the idea because of the costs. But he’s tryiong none the less. I’ve been using Movable-type on numerous websites for about a year and am concerned about switching to another platform. I have heard very good things about blogengine.net. Is there a way I can transfer all my wordpress posts into it? Any kind of help would be greatly appreciated!
What抯 Taking place i’m new to this, I stumbled upon this I’ve discovered It absolutely helpful and it has aided me out loads. I’m hoping to contribute & help different customers like its aided me. Great job.
Definitely, what a great website and informative posts, I will bookmark your site.All the Best!
A motivating discussion is definitely worth comment. I believe that you ought to write more about this issue, it may not be a taboo matter but generally folks don’t talk about such topics. To the next! Kind regards!!
One thing I want to say is the fact that before getting more computer memory, have a look at the machine in to which it could well be installed. If the machine is actually running Windows XP, for instance, the memory limit is 3.25GB. The installation of over this would basically constitute any waste. Make sure one’s mother board can handle the upgrade amount, as well. Great blog post.
Thank you for another informative blog. Where else could I get that kind of info written in such an ideal way? I have a project that I am just now working on, and I have been on the look out for such information.
Thanks for the diverse tips contributed on this website.
Best view i have ever seen !
Best view i have ever seen !
Best view i have ever seen !
Best view i have ever seen !
Best view i have ever seen !
Best view i have ever seen !
This blog was… how do you say it? Relevant!! Finally I’ve found something which helped me. Thanks!
I cannot thank you enough for the article post.Really thank you!
Greetings! Very helpful advice in this particular article! It is the little changes that make the greatest changes. Many thanks for sharing!