Sponsored Content
Full Discussion: The OSI-model
Special Forums IP Networking The OSI-model Post 17863 by thomas.jones on Wednesday 20th of March 2002 07:38:06 PM
Old 03-20-2002
You are partially correct! The data does traverse down the OSI model on the source node.......across the network medium.......to the destination node....and back up the OSI model.

BUT, transmissions do not have to actually start at the application level. Have you ever heard of two or three tier routers? They only use part of the OSI model.....hence two or three layers are transmitted....not all 7.

It goes like this:

Data to be sent in this datagram = XXXXXXXXXX

Layer 7 puts on application specific headers:

AAXXXXXXXXXXA

Then Layer 6 for presentation:

PPAAXXXXXXXXXXAP

Then Layer 5 does the same on a session basis:

SSPPAAXXXXXXXXXXAPS

Layer 4 for transport portion:

TTSSPPAAXXXXXXXXXXAPST

Layer 3 goes next:

NNTTSSPPAAXXXXXXXXXXAPSTN

Layer 2 puts on the Data Link layer stuff:

DDNNTTSSPPAAXXXXXXXXXXAPSTND

The finally the Physical layer:

PPDDNNTTSSPPAAXXXXXXXXXXAPSTNDP

This is then transmitted. At the destination...each layer strips the corresponding layer and sends it up to the next layer....etc.

This is very basic...it's more complex than this tutorial...each layer does not have the same size of headers...and such...but this gets the idea across.
 

7 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

What are the 7 layers of OSI model or TCP/IP

what is it?? I looked everywhere but cant seem to find it also where can I get information about the difference between NFS 2 or NFS 3?? (6 Replies)
Discussion started by: TRUEST
6 Replies

2. Solaris

OSI 9.0 Installation

Dear After i received a demo license for OSI 9.0 from SUN , i installed the packages . but when i tried to start the osinet deamon ( /etc/rc2.d/S90osinet ) i am getting the foellowing errror # ./S90osinet start starting osi daemon/usr/sbin/osinetd cannot find a valid license (STACK 9.0)... (4 Replies)
Discussion started by: itsgeorge
4 Replies

3. Solaris

OSI 9.0 Installation some question

Hi. I get the folloing message if i try to start the osinet deamon: # /etc/rc2.d/S90osinet start starting osi daemonunable to unload all the osi modules some OSI applications may be running unable to start OSI daemon # Has anyone an idea what is going wrong? Answers to mail: (Note... (1 Reply)
Discussion started by: morenqfj
1 Replies

4. Solaris

OSI interface...

I'm using OSI version 9.0 with solaries OS , I 'm thinking of analysing the tracing while sending information through OSI layers , I want to analyze exactly the BER data ? Any one could provide an examples , I know the command for tracing these information but i need to understand the bytes travels... (1 Reply)
Discussion started by: atiato
1 Replies

5. Debian

OSI application for Debian...

Is there OSI telecom application which can be installed on debian similar to Solstice Solaries OSI ? I need to get it on debian to build cmise and communicate with Network element . (0 Replies)
Discussion started by: atiato
0 Replies

6. IP Networking

OSI model, communication between same layers but on different machines

Hi friends, I hope everyone is doing fine. I have this confusion regarding the OSI model. I have been reading a book on datacommunication and networking which discusses the OSI model in great detail. One thing that I can't figure out is the OSI daigram in this book. It shows communication between... (1 Reply)
Discussion started by: gabam
1 Replies

7. Solaris

Unable to start OSI deamon

dear all, i am working on test server with solaris 10 , after installing OSI deamon i stopped it for a test now when i am starting again i am getting this message that i ggoled and search evrywhere and haven't any response i will be glade for any help in here mate the error was : ./osinet... (1 Reply)
Discussion started by: semaan
1 Replies
LAYER(2)							System Calls Manual							  LAYER(2)

NAME
lalloc, lfree, ltofront, ltoback, lcstring - graphics layers SYNOPSIS
#include <u.h> #include <libc.h> #include <libg.h> #include <layer.h> Layer* lalloc(Cover *c, Rectangle r) void lfree(Layer *l) void ltofront(Layer *l) void ltoback(Layer *l) void lcstring(Bitmap *b, int height, uchar *widths, uchar *msg, int n) DESCRIPTION
The layer library extends the functionality of the bitmap graphics library (see graphics(2)) to overlapping independent rectangular win- dows, or layers, on a single bitmap, typically the screen. The entry points bitblt, point, segment, string, subfontstring, and texture are overloaded in the layer library to apply these routines equally to bitmaps and layers. Other than lcstring, which is rarely needed, there are no special entry points for drawing on layers. The data structures associated with the main type, Layer, are defined in <layer.h>: typedef struct Layer Layer; typedef struct Cover Cover; typedef enum Lvis { Visible, Obscured, Invisible, }Lvis; struct Layer { Bitmap; /* Bitmap.cache!=0 ==> layer */ Layer *next; /* next layer from front to back */ Cover *cover; /* layer etc. that derived this one */ int user; /* a place for the user to stick stuff */ Lvis vis; /* visibility state */ }; struct Cover { Layer *layer; /* layer on which these are painted */ Layer *front; /* first sublayer */ Bitmap *ground; /* background texture */ }; Layers and Bitmaps are distinguished by the cache element of their structures: cache is non-zero in a Layer. The layer library's versions of the graphics routines listed above use cache to decide how to implement their operations. These functions operate on type Bitmap* but because Bitmap is included in Layer, the C compiler will permit passing a Layer to these routines. The routines promote the type to Layer* if they see cache is non-zero. (Note that these actions apply only in the layer library; although cache is defined in Bitmaps, the stan- dard graphics library does not support layers.) Lalloc allocates a new Layer to occupy Rectangle r in a Bitmap. The argument Cover c connects the set of Layers to a covering Bitmap. Before the first call to lalloc, c should be allocated and initialized so c->layer is the Bitmap on which the Layers will be drawn, c->front is zero, c->ground is a background texture to fill the interstices between Layers, and c->layer is textured with c->ground. It is legal for c->layer itself to be a Layer for recursive layering. The rectangle r may have arbitrary overlap, including none, with c->layer->r. After calling lalloc, the new Layer is fully visible (as far as geometry permits) on the covering Bitmap and is cleared to all zeros. Lfree frees the Layer l and restores the contents of its covering Bitmap. Ltofront makes l fully visible within its covering Bitmap. Ltoback pushes l behind any other Layers on the same covering Bitmap. Neither function changes the x-y location of the Layer. Lcstring is peculiar to programs, such as 81/2(1), that multiplex client access to the display. It acts as a feed-through for the 's' mes- sage generated by string (see bit(3)). B is the bitmap (or layer) and height is the height of the font in which the string is to be drawn. Widths is an array of character widths, indexed by font cache position. Msg is a pointer to the string message; it contains the header and n cache indices. SOURCE
/sys/src/liblayer SEE ALSO
graphics(2), bitblt(2), cachechars(2), bit(3) LAYER(2)
All times are GMT -4. The time now is 01:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy