1 LAN Protocols (Week 3, Wednesday 9/10/2003) © Abdou Illia, Fall 2003.

Slides:



Advertisements
Similar presentations
Cisco 2 - Routers Perrine. J Page 14/30/2015 Chapter 10 TCP/IP Protocol Suite The function of the TCP/IP protocol stack is to transfer information from.
Advertisements

CISCO NETWORKING ACADEMY Chabot College ELEC Transport Layer (4)
Guide to TCP/IP, Second Edition1 Guide To TCP/IP, Second Edition Chapter 5 Transport Layer TCP/IP Protocols.
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.
UDP & TCP Where would we be without them!. UDP User Datagram Protocol.
CP476 Internet Computing TCP/IP 1 Lecture 3. TCP / IP Objective: A in-step look at TCP/IP Purposes and operations Header specifications Implementations.
CS3505 The Internet and Info Hiway transport layer protocols : TCP/UDP.
Chapter 7 – Transport Layer Protocols
TRANSPORT LAYER  Session multiplexing  Segmentation  Flow control (TCP)  Connection-oriented (TCP)  Reliability (TCP)
CCNA 1 v3.1 Module 11 Review.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
Module A.  This is a module that some teachers will cover while others will not  This module is a refresher on networking concepts, which are important.
Lesson 7 – THE BUSINESS OF NETWORKING. TCP/IP and UDP Other Internet protocols Important Internet protocols OVERVIEW.
1 TCP/IP Internetworking (February 1, 2012) © Abdou Illia – Spring 2012.
Institute of Technology Sligo - Dept of Computing Semester 2 Chapter 9 The TCP/IP Protocol Suite Paul Flynn.
TCP. Learning objectives Reliable Transport in TCP TCP flow and Congestion Control.
Transport Layer TCP and UDP IS250 Spring 2010
Defining Network Protocols Application Protocols –Application Layer –Presentation Layer –Session Layer Transport Protocols –Transport Layer Network Protocols.
Gursharan Singh Tatla Transport Layer 16-May
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 12 Transmission Control Protocol (TCP) Basics.
Process-to-Process Delivery:
Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.
Copyright 2003 CCNA 1 Chapter 9 TCP/IP Transport and Application Layers By Your Name.
Huda AL_Omairl - Network 71 Protocols and Network Software.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved. © The McGraw-Hill Companies, Inc. Transport Layer Protocols – UDP and TCP Asst.
TCP/IP Essentials A Lab-Based Approach Shivendra Panwar, Shiwen Mao Jeong-dong Ryoo, and Yihan Li Chapter 5 UDP and Its Applications.
Transport Layer Layer #4 (OSI-RM). Transport Layer Main function of OSI Transport layer: Accept data from the Application layer and prepare it for addressing.
1 7-Oct-15 OSI transport layer CCNA Exploration Semester 1 Chapter 4.
Introduction to Networks CS587x Lecture 1 Department of Computer Science Iowa State University.
Component 9 – Networking and Health Information Exchange Unit 1-1 ISO Open Systems Interconnection (OSI) This material was developed by Duke University,
Chap 9 TCP/IP Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
Network Architecture Models: Layered Communications School of Business Eastern Illinois University © Abdou Illia, Fall 2015 (September 14, 2015 ) Encapsulation.
TCP/IP Basic Theory V1.2. Course Outline OSI model and layer function TCP/IP protocol suite Transfer Control Protocol Internet Protocol Address Resolution.
TCP: A Closer Look Transmission Control Protocol.
TCP : Transmission Control Protocol Computer Network System Sirak Kaewjamnong.
University of the Western Cape Chapter 12: The Transport Layer.
TCP/IP Transport and Application (Topic 6)
1 The Internet and Networked Multimedia. 2 Layering  Internet protocols are designed to work in layers, with each layer building on the facilities provided.
TCP1 Transmission Control Protocol (TCP). TCP2 Outline Transmission Control Protocol.
Transmission Control Protocol
11 TRANSPORT LAYER PROTOCOLS Chapter 6 TCP and UDP SPX and NCP.
Fall 2005 By: H. Veisi Computer networks course Olum-fonoon Babol Chapter 6 The Transport Layer.
CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
TCP/IP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
Cisco Networking Academy S2 C9 TCP/IP. ensure communication across any set of interconnected networks Stack components such as protocols to support file.
Networking Basics CCNA 1 Chapter 11.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
Hands-On Ethical Hacking and Network Defense
1 Figure 3-5: IP Packet Total Length (16 bits) Identification (16 bits) Header Checksum (16 bits) Time to Live (8 bits) Flags Protocol (8 bits) 1=ICMP,
Page 12/9/2016 Chapter 10 Intermediate TCP : TCP and UDP segments, Transport Layer Ports CCNA2 Chapter 10.
Hands-On Ethical Hacking and Network Defense Chapter 2 TCP/IP Concepts Review Last modified
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.
Chapter 5 Network and Transport Layers
The Transport Layer Implementation Services Functions Protocols
Introduction to TCP/IP networking
TCP/IP Internetworking
Standards Basics.
TCP/IP Internetworking
Process-to-Process Delivery:
Figure 3-23: Transmission Control Protocol (TCP) (Study Figure)
PART V Transport Layer.
PART 5 Transport Layer.
Network Architecture Models: Layered Communications
Process-to-Process Delivery: UDP, TCP
Transport Layer 9/22/2019.
Presentation transcript:

1 LAN Protocols (Week 3, Wednesday 9/10/2003) © Abdou Illia, Fall 2003

2 Learning Objectives Explain how the most used LAN protocols work. TCP UDP IP

3 What is a protocol ? Set of rules that govern data communication over a network Examples of protocols:  Transmission Control Protocol (TCP), Internet Protocol (IP), Simple Mail Transfer Protocol (SMTP) Examples of protocol suites:  TCP/IP  IPX/SPX  NetBEUI

4 Protocols in Windows 98 Network Dialog box in Windows 98

5 TCP/IP protocol suite A suite of protocols rather than a protocol Protocol suite that govern data communication on the Internet Designed for use with wide range of network devices Main protocol of most computer operating systems Many troubleshooting and network analysis tools Understood by a large body of network professionals

6 continued…

7

8 DL-T TCP/IP and Layered Communications Application Transport Internet Data Link HTTP req. Physical User PC HTTP req. TCP-H HTTP req. TCP-H IP-H HTTP req. TCP-H IP-H DL-H Q1: What are Transport layer messages called when TCP is used? Q2: What are Transport layer messages called when UDP is used?

9 How TCP Works Establishes communication sessions between networked computers Provides reliable end-to-end delivery of data by controlling data flow  Sequencing and acknowledging frames

10 TCP Source Port Number (16 bits)Destination Port Number (16 bits) Sequence Number (32 bits) Acknowledgment Number (32 bits) Window Size (16 bits) Header Length (4 bits) Reserved (6 bits) Flag Fields (6 bits) Options (if any) TCP Checksum (16 bits)Urgent Pointer (16 bits) Padding Data Field Bit 0Bit 31 Flag fields are one-bit fields. They include SYN, ACK, FIN and RST. TCP Segment

