Chap 9 TCP/IP Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology

Slides:



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

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.
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.
Intermediate TCP/IP TCP Operation.
Chapter 7: Transport Layer
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Transport Layer Introduction to Networking.
Lecture 7 Transport Layer
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—1-1 Building a Simple Network Understanding the TCP/IP Transport Layer.
CCNA 1 v3.1 Module 11 Review.
© 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.
1 Version 3.0 Module 9 TCP/IP Protocol and IP Addressing.
Institute of Technology Sligo - Dept of Computing Semester 2 Chapter 9 The TCP/IP Protocol Suite Paul Flynn.
Defining Network Protocols Application Protocols –Application Layer –Presentation Layer –Session Layer Transport Protocols –Transport Layer Network Protocols.
CS 356 Systems Security Spring Dr. Indrajit Ray
1.  A protocol is a set of rules that governs the communications between computers on a network.  Functions of protocols:  Addressing  Data Packet.
IST 228\Ch3\IP Addressing1 TCP/IP and DoD Model (TCP/IP Model)
Chapter Eleven An Introduction to TCP/IP. Objectives To compare TCP/IP’s layered structure to OSI To review the structure of an IP address To look at.
CCNA Guide to Cisco Networking Fundamentals Fourth Edition
WXES2106 Network Technology Semester /2005 Chapter 4 TCP/IP CCNA1: Module 9, 10.3 and 11.
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.
NetworkProtocols. Objectives Identify characteristics of TCP/IP, IPX/SPX, NetBIOS, and AppleTalk Understand position of network protocols in OSI Model.
Network Protocols.
Introduction to the Transport Layer The primary duties of the transport layer, Layer 4 of the OSI model, are to transport and regulate the flow of information.
Chapter 9.
CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
© 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.
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.
Chapter Three Network Protocols. Agenda Attendance, and Ch.2 Quiz questions TCP/IP Model IP Header (Using Ethereal to analyze the IP header) TCP Header.
Copyright 2003 CCNA 1 Chapter 9 TCP/IP Transport and Application Layers By Your Name.
Semester 2v2 Chapter 9:  TCP/IP.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Transport Layer Introduction to Networking.
Huda AL_Omairl - Network 71 Protocols and Network Software.
Component 9 – Networking and Health Information Exchange Unit 1-1 ISO Open Systems Interconnection (OSI) This material was developed by Duke University,
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.
© 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.
University of the Western Cape Chapter 12: The Transport Layer.
TCP/IP Transport and Application (Topic 6)
11 TRANSPORT LAYER PROTOCOLS Chapter 6 TCP and UDP SPX and NCP.
Addressing Through the Layers  Data Link Layer Address  Network Layer Address.
The Transport Layer application transport network data link physical application transport network data link physical application transport network data.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
Application Layer Khondaker Abdullah-Al-Mamun Lecturer, CSE Instructor, CNAP AUST.
TCP/IP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
Cisco – Chapters Layers 4, 5, and 6 More Details.
Cisco Networking Academy S2 C9 TCP/IP. ensure communication across any set of interconnected networks Stack components such as protocols to support file.
Institute of Technology Sligo - Dept of Computing Chapter 12 The Transport Layer.
Chapter 2 - Page 1 Infogem Institute of Technology CCNA Course TCP/IP Protocol Suite TCP/IP PROTOCOL SUITE Chapter 3 Sybex, Chapter 9 Exam Cram.
1 Bus topology network. 2 Data is sent to all computers, but only the destination computer accepts 02608c
Hands-On Ethical Hacking and Network Defense
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)
Hands-On Ethical Hacking and Network Defense Chapter 2 TCP/IP Concepts Review Last modified
The OSI Model. Understanding the OSI Model In early 1980s, manufacturers began to standardize networking so that networks from different manufacturers.
Introduction Chapter 1. TCP/IP Reference Model Why Another Model? Although the OSI reference model is universally recognized, the historical and technical.
IST 201 Chapter 11 Lecture 2. Ports Used by TCP & UDP Keep track of different types of transmissions crossing the network simultaneously. Combination.
Chapter 1 Introduction Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011.
Networking for Home and Small Businesses – Chapter 6
Networking for Home and Small Businesses – Chapter 6
Networking for Home and Small Businesses – Chapter 6
The TCP/IP Model.
Presentation transcript:

