1 Chapter Overview TCP/IP DoD model. 2 Network Layer Protocols Responsible for end-to-end communications on an internetwork Contrast with data-link layer.

Slides:



Advertisements
Similar presentations
PJC CCNA Semester 2 Ver. 3.0 by William Kelly
Advertisements

Layer 3 of the TCP/IP protocol stack. Transport layer.
CCNA1 v3 Module 9 v3 CCNA 1 Module 9 JEOPARDY K. Martin Galo Valencia.
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.
CISCO NETWORKING ACADEMY Chabot College ELEC Transport Layer (4)
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.
IST 201 Chapter 9. TCP/IP Model Application Transport Internet Network Access.
Transmission Control Protocol (TCP)
Intermediate TCP/IP TCP Operation.
Chapter 7: Transport Layer
Lecture 7 Transport Layer
Transmission Control Protocol (TCP) Basics
CS3505 The Internet and Info Hiway transport layer protocols : TCP/UDP.
Chapter 7 – Transport Layer Protocols
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.
© Wiley Inc All Rights Reserved. CCNA: Cisco Certified Network Associate Study Guide CHAPTER 2: Internet Protocols.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
Chapter 2 Internet Protocol DoD Model Four layers: – Process/Application layer – Host-to-Host layer – Internet layer – Network Access layer.
Institute of Technology Sligo - Dept of Computing Semester 2 Chapter 9 The TCP/IP Protocol Suite Paul Flynn.
Chapter 4 OSI Transport Layer
Defining Network Protocols Application Protocols –Application Layer –Presentation Layer –Session Layer Transport Protocols –Transport Layer Network Protocols.
Gursharan Singh Tatla Transport Layer 16-May
Chapter Overview TCP/IP Protocols IP Addressing.
IST 228\Ch3\IP Addressing1 TCP/IP and DoD Model (TCP/IP Model)
Process-to-Process Delivery:
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
TRANSPORT LAYER T.Najah Al-Subaie Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System NET331.
CCNA Guide to Cisco Networking Fundamentals Fourth Edition
TCP/IP Application and Transport
Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.
Network Protocols. Why Protocols?  Rules and procedures to govern communication Some for transferring data Some for transferring data Some for route.
Chapter 9.
Jaringan Komputer Dasar OSI Transport Layer Aurelio Rahmadian.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Transport Layer Introduction to Networking.
IP and Errors IP Best Effort Datagrams can be: –Lost –Delayed –Duplicated –Delivered out of order –Corrupted.
1 Version 3.0 Module 11 TCP Application and Transport.
Chapter Three Network Protocols By JD McGuire ARP Address Resolution Protocol Address Resolution Protocol The core protocol in the TCP/IP suite that.
Chap 9 TCP/IP Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
10/13/20151 TCP/IP Transmission Control Protocol Internet Protocol.
University of the Western Cape Chapter 12: The Transport Layer.
TCP/IP Transport and Application (Topic 6)
Routers and Routing Basics CCNA 2 Chapter 10.
TCP1 Transmission Control Protocol (TCP). TCP2 Outline Transmission Control Protocol.
11 TRANSPORT LAYER PROTOCOLS Chapter 6 TCP and UDP SPX and NCP.
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.
Transport Layer COM211 Communications and Networks CDA College Theodoros Christophides
1 Chapter 8 – TCP/IP Fundamentals TCP/IP Protocols IP Addressing.
Lecture 4 Overview. Ethernet Data Link Layer protocol Ethernet (IEEE 802.3) is widely used Supported by a variety of physical layer implementations Multi-access.
Institute of Technology Sligo - Dept of Computing Chapter 12 The Transport Layer.
Page 12/9/2016 Chapter 10 Intermediate TCP : TCP and UDP segments, Transport Layer Ports CCNA2 Chapter 10.
1 Version 3.1 Module 10 Intermediate TCP/IP (Layer 4)
01_NF_Ch04 – OSI Transport Layer ( 傳輸層 ) Source: CCNA Exploration.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
McGraw-Hill Chapter 23 Process-to-Process Delivery: UDP, TCP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
IST 201 Chapter 11 Lecture 2. Ports Used by TCP & UDP Keep track of different types of transmissions crossing the network simultaneously. Combination.
Chapter 9: Transport Layer
Instructor Materials Chapter 9: Transport Layer
TCP/IP Transmission Control Protocol / Internet Protocol
TCP Transport layer Er. Vikram Dhiman LPU.
Process-to-Process Delivery:
TCP and UDP Layer 3 of the TCP/IP protocol stack. Transport layer
Process-to-Process Delivery: UDP, TCP
Transport Layer 9/22/2019.
Presentation transcript:

1 Chapter Overview TCP/IP DoD model

2 Network Layer Protocols Responsible for end-to-end communications on an internetwork Contrast with data-link layer protocols, which provide communications on the same local area network (LAN)

TCP/IP is everywhere with networks Web pages using TCP/IP Database access can use TCP/IP It started with DOD (tax payer’s $$) In 1973 it is TCP/IP In 1978 they became TCP and IP (two protocols) Mostly done at UC Berkeley and shipped with its version of UNIX 3

DoD model, OSI model and protocols 4

