Just enough TCP/IP. Protocol Overview. Connection Types in TCP/IP. Control Mechanisms. Borrowed from my ITS475/575 class the ITL

Similar documents
Protocol Overview. TCP/IP Performance. Connection Types in TCP/IP. Resource Management. Router Queues. Control Mechanisms ITL

TCP/IP Performance ITL

Transport Over IP. CSCI 690 Michael Hutt New York Institute of Technology

Interconnecting Networks with TCP/IP

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet

CCNA 1 Chapter 7 v5.0 Exam Answers 2013

5105: BHARATHIDASAN ENGINEERING COLLEGE NATTARMPALLI UNIT I FUNDAMENTALS AND LINK LAYER PART A

TCP /IP Fundamentals Mr. Cantu

Da t e: August 2 0 th a t 9: :00 SOLUTIONS

TSIN02 - Internetworking

TSIN02 - Internetworking

TCP/IP THE TCP/IP ARCHITECTURE

II. Principles of Computer Communications Network and Transport Layer

Significance of TCP/IP Model Divya Shree Assistant Professor (Resource Person), Department of computer science and engineering, UIET, MDU, Rohtak

ETSF10 Internet Protocols Transport Layer Protocols

Introduction... xiii Chapter 1: Introduction to Computer Networks and Internet Computer Networks Uses of Computer Networks...

EITF25 Internet Techniques and Applications L7: Internet. Stefan Höst

Review of Important Networking Concepts

Introduction to Protocols

TSIN02 - Internetworking

TSIN02 - Internetworking

OSI Transport Layer. objectives

Guide To TCP/IP, Second Edition UDP Header Source Port Number (16 bits) IP HEADER Protocol Field = 17 Destination Port Number (16 bit) 15 16

CPSC156a: The Internet Co-Evolution of Technology and Society. Lecture 4: September 16, 2003 Internet Layers and the Web

CCNA Exploration Network Fundamentals. Chapter 04 OSI Transport Layer

McGraw-Hill The McGraw-Hill Companies, Inc., 2000

Lecture 20 Overview. Last Lecture. This Lecture. Next Lecture. Transport Control Protocol (1) Transport Control Protocol (2) Source: chapters 23, 24

CSCI-GA Operating Systems. Networking. Hubertus Franke

6.1 Internet Transport Layer Architecture 6.2 UDP (User Datagram Protocol) 6.3 TCP (Transmission Control Protocol) 6. Transport Layer 6-1

Guide to Networking Essentials, 6 th Edition. Chapter 5: Network Protocols

IP Address Assignment

Transport Layer. Gursharan Singh Tatla. Upendra Sharma. 1

TCP/IP Protocol Suite and IP Addressing

CS 421: COMPUTER NETWORKS SPRING FINAL May 16, minutes

CS164 Final Exam Winter 2013

Introduction to TCP/IP networking

Announcements. No book chapter for this topic! Slides are posted online as usual Homework: Will be posted online Due 12/6

Computer Networks (Unit wise Questions)

The Internet. 9.1 Introduction. The Internet is a global network that supports a variety of interpersonal and interactive multimedia applications.

Networks Fall This exam consists of 10 problems on the following 13 pages.

No book chapter for this topic! Slides are posted online as usual Homework: Will be posted online Due 12/6

CHAPTER-2 IP CONCEPTS

Interconnecting Networks with TCP/IP. 2000, Cisco Systems, Inc. 8-1

Business Data Networks and Security 10th Edition by Panko Test Bank

TCP/IP. Chapter 5: Transport Layer TCP/IP Protocols

User Datagram Protocol

ITS323: Introduction to Data Communications

Transport Layer Review

Chapter 23 Process-to-Process Delivery: UDP, TCP, and SCTP 23.1

Networking Basics. EC512 Spring /15/2015 EC512 - Prof. Thomas Skinner 1

Applied Networks & Security

OSI Layer OSI Name Units Implementation Description 7 Application Data PCs Network services such as file, print,

TCP/IP and the OSI Model

