Day16 Protocols. TCP “Transmission Control Protocol” –Connection oriented Very like a phone call, an actual connection is made between the 2 parties.

Slides:



Advertisements
Similar presentations
Chapter 4 OSI Transport Layer.
Advertisements

CCNA – Network Fundamentals
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 OSI Transport Layer Network Fundamentals – Chapter 4.
Intermediate TCP/IP TCP Operation.
Chapter 7: Transport Layer
Lecture 7 Transport Layer
Chapter 7 Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Explain the need for the transport layer.  Identify.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Services Networking for Home and Small Businesses – Chapter 6.
Network Services Networking for Home & Small Business.
Networking Basics CCNA 1 Chapter 11
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
1 Java Networking – Part I CS , Spring 2008/9.
Introduction1-1 Introduction to Computer Networks Our goal:  get “feel” and terminology  more depth, detail later in course  approach:  use Internet.
Networks 1 CS502 Spring 2006 Network Input & Output CS-502 Operating Systems Spring 2006.
CS-3013 & CS-502, Summer 2006 Network Input & Output1 CS-3013 & CS-502, Summer 2006.
Process-to-Process Delivery:
The Transport Layer.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 3: TCP/IP Architecture.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.1 ISP Services Working at a Small-to-Medium Business or ISP – Chapter 7.
1 ELEN602 Lecture 2 Review of Last Lecture Layering.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Network Services Networking for Home and Small Businesses – Chapter.
Copyright 2003 CCNA 1 Chapter 9 TCP/IP Transport and Application Layers By Your Name.
Jaringan Komputer Dasar OSI Transport Layer Aurelio Rahmadian.
CCNA1 v3 Module 11 v3 CCNA 1 Module 11 JEOPARDY S Dow.
Network Services Networking for Home & Small Business.
1 7-Oct-15 OSI transport layer CCNA Exploration Semester 1 Chapter 4.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
1 LAN Protocols (Week 3, Wednesday 9/10/2003) © Abdou Illia, Fall 2003.
Transport Layer Natawut Nupairoj, Ph.D. Department of Computer Engineering Chulalongkorn University.

TCP/IP Transport and Application (Topic 6)
Sockets process sends/receives messages to/from its socket
The Transmission Control Protocol (TCP) Application Services (Telnet, FTP, , WWW) Reliable Stream Transport (TCP) Connectionless Packet Delivery.
1 End-user Protocols, Services and QoS. 2 Layering: logical communication application transport network link physical application transport network link.
Transport Layer COM211 Communications and Networks CDA College Theodoros Christophides
03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing Streaming 1.
Data Communications and Networks
Networking Basics CCNA 1 Chapter 11.
Network Programming All networked computers have an IP Address – Unique – In the form of xxx.xxx.xxx.xxx ( ) – 32 bits = ~4 billion possibilities.
Chapter 9: Transport Layer
Today’s topic: UDP Reliable communication over UDP.
Transmission Control Protocol (TCP) Internet Protocol (IP)
Data Communications and Computer Networks Chapter 2 CS 3830 Lecture 7 Omar Meqdadi Department of Computer Science and Software Engineering University of.
McGraw-Hill Chapter 23 Process-to-Process Delivery: UDP, TCP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Cisco I Introduction to Networks Semester 1 Chapter 7 JEOPADY.
1 14-Jun-16 S Ward Abingdon and Witney College CCNA Exploration Semester 1 OSI transport layer CCNA Exploration Semester 1 Chapter 4.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 OSI transport layer CCNA Exploration Semester 1 – Chapter 4.
Application Layer Functionality and Protocols Abdul Hadi Alaidi
Chapter 7: Transport Layer
Instructor Materials Chapter 5 Providing Network Services
1.2 The Network Edge Beginning at the edge of a network we are looking at the components with which we are most familiar - namely, the computers that we.
v3 JEOPARDY CCNA 1 Module 11 CCNA1 v3 Module 11 Galo Valencia
ROLE OF SQA Senthilkumar. R / 12/27/2016 Overview Fundamentals
TCP – UDP Protocols Senthilkumar. R / 12/27/2016 Overview Fundamentals
Some bits on how it works
Networking for Home and Small Businesses – Chapter 6
Working at a Small-to-Medium Business or ISP – Chapter 7
Networking for Home and Small Businesses – Chapter 6
Working at a Small-to-Medium Business or ISP – Chapter 7
Topic 5: Communication and the Internet
CCNA 2 v3.1 Module 10 Intermediate TCP/IP
Working at a Small-to-Medium Business or ISP – Chapter 7
Process-to-Process Delivery:
PART V Transport Layer.
Internet Applications & Programming
Networking for Home and Small Businesses – Chapter 6
Process-to-Process Delivery: UDP, TCP
Computer Networks Protocols
Computer Networks Protocols
Presentation transcript:

