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

Similar documents
Interconnecting Networks with TCP/IP

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

ECE4110 Internetwork Programming. Introduction and Overview

TCP /IP Fundamentals Mr. Cantu

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

TSIN02 - Internetworking

TCP/IP and the OSI Model

Layer 4: UDP, TCP, and others. based on Chapter 9 of CompTIA Network+ Exam Guide, 4th ed., Mike Meyers

EE 610 Part 2: Encapsulation and network utilities

Cisco Interconnecting Cisco Networking Devices Part 1.

Introduction to TCP/IP networking

Introduction to Networking. Operating Systems In Depth XXVII 1 Copyright 2017 Thomas W. Doeppner. All rights reserved.

TSIN02 - Internetworking

OSI Transport Layer. objectives

Review of Important Networking Concepts

The Internet Protocol (IP)

TSIN02 - Internetworking

Lesson 5 TCP/IP suite, TCP and UDP Protocols. Chapter-4 L05: "Internet of Things ", Raj Kamal, Publs.: McGraw-Hill Education

Lecture 17 Overview. Last Lecture. Wide Area Networking (2) This Lecture. Internet Protocol (1) Source: chapters 2.2, 2.3,18.4, 19.1, 9.

Different Layers Lecture 20

TSIN02 - Internetworking

TCP/IP THE TCP/IP ARCHITECTURE

CSCI-GA Operating Systems. Networking. Hubertus Franke

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

ET4254 Communications and Networking 1

Introduction to Internetworking

CHAPTER-2 IP CONCEPTS

IP Protocols. ALTTC/Oct

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

Chapter 7. Local Area Network Communications Protocols

The SpaceWire Transport Protocol. Stuart Mills, Steve Parkes University of Dundee. International SpaceWire Seminar 5 th November 2003

NT1210 Introduction to Networking. Unit 10

TCP/IP Overview. Basic Networking Concepts. 09/14/11 Basic TCP/IP Networking 1

Transport Layer. Gursharan Singh Tatla. Upendra Sharma. 1

TCP/IP Protocol Suite and IP Addressing

Defining Networks with the OSI Model. Module 2

Data & Computer Communication

Cisco Cisco Certified Network Associate (CCNA)

TCP/IP Networking Basics

Network Architecture Models

Chapter 2 Network Models 2.1

CCNA Exploration Network Fundamentals. Chapter 04 OSI Transport Layer

Copyleft 2005, Binnur Kurt. Objectives

Review of Important Networking Concepts TCP/IP

Lecture-4. TCP/IP-Overview:

Network Model. Why a Layered Model? All People Seem To Need Data Processing

Networking Revision. TCP/IP Protocol Stack & OSI reference model. Basic Protocols. TCP/IP Model ANTHONY KAO NETWORKING FINAL EXAM SPRING 2014 REVISION

Network Layer: Internet Protocol

Interconnecting Cisco Networking Devices Part1 ( ICND1) Exam.

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

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

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

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

Vorlesung Kommunikationsnetze

Networking Technologies and Applications

Internet Layers. Physical Layer. Application. Application. Transport. Transport. Network. Network. Network. Network. Link. Link. Link.

Lab - Using Wireshark to Examine TCP and UDP Captures

EXAM - HP0-Y52. Applying HP FlexNetwork Fundamentals. Buy Full Product.

Network and Security: Introduction

CPSC 826 Internetworking. The Network Layer: Routing & Addressing Outline. The Network Layer

Hands-On Ethical Hacking and Network Defense

OSI Network Layer. Network Fundamentals Chapter 5. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

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

B.Sc. (Hons.) Computer Science with Network Security B.Eng. (Hons) Telecommunications B.Sc. (Hons) Business Information Systems

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

Transport Layer. <protocol, local-addr,local-port,foreign-addr,foreign-port> ϒ Client uses ephemeral ports /10 Joseph Cordina 2005

CCNA 1 Final Exam Answers UPDATE 2012 eg.1

Question 7: What are Asynchronous links?

Internetwork Protocols

Introduction to TCP/IP

Network Layer. The Network Layer. Contents Connection-Oriented and Connectionless Service. Recall:

Network Layer. Recall: The network layer is responsible for the routing of packets The network layer is responsible for congestion control

KillTest ᦝ䬺 䬽䭶䭱䮱䮍䭪䎃䎃䎃ᦝ䬺 䬽䭼䯃䮚䮀 㗴 㓸 NZZV ]]] QORRZKYZ PV ٶ瀂䐘މ悹伥濴瀦濮瀃瀆ݕ 濴瀦

Connectionless and Connection-Oriented Protocols OSI Layer 4 Common feature: Multiplexing Using. The Transmission Control Protocol (TCP)

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

Computer Networks. More on Standards & Protocols Quality of Service. Week 10. College of Information Science and Engineering Ritsumeikan University

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

Applied Networks & Security

SUBJECT: DATA COMMUNICATION AND NETWORK SEMESTER: V SEMESTER COURSE: BCA SUBJECT TEACHER: Dr.K.Chitra Assistant Professor, Department of Computer