11 TCP Segment Source Port Number and Dest. Port Number: Well-Known port number for server applications (See slide # 27) or Ephemeral port number (>1024 and < 65535) for client PC applications. Sequence Number: 32-bit sequential number for the frame. Enables TCP to ensure that all frames are received. Used to place frames back in correct order. Acknowledgement Number: Number sent in ACK message to acknowledge frame reception. If ACK message not sent for a frame, frame is retransmitted. Header Length (Offset): Indicates the length of the header. Flag Fields: Used to identify the kind of TCP segment: SYN (Synchronization) for opening a connection, ACK (Acknowledgement) to acknowledge frame reception, FIN to close a connection. Used for control: RST (Reset) for an abrupt close, FLW (Flow control) to control transmission flow. Window Size: Indicates number of bytes to be transmitted before sender receives an ACK of receipt. When Window Size is reached Flow control is turned on to stop transmission until ACK is received. Checksum: 16-bit cyclic redundancy check computed based on values in all fields and placed in the frame by sending node.

12 TCP Segment Urgent Pointer: Provides a warning to the receiver that urgent data is coming. Also points to the end of the urgent data in the sequence. Options: Can hold additional information and flags about a transmission. Padding : Used when there is too little or no optional data to complete the required header length, which must be divisible by 32.

13 TCP Time Diagram PC Transport Process Webserver Transport Process 1. SYN (Open) 2. SYN, ACK (1) (Acknowledgement of 1) 3. ACK (2) Open 3-Way Open TCP is a Connection-Oriented Protocol

14 TCP Time Diagram Acknowledgements  Each correct TCP segment is acknowledged (ACK), except for pure acknowledgements and resets  Sender listens to be sure that each TCP segment is acknowledged  If a segment is not acknowledged in a reasonable period of time, the sender resends it  TCP is a reliable protocol

15 TCP Time Diagram PC Transport Process Webserver Transport Process 1. SYN (Open) 2. SYN, ACK (1) (Acknowledgement of 1) 3. ACK (2) 4. Data = HTTP Request 5. ACK (4) 6. Data = HTTP Response 7. ACK (6) Open (3) Carry HTTP Req & Resp (4) After Opening, Data are Transferred

16 TCP Time Diagram PC Transport Process Webserver Transport Process 8. Data = HTTP Request (Error) 9. Data = HTTP Request (No ACK so Retransmit) 10. ACK (9) 11. Data = HTTP Response Carry HTTP Req & Resp (4) After Opening, Data are Transferred 11. ACK (11) Q3: Is TCP a reliable protocol ? Why? Q4: If there is an error in the transmission, which Transport process retransmits the damaged segment?

17 TCP Time Diagram PC Transport Process Webserver Transport Process 12. FIN (Close) 13. ACK (12) 14. FIN 15. ACK (14) Close (4) 4-Way Close is Normal

18 UDP Connectionless alternative to TCP that yields a lower overhead, but is less reliable  Relies only on checksum to ensure reliability Handles and transmits data faster; performs no flow control, sequencing, or acknowledgment

19 UDP Datagrams Sequence Port Number (16 bits)Destination Port Number (16 bits) UDP Length (16 bits)UDP Checksum (16 bits) Data Field Bit 0Bit 31 UDP Datagram

20 UDP Datagram PC Transport Process Webserver Transport Process UDP Datagram Connectionless and Unreliable Places a Lighter Load on the Network than TCP Useful Where the Loss of an Occasional Application Message is Not a Serious Problem As in Regular Network Status Messages Or Where There is No Time for Retransmission, As in Voice Transmission

21 TCP Versus UDP TCPUDP Layer Message name Processing power required Reliability Connections? Transport TCP segmentUDP datagram ReliableUnreliable Connection-orientedConnectionless HeavyweightLightweight

22 IP Enables packets to reach a destination on a local or remote network by using IP addresses Used in combination with TCP or UDP

23 IP Total Length (16 bits) Identification (16 bits) Header Checksum (16 bits) Time to Live (8 bits) Flags Protocol (8 bits) 1=ICMP, 6=TCP, 17=TCP Bit 0Bit 31 IP Version 4 Packet Source IP Address (32 bits) Fragment Offset (13 bits) Type of Service (8 bits) Header Length (4 bits) Version (4 bits) Destination IP Address (32 bits) Options (if any)Padding Data Field 0100

24 IPv4 Packets Version  Has value of four (0100) Time to Live (TTL)  Value is set by sender  Decremented by one by each router along the way  If reaches zero, router throws packet away  Prevents the endless circulation of mis- addressed packets

25 IPv4 Packets Protocol  Identifies contents of data field  1 = ICMP  6 = TCP  17 =UDP Address Fields  32 bits long, of course IP Header Data Field ICMP, TCP, or UDP Message

26 Other slide

27 Port Numbers Port NumberApplication (Service) 20File Transfer (FTP) 23Telnet applications (Telnet) 25 (SMTP) 53DNS server applications 80Webservice (HTTP) 139NetBIOS applications Client PC Webserver Port 80 SMTP Server Port 25 From Ephemeral Port To Well-Known Port 80 From :20247 To: :80 From :80 To: :20247 From :19345 To: :25