Day16 Protocols

TCP “Transmission Control Protocol” –Connection oriented Very like a phone call, an actual connection is made between the 2 parties. –One part initiates the “call” –Other party must accept it. –At the end, the connection must be dismantled. –Robust & Reliable Error Checking Timeouts / Retransmission

Creating the connection step 1 Computer 1 sends a packet to computer 2 –Contains: Initial Sequence Number (Should be random) –For example 1001 Source Address Destination Address Port Number Information

Creating the connection step 2 Computer 2 sends a packet to computer 1 –Contains: Acknowledgement of receipt of packet 1001 Its Initial Sequence Number (Should also be random) –For example 5001 Source Address Destination Address Port Number Information

Creating the connection step 3 Computer 1 sends a packet to computer 2 –Contains: Acknowledgement of receipt of packet 5001 The next sequence number (1002) Actual Data

Now they are connected Every packet has a sequence number in it In theory every packet must be acknowledged by the other side –If not, the sender will realize some packets have never been acknowledged, and will retransmit them (Timeout) If a packet is received which is corrupted, the receiver can either specifically report it got a bad packet, or just pretend it never got it at all –Eventually the sender will timeout and re-send it

Many common applications use TCP: Web browsers (HTTP) FTP Clients (FTP) Mail Clients (POP, IMAP) Mail Servers (SMTP) Lotus Notes Telnet Databases etc.

UDP “User Datagram Protocol” –Packet by packet No connection is created –Unreliable No error checking No retransmission Packets often get lost. –Faster Without all the overhead of TCP, the packets are able to flow faster

Uses: Used for most Audio/Video/Games –Real Audio/Video –Telephony –DNS lookups –Time synchronization programs –VOIP Usually used where some data loss is acceptable: –In Video if you miss one frame, it makes more sense to just forget about it, rather than try to retransmit it. –In audio, often the sample rate is high enough that you can’t hear the difference if a lot is lost.

TCP & UDP use port numbers. Need for ports: –Since a given workstation could be performing many networking related tasks at once there has to be a way for the OS to determine where to send return data. –Standardized ports make it simple to find servers on machines. For example, how does your web browser know which port to connect to on? –HTTP servers are usually set up on port 80

Some common port numbers: HTTP80/TCP telnet23/TCP FTP21/TCP (For the control connection) POP110/TCP SMTP25/TCP DNS53/UDP (And some TCP) NTP123 UDP *Notice it’s not sufficient to specify a port number, you should also specify which protocol.

Some applications use multiple ports For example FTP –Port 21/TCP is used to create a connection between the 2 machines –You login in that connection. –When you request a listing of documents in a directory, or when you request a file be transferred a new connection is negotiated The client and server, must negotiate a free TCP port which the client can accept a connection on from the server

Using Protocols Lets manually get a web page… Open a telnet connection: Start – Run – cmd telnet 80 Once connected type: GET / HTTP/1.0 Hit enter twice

telnet student.claytonstate.net 25 Helo bla Mail from: Rcpt to: Data Hi, This is a test.