Fundamentals of Networking. OSI & TCP/IP Model. Kuldeep Sonar 1

Use of the TCP/IP Protocols and the OSI Model in Packet Tracer

Lecture (11) OSI layer 4 protocols TCP/UDP protocols

ACL Rule Configuration on the WAP371

Network Security. Introduction to networks. Radboud University, The Netherlands. Autumn 2015

SYSTEMS ADMINISTRATION USING CISCO (315)

Overview of TCP/IP Overview of TCP/IP protocol: TCP/IP architectural models TCP protocol layers.

Internetworking models

Overview of Ethernet Networking

Computer Networks. Lecture 9 Network and transport layers, IP, TCP, UDP protocols

IPv4. Christian Grothoff.

Data Communication Prof. A. Pal Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Lecture 34 TCP/ IP I

Lecture 3. The Network Layer (cont d) Network Layer 1-1

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

OSI and TCP/IP Models

What is a Network? TCP / IP. The ISO OSI Model. Protocols. The TCP/IP Protocol Suite. The TCP/IP Protocol Suite. Computer network.

OSI Transport Layer. Network Fundamentals Chapter 4. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

TSIN02 - Internetworking

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

Introduction to Internet. Ass. Prof. J.Y. Tigli University of Nice Sophia Antipolis

System Programming. Introduction to computer networks

Transcription:

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

Objectives Upon completion of this chapter you will be able to perform the following tasks: Identify the IP protocol stack, its protocol layer functions, and commonly used IP protocols Identify IP address classes, IP addresses, IP subnet masks, IP network numbers, subnet numbers, and possible host numbers. Configure IP addresses and subnet masks on a router interface and optionally configure a host table. Interconnect the VLANs with a layer three device such as a router on a stick. 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-2

Introduction to TCP/IP Host Host Internet TCP/IP Early protocol suite Universal 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-3

TCP/IP Protocol Stack 7 Application 6 5 4 3 2 1 Presentation Session Transport Network Data Link Physical Application Transport Internet Data Link Physical 5 4 3 2 1 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-4

Application Layer Overview Application Transport Internet Data Link Physical File Transfer - TFTP * - FTP * - NFS E-Mail - SMTP Remote Login - Telnet * - rlogin * Network Management - SNMP * Name Management - DNS* *Used by the router 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-5

Transport Layer Overview Application Transport Internet Transmission Control Protocol (TCP) User Datagram Protocol (UDP) Connection- Oriented Connectionless Data Link Physical 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-6

Transmission control protocol Transmission control protocol Services: Resource Utilization (multiplexing) Connection Management (establishing) Flow Control (Buffering / Windowing) Reliable Transport (positive acknowledgment / error checking) 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-7

Connection Management The Transport Layer is responsible for establishing, maintaining and terminating connections between devices on a network. This Connection-Oriented Service has three phases: Connection-Establishment Data-Transfer Connection Termination 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-8

Connection-Establishment Phase 1 - Connection-Establishment: The source and destination negotiate a connection with a three-way handshake and a simple path between the two is determined. 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-9

Connection-Establishment Phase 2 - Data-Transfer: Data is transmitted along the designated path of the network, arriving at the destination in the order it was sent. 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-10

Connection-Establishment Phase 3 - Connection-Termination: The connection between the source and the destination is terminated when it is no longer needed. If they require additional communications after termination, another connection must be established. 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-11

TCP Port Numbers Source Port Dest. Port Telnet Z Host A Host Z SP DP 1028 23 Dest. port = 23. Send packet to my Telnet application. 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-12

TCP Three Way Handshake/Open Connection Host A Host B 1 Send SYN (seq=100 ctl=syn) SYN received 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-13

TCP Three Way Handshake/Open Connection Host A Host B 1 Send SYN (seq=100 ctl=syn) SYN received SYN received Send SYN, ACK (seq=300 ack=101 ctl=syn,ack) 2 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-14

TCP Three Way Handshake/Open Connection Host A Host B 1 3 Send SYN (seq=100 ctl=syn) SYN received Established (seq=101 ack=301 ctl=ack) SYN received Send SYN, ACK (seq=300 ack=101 ctl=syn,ack) 2 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-15

TCP Simple Acknowledgment Sender Receiver Window size = 1 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-16

TCP Simple Acknowledgment Sender Send 1 Receiver Receive 1 Window size = 1 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-17

TCP Simple Acknowledgment Sender Send 1 Receive ACK 2 Receiver Receive 1 Send ACK 2 Window size = 1 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-18

TCP Simple Acknowledgment Sender Send 1 Receive ACK 2 Send 2 Receiver Receive 1 Send ACK 2 Receive 2 Window size = 1 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-19

TCP Simple Acknowledgment Sender Send 1 Receive ACK 2 Send 2 Receive ACK 3 Receiver Receive 1 Send ACK 2 Receive 2 Send ACK 3 Window size = 1 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-20

TCP Simple Acknowledgment Sender Send 1 Receive ACK 2 Send 2 Receive ACK 3 Send 3 Receiver Receive 1 Send ACK 2 Receive 2 Send ACK 3 Receive 3 Window size = 1 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-21