5 Port Numbers and Sockets A port number refers to a specific application or process running on a computer. A socket is a combination of a port number and an IP address. The Internet Assigned Numbers Authority (IANA) assigns well-known port numbers to common Internet applications. The most commonly used port numbers are listed in the Services file on computers running TCP/IP.

Process/Application Apps and Protocols 6 PortProtocolDescription 23TelnetTerminal Emulation (Telephone network) 21FTPAllows file transfers between computers (File Transfer Protocol) 69TFTP Have to know what you want and where it is on the server, no directory browsing, no user authentication (Trivial File Transfer Protocol) 2049NFSAllows remote file systems to be mounted as local (Network File System) 25SMTPUsed to send mail between mail servers (Simple Mail Transfer Protocol) 515LPDUsed for sharing of network printers with TCP/IP (Line Printer Daemon) 161SNMP Collect and manipulates network information (Simple Network Management Protocol) 53DNSResolves FQDN to IP addresses (Domain Name Service) 67BootPUsed by diskless CPs to receive boot file and other info via TFTP DHCP Assigns IP addresses to hosts from a pool. Can send IP address, Subnet mask,Domain Name, Default Gateway, DNS IP, WINS info. (Dynamic Host Configuration Protocol)

Host to host layer protocols Transmission Control Protocol (TCP) User Datagram Protocol (UDP) 7

8 TCP Characteristics TCP is the acronym for Transmission Control Protocol. TCP is Connection oriented Reliable It is used to carry large amounts of data. It provides services that Internet Protocol (IP) lacks. TCP is defined in Request for Comments (RFC) 793.

9 TCP Functions Guaranteed delivery Packet acknowledgment Flow control Error detection

10 Segmentation TCP splits application layer messages into datagram-sized segments and encapsulates each segment with its own header. The collection of segments is called a sequence. The destination system reassembles the segments into the original application layer messages. The segmentation process is completely separate from the network layer fragmentation process.

The TCP Message Format

12 Control Bits Control BitFunction URG Indicates that the segment contains urgent data ACK Indicates that the message acknowledges a previously transmitted segment PSH Indicates that the receiving system should forward the message immediately rather than wait for the rest of the sequence RST Resets the TCP connection and discards the segments received so far SYN Synchronizes the Sequence Number values for both systems FIN Terminates a TCP connection

13 Three-Way Handshake Functions Verify that both computers are operating and ready to receive data Exchange initial sequence numbers (ISNs) Exchange maximum segment sizes (MSSs) Exchange port numbers

14 Three-Way Handshake Messages

15 Transmitting Data Information needed to transmit data: Port number Sequence number MSS (Max segment size)

16 Packet Acknowledgment TCP implements packet acknowledgment by using the Sequence Number and Acknowledgment Number fields. The Sequence Number field specifies the number of bytes transmitted. The Acknowledgment Number field specifies the number of bytes received.

17 Delayed Acknowledgments TCP systems do not have to individually acknowledge every packet they receive. The frequency of acknowledgment is left up to the individual TCP implementation.

18 Positive and Negative Acknowledgments With positive acknowledgment with retransmission, TCP systems acknowledge only the number of bytes they have received correctly. With negative acknowledgment, the computer specifies the information that it has not received correctly. All data beginning with the failed segment is retransmitted. Messages that are not acknowledged are retransmitted.

19 TCP Error Detection TCP provides the only end-to-end error detection for the application layer data. TCP computes a checksum based on The TCP header The application layer information in the TCP Data field A pseudo-header created from some of the fields in the IP header

20 TCP Checksum Value

21 Flow Control Flow control allows a receiving system to control the transmission rate of the sending system. Each computer has a buffer for storing incoming packets. When a computer transmits too quickly, the buffer on the receiving system can fill up, causing packets to be dropped. TCP uses the Window field in its acknowledgment messages to implement flow control. The Window value indicates how much buffer space the receiving system has available. The sending system is permitted to transmit only the number of bytes specified in the Window field.

22 Terminating the Connection

23 UDP Characteristics UDP is the acronym for User Datagram Protocol. UDP is defined in RFC 768. It is a connectionless protocol. It is used primarily for brief request/reply transactions.

24 The UDP Message Format

TCP VS. UDP 25

Port Numbers In computer networking, a port is an application- specific or process-specific software construct serving as a communications endpoint used by Transport Layer protocols, such as Transmission Control Protocol (TCP) and User Datagram Protocol (UDP). Port + IP address  socket 26

Well Known port numbers < 1024 Defined in RFC

IP Layer Protocals IP (Internet Protocol) Encapsulation Addressing Routing Fragmentation Protocol identification 28

29 The IP Datagram Format

ICMP Internet Control Message Protocol Router may use ICMP to send back Destination Unreachable message Or Buffer Full message Over hop limit message A message informing the demise of a IP datagram ping traceroute/tracert 30

ARP and RARP Address Resolution Protocol (ARP) Resolve IP addresses to Mac addresses by broadcast a ARP message arp -a Reverse Address Resolution Protocol (RARP) From MAC to IP, for diskless systems 31

Data Encapsulation The wrapping of protocol info at each layer. Each layer communicate ONLY WITH ITS PEER LAYER 32

Data Encapsulation – Protocol Data Units 33

Data Encapsulation 34