<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Learn-Networking.com &#187; osi model</title>
	<atom:link href="http://learn-networking.com/tag/osi-model/feed" rel="self" type="application/rss+xml" />
	<link>http://learn-networking.com</link>
	<description>Where 127.0.0.1 is Home.</description>
	<lastBuildDate>Sat, 27 Nov 2010 22:11:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>How Encapsulation Works Within the TCP/IP Model</title>
		<link>http://learn-networking.com/tcp-ip/how-encapsulation-works-within-the-tcpip-model</link>
		<comments>http://learn-networking.com/tcp-ip/how-encapsulation-works-within-the-tcpip-model#comments</comments>
		<pubDate>Sun, 27 Jan 2008 20:21:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[TCP/IP]]></category>
		<category><![CDATA[encapsulation]]></category>
		<category><![CDATA[osi model]]></category>
		<category><![CDATA[tcp/ip]]></category>

		<guid isPermaLink="false">http://learn-networking.com/blog/network-design/how-encapsulation-works-withing-the-tcpip-model</guid>
		<description><![CDATA[In the previous section we reviewed the TCP/IP and OSI model. For the sake of clarity, we will be using the TCP/IP model to demonstrate encapsulation, as compared to the OSI model. If you are still struggling with grasping concepts of the TCP/IP model you may wish to view the previous section once more. Otherwise, [...]]]></description>
			<content:encoded><![CDATA[<p class="notifytext">In the previous section we reviewed the TCP/IP and OSI model. For the sake of clarity, we will be using the TCP/IP model to demonstrate encapsulation, as compared to the OSI model. If you are still struggling with grasping concepts of the TCP/IP model you may wish to view the previous section once more. Otherwise, onward to the encapsulation process!</p>
<h3>The TCP/IP Model</h3>
<p class="first">As we learned in the previous section, the TCP/IP model has four layers. You can view a diagram of the model below.</p>
<p style="text-align: center"><img src="http://www.learn-networking.com/wp-content/oldimages/tcp-ip-model.jpg" alt="tcp ip model" height="174" width="246" /></p>
<p>Keep in mind that we divide the stack into four separate layers because they each perform a certain role or task. As data is being sent from one computer, it will pass from the top layer to the bottom. On the receiving end, the data will then be rebuilt from the bottom layer to the top. You can view an example of this process below.</p>
<p style="text-align: center"><img src="http://www.learn-networking.com/wp-content/oldimages/tcp-ip-encapsulation.jpg" alt="tcp ip encapsulation" /></p>
<p>Each layer a packet of information travels through adds what is called a header. Think of it in terms of a Russian doll. You’re probably familiar with them: each doll has another smaller doll inside of it. Just like the dolls, each layer a sending packet passes through gains another header (or doll). When the packet is being rebuilt on the receiving end, each header is unpackaged the same way. You can see an example of a sending packet gaining header information below.</p>
<p style="text-align: center"><img src="http://www.learn-networking.com/wp-content/oldimages/tcp-ip-headers.jpg" alt="tcp ip headers" /></p>
<p>Note that at the receiving end, we would have the reverse process (Headers would be taken away at each layer, until the receiving packet is by itself.)</p>
<p>Since each layer of the TCP/IP model does a unique task separate of the other layers, we refer to the data package at each layer with different names. For instance, the data package at the Application Layer is called a message, while the same data package at the Internet Layer is called a datagram. Review the diagram below for the complete list of names.</p>
<p style="text-align: center"><img src="http://www.learn-networking.com/wp-content/oldimages/datagram-segment-frame.jpg" alt="datagram segment frame" /></p>
<p>Notice that the Transport Layer may have one of two names- a segment or a datagram. If the TCP protocol is being used, it is called a segment. If the UDP protocol is being used, it is called a Datagram.</p>
<p>The data then passes through the Internet Layer onto the Network Access Layer, where a frame is created. Once the data packet leaves this level it is converted into a bitstream of electrical pulses, commonly referred to as 1’s and 0’s.</p>
<p>Finally, you should note that Cisco demands CCNA students to know specific information on the Data Link Layer and encapsulation. As you can see, we haven&#8217;t used the OSI model, but the TCP/IP model (so we use the Network Access Layer as opposed to the Data Link and Physical Layer). Specifically, Cisco demands that students know that packets are packaged into frames at the Data Link Layer. And, like other layers, a header and trailer are added to the information at the Data Link Layer. You can see the encapsulation process with the OSI model below.</p>
<p style="text-align: center"><img src="http://www.learn-networking.com/wp-content/oldimages/osi-encapsulation.jpg" alt="osi encapsulation" /></p>
<p>We know what you&#8217;re thinking- where&#8217;s a good pneumonic when you need it? The easiest one we could find was &#8220;Dirty Sick People Feel Bad,&#8221; whereas each letter of each word corresponds to Data, Segments, Packets, Frames, and Bits.</p>
<h3>Putting it All Together</h3>
<p class="white">Now that we have the basics down, we can finally review the entire process of data encapsulation. Refer to the below list to see a real-life example of encapsulation. If needed, you can view the above diagrams if you get lost.</p>
<p><strong>The Data Encapsulation Process</strong></p>
<ul>
<hr />
<li> <strong>1.</strong> One computer requests to send data to another over a network.</li>
<p></p>
<li><strong>2.</strong> The data message flows through the Application Layer by using a TCP or UDP port to pass onto the internet layer.</li>
<p></p>
<li><strong>3.</strong> The data segment obtains logical addressing at the Internet Layer via the IP protocol, and the data is then encapsulated into a datagram.</li>
<p></p>
<li><strong>4.</strong> The datagram enters the Network Access Layer, where software will interface with the physical network. A data frame encapsulates the datagram for entry onto the physical network. At the end of the process, the frame is converted to a stream of bits that is then transmitted to the receiving computer.</li>
<p></p>
<li><strong>5.</strong> The receiving computer removes the frame, and passes the packet onto the Internet Layer. The Internet Layer will then remove the header information and send the data to the Transport layer. Likewise, the Transport layer removes header information and passes data to the final layer. At this final layer the data is whole again, and can be read by the receiving computer if no errors are present.</li>
<hr /></ul>
<p>And there you have it: encapsulation at its finest. We realize that encapsulation isn’t the easiest concept to grasp, but steady review of this and previous sections will ensure you will grasp the concept soon enough.</p>
<h3>Closing Comments</h3>
<p>Data encapsulation allows devices to communicate, and therefore, it is completely necessary to learn. It is present on networking exams such as the CCNA, so be sure to review these concepts before exam day.</p>
<p>In the following sections we’ll be looking at each layer in more specifics. The next section we will review the Network Access Layer in particular. Physical addresses, frames and LAN technology- clearly we will have our hands full!</p>
<img src="http://learn-networking.com/learn-networking.com/?ak_action=api_record_view&id=47&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://learn-networking.com/tcp-ip/how-encapsulation-works-within-the-tcpip-model/feed</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>The TCP/IP Stack and the OSI Model</title>
		<link>http://learn-networking.com/tcp-ip/the-tcpip-stack-and-the-osi-model</link>
		<comments>http://learn-networking.com/tcp-ip/the-tcpip-stack-and-the-osi-model#comments</comments>
		<pubDate>Sun, 27 Jan 2008 20:04:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[TCP/IP]]></category>
		<category><![CDATA[osi model]]></category>
		<category><![CDATA[pneumonics]]></category>
		<category><![CDATA[tcp/ip]]></category>

		<guid isPermaLink="false">http://learn-networking.com/blog/network-design/the-tcpip-stack-and-the-osi-model</guid>
		<description><![CDATA[In the previous section, we learned that TCP/IP is a suite of protocols and rules. It allows us to communicate with other computers and devices over a connection oriented network. What we didn’t cover was the TCP/IP and OSI model- which helps us understand the TCP/IP suite in a manner of layers and modules. The [...]]]></description>
			<content:encoded><![CDATA[<p class="notifytext">In the previous section, we learned that TCP/IP is a suite of protocols and rules. It allows us to communicate with other computers and devices over a connection oriented network. What we didn’t cover was the TCP/IP and OSI model- which helps us understand the TCP/IP suite in a manner of layers and modules.</p>
<h3>The TCP/IP Model and Modular Design</h3>
<p class="white">TCP/IP is responsible for a wide range of activity: it must interface with hardware, route data to appropriate places, provide error control, and much more. If you are starting to think the TCP/IP suite can get confusing, you wouldn’t be the first.</p>
<p class="white">The developers of TCP/IP thankfully designed what we call a modular design- meaning that the TCP/IP system can be divided into separate components. You may call these layers or modules.  But why use a modular design? Not only does it aid in the education process, but it also lets manufacturers easily adapt to specific hardware and operating system needs.</p>
<p class="white"> For example- if we had a token ring network and an extended star network, we surely wouldn’t want to create entirely different network software builds for each one. Instead, we can just edit the network layer, called the Network Access Layer, to allow compatibility.  Not only does this benefit manufacturers, but it greatly aids networking students in education. We can dissect the TCP/IP suite into different layers, and then learn about each layer’s specifics one at a time. Below you’ll see the TCP/IP model divided into four layers.</p>
<p style="text-align: center"><img src="http://www.learn-networking.com/wp-content/oldimages/tcp-ip-model.jpg" alt="tcp ip model" /></p>
<ul>
<hr />
<li> <strong>Network Access Layer &#8211; </strong>The Network Access Layer is fairly self explanatory- it interfaces with the physical network. It formats data and addresses data for subnets, based on physical hardware addresses. More importantly, it provides error control for data delivered on the physical network.</li>
<p></p>
<li><strong>Internet Layer &#8211; </strong>The Internet Layer provides logical addressing. More specifically, the internet layer relates physical addresses from the network access layer to logical addresses. This can be an IP address, for instance. This is vital for passing along information to subnets that aren’t on the same network as other parts of the network. This layer also provides routing that may reduce traffic, and supports delivery across an internetwork. (An internetwork is simply a greater network of LANs, perhaps a large company or organization.)</li>
<p></p>
<li><strong>Transport Layer &#8211; </strong>The Transport Layer provides flow control, error control, and serves as an interface for network applications. An example of the transport layer would be TCP- a protocol suite that is connection-oriented. We may also use UDP- a connectionless means of transporting data.</li>
<p></p>
<li><strong>Application Layer &#8211; </strong>Lastly, we have the Application Layer. We use this layer for troubleshooting, file transfer, internet activities, and a slew of other activities. This layer interacts with many types of applications, such as a database manager, email program, or Telnet.</li>
<hr /></ul>
<p>The above layers are more complex than the general descriptions provided, but rest assured, we will get into the specifics in later sections. For now we have another model to learn- the OSI model.</p>
<h3>The Open System Interconnection Model</h3>
<p class="white">The Open System Interconnection Model, more commonly known as simply OSI, is another model that can help break the TCP/IP suite into modules. Technically speaking, it is exactly the same as the TCP/IP model, except that it has more layers. This is currently being pushed by Cisco since it aids in learning the TCP/IP stack in an easier manner. Likewise, you will see the OSI model on many Cisco exams.</p>
<p class="white">Instead of four layers, the OSI model has seven. You can see a direct comparison of the two models below; notice that only the Application Layer and Network Layer are divided into smaller layers, and the Internet Layer is renamed to the “Network Layer.”</p>
<p style="text-align: center"><img src="http://www.learn-networking.com/wp-content/oldimages/osi-model.jpg" alt="osi model" /></p>
<ul>
<hr />
<li><strong>Physical Layer &#8211; </strong>They Physical Layer converts data into streams of electric or analog pulses- commonly referred to as “1’s and 0’s.” Data is broke down into simple electric pulses, and rebuilt at the receiving end.</li>
<p></p>
<li><strong>Data Link Layer &#8211; </strong>The Data Link layer provides an interface with the network adapter, and can also perform basic error checking. It also maintains logical links for subnets, so that subnets can communicate with other parts of the network without problem.</li>
<p></p>
<li><strong>Network Layer &#8211; </strong>Much like the Transport Layer of the TCP/IP model, the Network Layer simply supports logical addressing and routing. The IP protocol operates on the Network Layer.</li>
<p></p>
<li><strong>Transport Layer &#8211; </strong>Since we left out the error and flow control in the Network Layer, we introduce it into the Transport Layer. The Transport Layer is responsible for keeping a reliable end-to-end connection for the network.</li>
<p></p>
<li><strong>Session Layer &#8211; </strong>The Session Layer establishes sessions between applications on a network. This may be useful for network monitoring, using a login system, and reporting. The Session Layer is actually not used a great deal over networks, although it does still serve good use in streaming video and audio, or web conferencing.</li>
<p></p>
<li><strong>Presentation Layer &#8211; </strong>The Presentation Layer translates data into a standard format, while also being able to provide encryption and data compression. Encryption or data compression does not have to be done at the Presentation Layer, although it is commonly performed in this layer.</li>
<p></p>
<li><strong>Application Layer &#8211; </strong>The Application Layer provides a network interface for applications and supports network applications. This is where many protocols such as FTP, SMTP, POP3, and many others operate. Telnet can be used at this layer to send a ping request- if it is successful, it means that each layer of the OSI model should be functioning properly.</li>
<hr /></ul>
<h3>Now, the Bad News</h3>
<p class="white">Now that we’ve reviewed each layer, you have to commit each layer and its function to memory. Most networking exams require that knowledge of each layer be present. We realize that remembering seven different layers is tough- so we use a mnemonic.  A mnemonic is simply a tool we can use to remember all seven layers. Look at each beginning letter of each layer- it’s PDNTSPA, starting with the Physical Layer. You could come up with a phrase such as “Please Do Not Throw Sausage Pizza Away,” to help you remember each layer name.</p>
<p style="text-align: center"><img src="http://www.learn-networking.com/wp-content/oldimages/osi-pnemonic.jpg" alt="osi pnemonic" /></p>
<p>It is important to remember that each layer is a standard- not an implementation. This means that not all network communication will necessarily use each layer. We partly covered this with the Session Layer, which isn’t always necessarily used. Some devices such as routers only operate at the third layer and below. Some devices are even more limited- repeaters only work at the physical layer of the OSI model.</p>
<h3>Closing Comments</h3>
<p>The OSI and TCP/IP model are fairly prevalent in networking- don’t be surprised if you see them more than you’d like. If you take anything from this section, remember to use a pneumonic to memorize each layer name in order. You can get as crazy as you’d like with the phrase you use, but “Please Do Not Throw Sausage Pizza Away” is generally the easiest to remember.</p>
<p>In the next article, we will be specifically looking at how data moves from one computer to another- and how it moves through the OSI model. Don’t worry if this seems new to you and you don’t quite take all of it in, simply review it some more and move on to the next section. And, as always, you can review the previous section if you didn’t quite grasp all the concepts in this one.</p>
<img src="http://learn-networking.com/learn-networking.com/?ak_action=api_record_view&id=45&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://learn-networking.com/tcp-ip/the-tcpip-stack-and-the-osi-model/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