CS 421: COMPUTER NETWORKS FALL FINAL January 10, minutes

CS1302 / Computer Networks

EE 610 Part 2: Encapsulation and network utilities

Lecture-4. TCP/IP-Overview:

ECE 650 Systems Programming & Engineering. Spring 2018

University of Toronto Faculty of Applied Science and Engineering. Final Exam, December ECE 461: Internetworking Examiner: J.

ch02 True/False Indicate whether the statement is true or false.

TRANSMISSION CONTROL PROTOCOL. ETI 2506 TELECOMMUNICATION SYSTEMS Monday, 7 November 2016

TCP/IP Networking. Part 4: Network and Transport Layer Protocols

Vorlesung Kommunikationsnetze

IP Addressing and Subnetting

Lecture 3: The Transport Layer: UDP and TCP

The Transmission Control Protocol (TCP)

Network Management & Monitoring

Goals and topics. Verkkomedian perusteet Fundamentals of Network Media T Circuit switching networks. Topics. Packet-switching networks

Chapter Motivation For Internetworking

UDP and TCP. Introduction. So far we have studied some data link layer protocols such as PPP which are responsible for getting data

Chapter 5 End-to-End Protocols

Transport layer. UDP: User Datagram Protocol [RFC 768] Review principles: Instantiation in the Internet UDP TCP

Transport layer. Review principles: Instantiation in the Internet UDP TCP. Reliable data transfer Flow control Congestion control

Reliable Transport I: Concepts and TCP Protocol

The Transport Layer. Part 1

Introduction to Internetworking

Networking Fundamentals

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

Outline. Connecting to the access network: DHCP and mobile IP, LTE. Transport layer: UDP and TCP

Information Network Systems The network layer. Stephan Sigg

UNIT IV -- TRANSPORT LAYER

Hands-On Ethical Hacking and Network Defense

Network Technology 1 5th - Transport Protocol. Mario Lombardo -

The aim of this unit is to review the main concepts related to TCP and UDP transport protocols, as well as application protocols. These concepts are

CCNA R&S: Introduction to Networks. Chapter 7: The Transport Layer

ITEC 3210 M - Applied Data Communications and Networks. Professor: Younes Benslimane, Ph.D.

