Sem 1 Ch 11

27
1 CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers .

description

 

Transcript of Sem 1 Ch 11

Page 1: Sem 1 Ch 11

1

CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers

.

Page 2: Sem 1 Ch 11

2

Introduction to Transport Layer

Five basic services: Segmenting upper-layer

application data Establishing end-to-end operations Transporting segments from one

end host to another end host Ensuring data reliability Providing flow control

Page 3: Sem 1 Ch 11

3

Reliability

Page 4: Sem 1 Ch 11

4

Flow ControlAvoids the problem of a host at one side of the connection overflowing the buffers in the host at the other sideEnsures the integrity of the data

Page 5: Sem 1 Ch 11

5

Session EstablishmentOne function of the transport layer is to establish a connection-oriented session between similar devices at the application layer.

Page 6: Sem 1 Ch 11

6

Session Maintenance and TerminationCongestion can occur during data transfer

1- A high speed computer might generate traffic faster than a network can transfer

2- If many computers simultaneously send datagrams to single destination, that destination can experience congestion, although no single source caused a problemTo terminate, the sending host sends a signal that indicates the end of the transmission, which is acknowledged by the receiver.

Page 7: Sem 1 Ch 11

7

Three-Way Handshake

Page 8: Sem 1 Ch 11

8

Windowing

A method of controlling the amount of information transferred end to endInformation can be measured in terms of the number of packets or the number of bytes

Page 9: Sem 1 Ch 11

9

Window Size

TCP window sizes are variable during the lifetime of a connection.Larger window sizes increase communication efficiency.

Page 10: Sem 1 Ch 11

10

Acknowledgment

Positive acknowledgment requires a recipient to communicate with the source, sending back an acknowledgment message when it receives data.Sender keeps a record of each data packet that it sends and expects an acknowledgment.

Page 11: Sem 1 Ch 11

11

TCP Sequence and Acknowledgment

Page 12: Sem 1 Ch 11

12

Transmission Control Protocol (TCP) The protocols that use TCP include: FTP (File Transfer Protocol) HTTP (Hypertext Transfer Protocol) SMTP (Simple Mail Transfer

Protocol) Telnet

Page 13: Sem 1 Ch 11

13

TCP Segment Format

Page 14: Sem 1 Ch 11

14

UDPThe protocols that use UDP include: TFTP (Trivial File Transfer Protocol) SNMP (Simple Network

Management Protocol) DHCP (Dynamic Host Control

Protocol) DNS (Domain Name System)

Page 15: Sem 1 Ch 11

15

UDP Segment Format

Page 16: Sem 1 Ch 11

16

TCP and UDP Port Numbers

Both TCP and UDP use port (socket) numbers to pass information to the upper layers. Numbers below 1024 are considered

well-known ports numbers. Numbers above 1024 are

dynamically assigned ports numbers. Registered port numbers are those

registered for vendor-specific applications. Most of these are above 1024.

Page 17: Sem 1 Ch 11

17

TCP and UDP Port Numbers

Page 18: Sem 1 Ch 11

18

TCP/IP Application Layer

Page 19: Sem 1 Ch 11

19

Introduction to Application Layer

Page 20: Sem 1 Ch 11

20

Responsibilities of TCP/IP Application Layer

Identifying and establishing the availability of intended communication partners Synchronizing cooperating applications Establishing agreement on procedures for error recovery Controlling data integrityPresentation, encoding and dialog control

Page 21: Sem 1 Ch 11

21

Application Layer Examples

Domain Name SystemFile Transfer Protocol Hypertext Transfer Protocol Simple Mail Transport ProtocolSimple Network Management ProtocolTelnet

Page 22: Sem 1 Ch 11

22

DNSThe Domain Name System (DNS) is a system used for translating names of domains into IP addresses. There are more than 200 top-level domains on the Internet, examples of which include the following:

.us – United States

.uk – United Kingdom

.edu – educational sites

.com – commercial sites

.gov – government sites

.org – non-profit sites

.net – network service

Page 23: Sem 1 Ch 11

23

FTP and TFTPFTP is a reliable, connection-oriented service that uses TCP to transfer files between systems that support FTP. TFTP is a connectionless service that uses User Datagram Protocol (UDP). TFTP is used on routers to transfer

configuration files and Cisco IOS images. TFTP is designed to be small and easy to

implement.

Page 24: Sem 1 Ch 11

24

HTTP

Page 25: Sem 1 Ch 11

25

SMTPE-mail servers communicate with each other using the Simple Mail Transport Protocol (SMTP) to send and receive mail.

Page 26: Sem 1 Ch 11

26

TelnetTelnet client software provides the ability to log in to a remote Internet host that is running a Telnet server application and then to execute commands from the command line.

Page 27: Sem 1 Ch 11

27

Telnet uses TCP thence is connection

oriented.