Chap 9 TCP/IP Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology

Overview TCP/IP operation TCP/IP operation TCP/IP protocol stack component TCP/IP protocol stack component Reliable and unreliable transport layer protocols Reliable and unreliable transport layer protocols ICMP/ARP/RARP ICMP/ARP/RARP

The TCP/IP Protocol Suite TCP/IP protocols & the OSI model TCP/IP protocols & the OSI model The application layer The application layer The transport layer The transport layer TCP and UDP segment format TCP and UDP segment format Port numbers Port numbers Three-way handshake Three-way handshake Acknowledgment & windowing Acknowledgment & windowing

TCP/IP protocols and the OSI model Defense Advanced Research Projects Agency (DARPA) Defense Advanced Research Projects Agency (DARPA) TCP/IP is the de facto standard for internetwork communications TCP/IP is the de facto standard for internetwork communications

TCP/IP  A universally available protocol  A useful reference for understanding other protocols  Be important because the router uses it as a configuration tool

TCP/IP The layers most closely affected by TCP/IP are Layer 7, Layer 4, and Layer 3 The layers most closely affected by TCP/IP are Layer 7, Layer 4, and Layer 3 Enable communication among any set of interconnected networks Enable communication among any set of interconnected networks

Application layer Supports addressing protocols and network management Supports addressing protocols and network management Has protocols for file transfer, , and remote login Has protocols for file transfer, , and remote login

translating names of domains and their publicly advertised network nodes into addresses Translate names of domains into addresses

WINS Windows Internet Naming Service Windows Internet Naming Service Microsoft-developed standard for Microsoft Windows NT that automatically associates NT workstations with Internet domain names Microsoft-developed standard for Microsoft Windows NT that automatically associates NT workstations with Internet domain names

HOSTS A file created by network administrators and maintained on servers A file created by network administrators and maintained on servers Be used to provide static mapping between IP addresses and computer names Be used to provide static mapping between IP addresses and computer names

SMTP Simple Mail Transport Protocol Simple Mail Transport Protocol Governs the transmission of e- mail over computer networks Governs the transmission of e- mail over computer networks Does not provide support for transmission of data other than plain text Does not provide support for transmission of data other than plain text

SNMP Simple Network Management Protocol Simple Network Management Protocol Provides a means to monitor and control network devices, and to manage configurations, statistics collection, performance and security Provides a means to monitor and control network devices, and to manage configurations, statistics collection, performance and security

FTP File Transfer Protocol File Transfer Protocol A reliable connection-oriented service that uses TCP to transfer files between systems that support FTP A reliable connection-oriented service that uses TCP to transfer files between systems that support FTP Supports bi-directional binary file and ASCII file transfers Supports bi-directional binary file and ASCII file transfers

TFTP Trivial File Transfer Protocol Trivial File Transfer Protocol A connectionless unreliable service A connectionless unreliable service Be useful in some LANs because it operates faster than FTP in a stable environment Be useful in some LANs because it operates faster than FTP in a stable environment

HTTP Hypertext Transfer Protocol Hypertext Transfer Protocol Supports the exchange of information on the WWW Supports the exchange of information on the WWW Supports many different file types, including text, graphic, sound, and video Supports many different file types, including text, graphic, sound, and video

Troubleshooting protocols Telnet Telnet PING PING Traceroute Traceroute NBSTAT NBSTAT NETSTAT NETSTAT ipconfig/winipcfg ipconfig/winipcfg

NBSTAT To troubleshoot NetBIOS name resolution To troubleshoot NetBIOS name resolution Be used to view and remove entries from the name cache Be used to view and remove entries from the name cache

NETSTAT Provides information about TCP/IP statistics Provides information about TCP/IP statistics Be used to provide information about the status of TCP/IP connections and summaries of ICMP, TCP, and UDP Be used to provide information about the status of TCP/IP connections and summaries of ICMP, TCP, and UDP

