Application and Layered Architecture
Application and Layered Architecture
Unit Contents
Layering architecture The OSI Reference model. Unified view of layers Protocols and services Overview of TCP/IP architecture TCP/IP Protocol
Encapsulation
A packet at level 7 is encapsulated at level 6. The whole packet then is encapsulated at level 5 and so on.
1. Physical Layer
1. 2. 3. 4. 5. 6. 7. The physical layer is responsible for movements of individual bits from one hop (node) to the next. It deals with the electrical and mechanical specifications of the interface and transmission medium. Also describes procedures and functions that physical devices and interfaces have to perform for transmission to occur. Physical layer concerned with the following Physical characteristics of interface and medium Representation of bits. Data rate Synchronization of bits. Line configuration Physical topology Transmission mode
Physical layer
Hop-to-hop delivery
3. Network layer
Responsible for source to destination delivery of packets, possibly across multiple networks (links). Where as the datalink layer oversees the delivery of packets only between two systems on the same network. If two systems are attached to different networks with connecting devices, there is often a need of network layer to accomplish source to destination packet delivery. Responsibilities of N/w layer: 1. Logical addressing 2. Routing 3. Source to destination delivery
Source-to-destination delivery
4. Transport layer
1. 2. 3. 4. 5. The transport layer is responsible for the delivery of a message from one process to another. A process is an application program running on a host, whereas n/w layer oversees source to destination delivery of individual packets. Ensures whole message has arrived in order, overseeing both error control and flow control. Responsibilities of transport layer are: Service point addressing Segmentation and reassembly Connection control Flow control Error control
Transport layer
5. Session layer
Service provided by the first three layers are not sufficient for some processes. The session layer is responsible for dialog control and synchronization. It establishes, maintains and synchronizes the interaction among communicating systems. Specific responsibilities of the Session layer are as follows:
Session layer
6. Presentation layer
Concerned with the syntax and semantics of the information exchanged between two systems. The presentation layer is responsible for translation, compression, and encryption. Responsibilities of presentation layer includes: 1. Translation 2. Encryption 3. Compression
7. Application Layer
Enables the user to access the network. Provides user interfaces and support for services such as electronic mail, remote file access and transfer, shared database management, and other types of distributed information services Specific services provided by the application layer include: Network virtual terminal File transfer, access and management. Mail services. Directory services.
1. 2. 3. 4.
7. Application layer
Summary of layers
Addressing
Four levels of addresses are used in an internet employing the TCP/IP protocols: physical, logical, port, and specific.
Example 2.1
In Figure 2.19 a node with physical address 10 sends a frame to a node with physical address 87. The two nodes are connected by a link (bus topology LAN). As the figure shows, the computer with physical address 10 is the sender, and the computer with physical address 87 is the receiver.
Physical address