tcp-ip and osi

22
TCP/IP AND OSI Presented to: Dr.Hisham El Zouka Presented by: Passant Wahdan 1

Upload: ehab-zaghlool

Post on 03-Dec-2015

67 views

Category:

Documents


7 download

DESCRIPTION

TCP-IP

TRANSCRIPT

Page 1: TCP-IP and OSI

1

TCP/IP AND OSIPresented to: Dr.Hisham El Zouka

Presented by: Passant Wahdan

Page 2: TCP-IP and OSI

2

OSI

Established in 1947, the International Standards Organization (ISO) is a multinational body dedicated to worldwide agreement on international standards. An ISO standard that covers all aspects of network communications is the Open Systems Interconnection (OSI) model. It was first introduced in the late 1970s.

Page 3: TCP-IP and OSI

3

The OSI model

Page 4: TCP-IP and OSI

4

Summary of OSI Layers

Page 5: TCP-IP and OSI

5

TCP/IP

The TCP/IP protocol suite was developed prior to the OSI model. Therefore, the layers in the TCP/IP protocol suite do not match exactly with those in the OSI model. The original TCP/IP protocol suite was defined as four software layers built upon the hardware. Today, however, TCP/IP is thought of as a five-layer model with the layers named similarly to the ones in the OSI model

Page 6: TCP-IP and OSI

6

Layers in the TCP/IP Protocol Suite

Page 7: TCP-IP and OSI

7

TCP/IP Layers

OSI TCP/IP

Application LayerApplication Layer 

Presentation Layer

Session Layer

 Transport Layer Transport Layer 

Network Layer  Internet Layer 

Data Link Layer Link Layer  Physical Layer

Page 8: TCP-IP and OSI

8

TCP/IP and OSI model

Page 9: TCP-IP and OSI

9

Similarity

Both are based on the concept of a stack of independent protocols.

The functionality of the layers is roughly similar.

Page 10: TCP-IP and OSI

10

Difference

OSI makes the distinction between services, interfaces, and protocol.

Host on OSI implementations do not handle network operations.

TCP/IP does not originally clearly distinguish between services, interface, and protocol.

TCP/IP hosts participate in most network protocols.

Page 11: TCP-IP and OSI

11

Difference(continue)

OSI emphasis on providing a reliable data transfer service, Each layer of the OSI model detects and handles errors, all data transmitted includes checksums. The transport layer checks source-destination reliability.

TCP/IP treats reliability as an end to end Problem. The transport layer handles all error detection and recovery, it was checksums, acknowledgments, and timeouts to control transmissions and provides end-to-end verification.

Page 12: TCP-IP and OSI

12

Application Layer

Application provides a set of interfaces for applications to obtain access to networked services such as networked file transfer, message handling, and database query processing.

Page 13: TCP-IP and OSI

13

Presentation LayerOSI TCP/IP

The Presentation Layer handles data format information. For outgoing messages, it converts data into a generic format that can survive the network transmission; for incoming messages, it converts data from its generic networked representation into a format that will make sense to the receiving application.

Presentation layer is not present in TCP/IP model. Instead this function is frequently handled within the applications in TCP/IP through External Data Representation Standard(XDR) and Multipurpose Internet Mail Extensions (MIME).

Page 14: TCP-IP and OSI

14

Session LayerOSI TCP/IP

The Session layer handles session setup, data or message exchanges, and tear down when the session ends.

It also monitors session identification so only designated parties can participate and security services to control access to session information.

The TCP/IP model does not have a general session layer protocol.

In TCP/IP the term “sockets” and “ports” are used to describe the path over which cooperating application communicates.

Page 15: TCP-IP and OSI

15

Transport (OSI)

The basic function of the transport layer is to accept data from the session layer, split it up into smaller units, pass it to the network layer, and ensure that the bits delivered are the same as the bits transmitted without modification, loss or duplication. If an error occurs during transmission, the transport layer must correct it. “If no acknowledgement is received, the transport layer can retransmit the packet or time-out the connection and signal an error.

Page 16: TCP-IP and OSI

16

Transport (TCP/IP)

There are two standard transport protocols:

TCP implements a reliable data-stream protocol connection oriented

UDP implements an unreliable data-stream connectionless

• Primary difference is that UDP does not necessarily provide reliable data transmission

Page 17: TCP-IP and OSI

17

Network

The network layer provides the functional and procedural means of transferring variable length data sequences from a source host on one network to a destination host on a different network while maintaining the quality of service requested by the Transport Layer.

TCP divides messages in datagrams of up to 64k length. Each datagram consists of a header and a text part. Besides some other information, the header contains the source and the destination address of the datagram. The service provided by IP is not reliable. Datagrams may be received in the wrong order or they may even get lost in the network.

Page 18: TCP-IP and OSI

18

Data link

The main task of the data link layer is to take a raw transmission and transform it into a line that appears free of transmission errors in the network layer. It accomplishes this task by having the sender break the input data up into data frames, transmit the frames sequentially, and process the acknowledgment frames sent back by the receiver. The protocol packages the data into frames that contain source and destination addresses.

Page 19: TCP-IP and OSI

19

Physical

The physical layer is concerned with transmitting raw bits over a communication channel. The design issues have to do with making sure that when one side sends a 1 bit, it is received by the other side as a 1 bit, not as a 0 bit.

The physical layer describes some type of cabling system as the transmission media. It also describes the network topology and how the transmission media is to be distributed. Some examples include the bus, star, and ring topologies.

Page 20: TCP-IP and OSI

20

2.10 Eight layers architecture:

Related applications

Less related app

Page 21: TCP-IP and OSI

21

2.10 Six layers architecture:

Link layer

Data link and physical layer deals with the same type of data