ipconfig/winipcfg View current network settings for all ip (nic) adapters on a device View current network settings for all ip (nic) adapters on a device Be used to view the MAC address, IP address, and gateway Be used to view the MAC address, IP address, and gateway

Transport layer End-to-end service (segment) End-to-end service (segment) Layer 4 data stream Layer 4 data stream  A logical connection between the endpoints of a network  Provides transport services from a host to a destination

TCP  A connection-oriented, reliable protocol  Flow control: sliding windows  Reliability: sequence numbers and acknowledgments  Re-sends/Virtual circuit  Provides guaranteed delivery

UDP Connectionless and unreliable Connectionless and unreliable Responsible for transmitting messages Responsible for transmitting messages  No software checking Advantage: speed Advantage: speed No acknowledgments/less traffic is sent/making the transfer faster No acknowledgments/less traffic is sent/making the transfer faster

Protocols using UDP TFTP TFTP SNMP SNMP Network File System (NFS) Network File System (NFS) Domain Name System (DNS) Domain Name System (DNS)

TCP and UDP port numbers Use port numbers to pass information to the upper layers Use port numbers to pass information to the upper layers Keep track of the different conversations Keep track of the different conversations Well-known port numbers Well-known port numbers

Port numbers assignment Numbers below 255 are for public applications Numbers below 255 are for public applications Numbers are assigned to companies for marketable applications Numbers are assigned to companies for marketable applications Numbers above 1023 are unregulated Numbers above 1023 are unregulated

Originating source port numbers, usually some numbers larger than 1023, are dynamically assigned by the source host

Three-way handshake Connection establishment Connection establishment  The two end stations must synchronize on each other's initial TCP sequence numbers (ISNs) Sequence numbers Sequence numbers  Track the order of packets and to ensure that no packets are lost

Simple acknowledgment and windowing To govern the flow of data between devices, TCP uses a peer-to-peer flow control mechanism To govern the flow of data between devices, TCP uses a peer-to-peer flow control mechanism

Window size The number of bytes that are transmitted before receiving an acknowledgment The number of bytes that are transmitted before receiving an acknowledgment

Acknowledgments TCP uses expectational acknowledgments, meaning that the acknowledgment number refers to the octet expected next TCP uses expectational acknowledgments, meaning that the acknowledgment number refers to the octet expected next

Sliding window The sliding The sliding  The window size is negotiated dynamically during the TCP session A larger window size allows more data to be transmitted A larger window size allows more data to be transmitted

Sequence and acknowledgment numbers Each datagram is numbered Each datagram is numbered At the receiver, TCP reassembles the segments into a complete message At the receiver, TCP reassembles the segments into a complete message If a sequence number is missing in the series, that segment is retransmitted (timeout) If a sequence number is missing in the series, that segment is retransmitted (timeout)

Layer 3 Concepts TCP/IP and the Internet Layer TCP/IP and the Internet Layer Diagram the IP datagram Diagram the IP datagram Internet Control Message Protocol (ICMP) Internet Control Message Protocol (ICMP) How ARP works How ARP works

TCP/IP & the Internet Layer  ICMP -- provides control and messaging capabilities  ARP -- IP addresses -> the data link layer address  RARP -- data link layer addresses -> network addresses

IP Header  VERS -- version number  HLEN -- header length, in 32-bit words  type of service -- how the datagram should be handled  total length -- total length (header + data)  identification, flags, frag offset -- provides fragmentation of datagrams to allow differing MTUs in the internetwork

IP Header  TTL -- Time-To-Live  protocol -- the upper-layer (Layer 4) protocol sending the datagram  header checksum -- an integrity check on the header  source and destination IP address  IP options -- network testing, debugging, security, and other options

Internet Control Message Protocol (ICMP) ICMP messages are carried in IP datagrams and are used to send error and control messages ICMP messages are carried in IP datagrams and are used to send error and control messages

How ARP works ARP is used to resolve or map a known IP address to a MAC sublayer address ARP is used to resolve or map a known IP address to a MAC sublayer address ARP cache ARP cache Local ARP Local ARP

Summary TCP/IP and OSI TCP/IP and OSI Application protocols Application protocols Transport layer Transport layer ICMP, ARP, RARP ICMP, ARP, RARP