TCP Simple Acknowledgment Sender Send 1 Receive ACK 2 Send 2 Receive ACK 3 Send 3 Receive ACK 4 Receiver Receive 1 Send ACK 2 Receive 2 Send ACK 3 Receive 3 Send ACK 4 Window size = 1 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-22

TCP Sequence and Acknowledgment Numbers Source Port Dest. Port Sequence # Acknowledgement # I just sent #10. Source Dest. Seq. Ack. 1028 23 10 1 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-23

TCP Sequence and Acknowledgment Numbers Source Port Dest. Port Sequence # Acknowledgement # I just sent #10. I just got #10, now I need #11. Source Dest. 1028 23 Seq. 10 Ack. 1 Source Dest. 23 1028 Seq. 1 Ack. 11 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-24

TCP Sequence and Acknowledgment Numbers Source Port Dest. Port Sequence # Acknowledgement # I just sent #11. I just got #10, now I need #11. Source Dest. 1028 23 Source Dest. 1028 23 Seq. 10 Seq. 11 Ack. 1 Ack. 2 Source Dest. 23 1028 Seq. 1 Ack. 11 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-25

TCP Sequence and Acknowledgment Numbers Source Port Dest. Port Sequence # Acknowledgement # I just sent #11. I just got #11, now I need #12. Source Dest. 1028 23 Source Dest. 1028 23 Seq. 10 Seq. 11 Ack. 100 Ack. 101 Source Dest. 23 1028 Source Dest. 23 1028 Seq. 100 Seq. 101 Ack. 11 Ack. 12 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-26

TCP Windowing Sender Receiver 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-27

TCP Windowing Sender Window size = 3 Send 1 Window size = 3 Send 2 Window size = 3 Send 3 Receiver 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-28

TCP Windowing Sender Window size = 3 Send 1 Window size = 3 Send 2 Receiver Window size = 3 Send 3 ACK 3 Window size = 2 Packet 3 is Dropped 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-29

TCP Windowing Sender Window size = 3 Send 1 Window size = 3 Send 2 Receiver Window size = 3 Send 3 Window size = 3 Send 3 Window size = 3 Send 4 ACK 3 Window size = 2 Packet 3 is Dropped 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-30

TCP Windowing Sender Window size = 3 Send 1 Window size = 3 Receiver Window size = 3 Send 2 Window size = 3 Send 3 Window size = 3 Send 3 ACK 3 Window size = 2 Packet 3 is Dropped Window size = 3 Send 4 ACK 5 Window size = 2 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-31

udp UDP is a TCP/IP Transport Layer protocol designed for applications that provide their own error recovery process. It trades reliability for speed. UDP is simple and efficient, but not reliable. UDP is connectionless and unacknowledged. UDP depends on upper layer protocols for reliability. Although UDP is responsible for transmitting messages, no software checking for segment delivery is provided at this layer. The UDP header length is always 64 bits. Examine the field definitions of the UDP segment below by moving your mouse over each area. (View info without mouseover): 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-32

UDP Segment Format Bit 1 0 Bit 15 Bit 16 Bit 31 Source port (16) Destination port (16) Length (16) Checksum (16) 8 Bytes Data (if any) No sequence or acknowledgment fields 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-33

UDP data transferring Data is transmitted along the designated path of the network, arriving at the destination in the order it was sent. 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-34

Internet Layer Overview Application Transport Internet Data Link Physical Internet Protocol (IP) Internet Control Message Protocol (ICMP) Address Resolution Protocol (ARP) Reverse Address Resolution Protocol (RARP) OSI network layer corresponds to the TCP/IP internet layer 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-35

IP Datagram Bit 1 0 Bit 15 Bit 16 Bit 31 Version (4) Header Length (4) Identification (16) Priority & Type of Service (8) Total Length (16) Flags (3) Fragment offset (13) Time to live (8) Protocol (8) Header checksum (16) Source IP Address (32) 20 Bytes Destination IP Address (32) Options (0 or 32 if any) Data (varies if any) 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-36

Protocol Field Transport Layer TCP UDP Internet Layer 6 IP 17 Protocol Numbers Determines destination upper-layer protocol 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-37

Internet Control Message Protocol Application Transport 1 ICMP Internet Data Link Destination Unreachable Echo (Ping) Other Physical 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-38

Address Resolution Protocol Used to resolve or map a known IP address to a MAC sublayer address to allow commnication on a multiaccess medium such as Ethernet. To determine a destination address for a datagram, the ARP cache table is checked. If the address is not in the table, ARP sends a broadcast looking for the destination station. Every station on the network receives the broadcast. 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-39

Reverse ARP On the local segment, RARP can be used to initiate a remote operating system load sequence. ARP and RARP are implemented directly on top of the data link layer. Dynamic Host Configuration Protocol (DHCP) is a modern implementation of RARP. DHCP provides a mechanism for allocating IP addresses dynamically so that addresses can be reused when hosts no longer need them. For more information on DHCP, refer to the Building Cisco Remote Access Networks (BCRAN) course. 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-40

Do not delete 2000, Cisco Systems, Inc. www.cisco.com ICND v1.0a 8-41