4. What is the sequence number of the SYNACK segment sent by spinlab.wpi.edu to the client computer in reply to the SYN? Also Seq=0 (relative

Advanced Network Design

SHIRDI SAI ENGINEERING COLLEGE

Concept Questions Demonstrate your knowledge of these concepts by answering the following questions in the space that is provided.

06/02/ Local & Metropolitan Area Networks 0. INTRODUCTION. 1. History and Future of TCP/IP ACOE322

User Datagram Protocol (UDP):

Network Management & Monitoring Network Delay

NETWORK PROGRAMMING. Instructor: Junaid Tariq, Lecturer, Department of Computer Science

Chapter 24. Transport-Layer Protocols

Review of Important Networking Concepts. Recall the Example from last lecture

TCP/IP Networking. Training Details. About Training. About Training. What You'll Learn. Training Time : 9 Hours. Capacity : 12

PLEASE READ CAREFULLY BEFORE YOU START

Video Streaming with the Stream Control Transmission Protocol (SCTP)

UNIVERSITY OF TORONTO FACULTY OF APPLIED SCIENCE AND ENGINEERING

Transcription:

Just enough TCP/IP Borrowed from my ITS475/575 class the ITL 1 Protocol Overview E-Mail HTTP (WWW) Remote Login File Transfer TCP UDP RTP RTCP SCTP IP ICMP ARP RARP (Auxiliary Services) Ethernet, X.25, HDLC etc. ATM 2 Connection Types in TCP/IP Transport Layer TCP: Connection Oriented RTP,UDP: Connection-less Network Layer Connection-less Data Link Layer and Physical Network Depends on the network 3 Control Mechanisms Connection-Less traffic Packets representing overload are discarded Retransmissions should not take place Applications should adapt Connection-Oriented traffic Packets representing overload are also discarded Lost packets must be retransmitted Hosts must adjust sending rate 4

IP Addresses IP (v4) addresses are 32 bits long We normally divide them into 4 bytes, each 8 bits long Normally represented in dotted decimal notation, for example: A 32-bit number in binary 10000100 11101011 11001001 00000010 The same 32-bit number expressed in dotted decimal notation 132.235.201.2 5 What is Routing We start with the idea of a single physical network May include repeaters (hubs) May include bridges (switches) To tie together multiple networks, we use an internet gateway Machine with an interface on multiple physical networks Forms an internet (or The Internet ) Dedicated gateway box is normally called a Router 6 IP Routing IP packets are called datagrams To send a datagram to a machine on the local network, you send directly to its hardware address To send a datagram to a machine that is not on the local network, you need to send it to the router This leads to the question: How do you know if the destination machine is on the local network? 7 Address Mask The address mask (or subnet mask ) is used to determine whether a destination IP address is on the local network and can be reached directly or is non-local and must be reached through a router. The address mask shows which bits of a destination IP address must be identical to the local IP address for the destination machine to be on the local network. Address masks are also used to select entries in routing tables 8

Address Mask Examples Local IP address 132.235.201.2 Address mask 255.255.0.0 Which of the following is local 132.235.3.1 132.235.201.10 132.235.201.100 132.235.201.200 128.10.2.1 Now try with address mask 255.255.255.0 Now try with address mask 255.255.255.192 9 Address Mask Shorthand Representing the mask in the same format as an address is more general Handles non-contiguous masks (But the standards in use today do not allow them). Some commands insist on this format As shorthand, you can just give the size of the mask 132.235.0.0/16 All of OU 132.235.201.0/24 All 201 Subnet addresses 132.235.201.64/28 A block of 16 addresses inside the 201 subnet 132.235.201.131/32 A specific address 10 TCP/IP Configuration When configuring a TCP/IP stack, you normally need to specify IP address Address mask Router address To be able to reach non-local hosts Must be an IP address on the local network This includes VoIP phones User Interface can be tricky! 11 Other Topics Mapping between IP addresses and hardware (e.g. Ethernet) addresses. ARP (Address Resolution Protocol) Mapping names to IP addresses DNS (Domain Name System) 12

TCP and UDP 13 UDP Header Source Port Destination Port Length Checksum 14 TCP Header Source Port Destination Port Sequence Number Acknowledgement Number misc Flags Checksum Window (flow cntrl) Urgent Options 15 TCP Connection Setup Three-Way Handshake Send SYN packet Wait for peer to return a SYN/ACK packet Acknowledge the SYN/ACK packet 16

17 TCP Connection Termination Send a FIN packet Wait to receive acknowledgement of FIN TCP Data Exchange Sequence Number Acknowledgement Number Sequence Numbers - Sliding Window Arbitrary initial setting Labels the first byte of the segment Acknowledgements Indicate the next byte the receiver is looking for, all previous bytes have been received. 18 Congestion or, why do we need controls? Lets assume 50Mbps link from an ISP to the Internet 200 customers online 50 packets per customer (1500bytes each) in queue 10,000 packets 15,000,000 bytes 120,000,000 bits 2.4 second queue delay Queue size must be controlled 19 Sliding Window flow control Invented to control flow to slower devices (i.e. end-to-end Almost accidentally provides a cap on data flow rate TCP uses a sliding window mechanism for multiple purposes Rate Control Congestion Control/Avoidance The window size is dynamically adjusted 20

21 Sliding Window 1 2 3 M 1 2 3 M 1 2 3 M Idle Time Round Trip Time Slow Start Congestion Control 1 1 2 1 1 2 1 2 3 4 Idle Time Idle Time Note: recent TCP amendments permit more than 1 initial segment Window doubles in each cycle 22 Timing Round-Trip Time (RTT): Combination of Frame Transmission times on intermediate links Frame propagation times on all links Queue wait times in all intermediate nodes Jitter Variation in delay (in practice the same as variation in RTT) 23