Overview of TCP/IP. TCP/IP and Internet



Similar documents
Understanding TCP/IP. Introduction. What is an Architectural Model? APPENDIX

Overview. Securing TCP/IP. Introduction to TCP/IP (cont d) Introduction to TCP/IP

Internet Architecture and Philosophy

Architecture and Performance of the Internet

Protocols. Packets. What's in an IP packet

Lecture Computer Networks

TCP/IP Fundamentals. OSI Seven Layer Model & Seminar Outline

Ethernet. Ethernet. Network Devices

How do I get to

8.2 The Internet Protocol

Internet Protocols. Background CHAPTER

Basic Networking Concepts. 1. Introduction 2. Protocols 3. Protocol Layers 4. Network Interconnection/Internet

Mobile IP Network Layer Lesson 02 TCP/IP Suite and IP Protocol

IP Network Layer. Datagram ID FLAG Fragment Offset. IP Datagrams. IP Addresses. IP Addresses. CSCE 515: Computer Network Programming TCP/IP

Transport and Network Layer

Introduction to TCP/IP

First Workshop on Open Source and Internet Technology for Scientific Environment: with case studies from Environmental Monitoring

The OSI and TCP/IP Models. Lesson 2

Introduction To Computer Networking

Chapter 9. IP Secure

Technical Support Information Belkin internal use only

PART OF THE PICTURE: The TCP/IP Communications Architecture

Guide to Network Defense and Countermeasures Third Edition. Chapter 2 TCP/IP

Indian Institute of Technology Kharagpur. TCP/IP Part I. Prof Indranil Sengupta Computer Science and Engineering Indian Institute of Technology

NETWORK LAYER/INTERNET PROTOCOLS

Course Overview: Learn the essential skills needed to set up, configure, support, and troubleshoot your TCP/IP-based network.

IP - The Internet Protocol

CHAPTER 0 INTRODUCTION TO TCP/IP

Network Models and Protocols

Objectives of Lecture. Network Architecture. Protocols. Contents

Transport Layer. Chapter 3.4. Think about

Network Programming TDC 561

Network-Oriented Software Development. Course: CSc4360/CSc6360 Instructor: Dr. Beyah Sessions: M-W, 3:00 4:40pm Lecture 2

TCP/IP Protocol Suite. Marshal Miller Chris Chase

Network layer: Overview. Network layer functions IP Routing and forwarding

The TCP/IP Reference Model

IT Internet Architecture and Protocols. Lecture 02 Overview of Internet Architecture

Chapter 1 Computer Networks and the Internet

Internet Firewall CSIS Packet Filtering. Internet Firewall. Examples. Spring 2011 CSIS net15 1. Routers can implement packet filtering

Networking Test 4 Study Guide

Network Security TCP/IP Refresher

Internetworking. Problem: There is more than one network (heterogeneity & scale)

IP Networking. Overview. Networks Impact Daily Life. IP Networking - Part 1. How Networks Impact Daily Life. How Networks Impact Daily Life

Internet and IP addressing

Chapter 7: Computer Networks, the Internet, and the World Wide Web. Invitation to Computer Science, C++ Version, Third Edition

Network Layer IPv4. Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS. School of Computing, UNF

Computer Networks CS321

LESSON Networking Fundamentals. Understand TCP/IP

Lecture 28: Internet Protocols

Transport Layer Protocols

Datacommunication. Internet Infrastructure IPv4 & IPv6

Introduction to computer networks and Cloud Computing

Internet structure: network of networks

ICOM : Computer Networks Chapter 6: The Transport Layer. By Dr Yi Qian Department of Electronic and Computer Engineering Fall 2006 UPRM

Data Communication Networks and Converged Networks

Outline. CSc 466/566. Computer Security. 18 : Network Security Introduction. Network Topology. Network Topology. Christian Collberg

ACHILLES CERTIFICATION. SIS Module SLS 1508

Guide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols

Introduction to IP networking

Data Communication Networks Introduction

The TCP/IP Protocol Suite

IP address format: Dotted decimal notation:

Understanding Layer 2, 3, and 4 Protocols

TCP/IP and the Internet

CS335 Sample Questions for Exam #2

IP addressing and forwarding Network layer

Internet Routing. Review of Networking Principles

DO NOT REPLICATE. Analyze IP. Given a Windows Server 2003 computer, you will use Network Monitor to view and analyze all the fields of IP.

The Internet. Chapter 10. Learning Objectives. Chapter Outline. After reading this chapter, you should be able to:

Overview of Computer Networks

Solution of Exercise Sheet 5

Unix Security Features and TCP/IP Primer

CPS221 Lecture: Layered Network Architecture

Raritan Valley Community College Academic Course Outline. CISY Advanced Computer Networking

Internet Concepts. What is a Network?

Networking Basics and Network Security

Chapter 3: Review of Important Networking Concepts. Magda El Zarki Dept. of CS UC Irvine

04 Internet Protocol (IP)

CSE 3214: Computer Network Protocols and Applications

Layered Architectures and Applications

What is a DoS attack?

Protocol Data Units and Encapsulation

Internet Control Protocols Reading: Chapter 3

The Internet. Internet Technologies and Applications

Internet Protocol: IP packet headers. vendredi 18 octobre 13

2. IP Networks, IP Hosts and IP Ports

Basic Operation & Management of TCP/IP Networks

Access Control: Firewalls (1)

Protocol Specification & Design. The Internet and its Protocols. Course Outline (trivia) Introduction to the Subject Teaching Methods

Computer Networks/DV2 Lab

TCP/IP Networking for Wireless Systems. Integrated Communication Systems Group Ilmenau University of Technology

RARP: Reverse Address Resolution Protocol

Topics. Computer Networks. Let s Get Started! Computer Networks: Our Definition. How are Networks Used by Computers? Computer Network Components

Computer Networks/DV2 Lab

EITF25 Internet Techniques and Applications L5: Wide Area Networks (WAN) Stefan Höst

Transcription:

Overview of TCP/IP System Administrators and network administrators Why networking - communication Why TCP/IP Provides interoperable communications between all types of hardware and all kinds of operating systems. What is TCP/IP An entire suite of data communication protocols, Transmission Control Protocol (TCP) and the Internet Protocol (IP) are two of those protocols in the suite Overview of TCP/IP 1 TCP/IP and Internet 1969 ARPAnet Experimental packet-switching network Study robust, reliable, vendor-independent data communication Very successful 1975 ARPAnet became operation network Development continuing Basic TCP/IP was developed since then 1983 TCP/IP protocols were adopted as Military Standards TCP/IP was implemented in Berkeley Unix. ARPAnet was divided into MILNET and ARPAnet Overview of TCP/IP 2 1

TCP/IP and Internet 1985 NSFNet Linked together the five NSF super computer centers Connected to the then existing Internet ( MILNET plus ARPAnet) Brought a new vision - extend the network to every scientist and engineer 1987 new NSFNet backbone Faster Three-tiered topology: backbone, regional networks, and networks. Overview of TCP/IP 3 TCP/IP and Internet 1985 NSFNet Linked together the five NSF super computer centers Connected to the then existing Internet ( MILNET plus ARPAnet) Brought a new vision - extend the network to every scientist and engineer 1987 new NSFNet backbone Faster Three-tiered topology: backbone, regional networks, and networks. Overview of TCP/IP 4 2

TCP/IP and Internet 1990 ARPAnet passed out of existence 1995 NSFNet ceased its role as a primary Internet backbone network Today Internet is build by commercial providers. Infrastructure National network provider - tier-one providers Regional network provider tier-two providers Network Access points (NAPS) Local access and user services Overview of TCP/IP 5 TCP/IP and Internet 1990 ARPAnet passed out of existence 1995 NSFNet ceased its role as a primary Internet backbone network Today Internet is build by commercial providers. Infrastructure National network provider - tier-one providers Regional network provider tier-two providers Network Access points (NAPS) Local access and user services Overview of TCP/IP 6 3

Internet structure: network of networks roughly hierarchical at center: tier-1 s (e.g., UUNet, BBN/Genuity, Sprint, AT&T), national/international coverage treat each other as equals Tier-1 providers interconnect (peer) privately Tier 1 NAP Tier 1 Tier 1 Tier-1 providers also interconnect at public network access points (NAPs) Overview of TCP/IP 7 Tier-1 : e.g., Sprint Sprint US backbone network Overview of TCP/IP 8 4

Tier-1 : e.g., UUNET UUNET Backbone Connectivity Overview of TCP/IP 9 Internet structure: network of networks Tier-2 s: smaller (often regional) s Connect to one or more tier-1 s, possibly other tier-2 s Tier-2 pays tier-1 for connectivity to rest of Internet tier-2 is customer of tier-1 provider Tier-2 Tier-2 Tier 1 NAP Tier 1 Tier 1 Tier-2 s also peer privately with each other, interconnect at NAP Tier-2 Tier-2 Tier-2 Overview of TCP/IP 10 5

Internet structure: network of networks Tier-3 s and s last hop ( access ) network (closest to end systems) Local and tier- 3 s are customers of higher tier s connecting them to rest of Internet Tier 3 Tier-2 Tier 1 Tier-2 Tier 1 Tier-2 NAP Tier 1 Tier-2 Tier-2 Overview of TCP/IP 11 Internet structure: network of networks a packet passes through many networks! Tier 3 Tier-2 Tier 1 Tier-2 NAP Tier 1 Tier-2 Tier 1 Tier-2 Tier-2 Overview of TCP/IP 12 6

TCP/IP and the Internet Internet has evolved From a simple backbone network Through a three-tiered hierarchical structure To a huge network of interconnected, distributed network hubs. Doubling in size every year since 1983 est. 50 million host, 100 million+ users One thing remained constant: Internet is build on the TCP/IP protocol. Overview of TCP/IP 13 TCP/IP and the Internet The growth of the Internet spurred interest in TCP/IP it is popular. network applications email, html, http, instant messaging, games Other networks Local area networking even not connected to Internet. Enterprise networks intranets. Overview of TCP/IP 14 7

TCP/IP Features TCP/IP met the need at the right time. Open protocol standards Free Developed independently from any specific computer hardware or operating system Independence from specific physical network hardware. Ethernet DSL connection Dial-up line Optical network Virtually any other kind of transmission medium. Overview of TCP/IP 15 TCP/IP Features Common addressing scheme allow uniquely address any device in the entire network. Standardized high-level protocols for consistent, widely available user services. Overview of TCP/IP 16 8

Protocol Standards What is protocol? Formal rules of behavior. Internet Standards are developed by Internet Engineering Task Force (IETE) in open, public meetings. Requests for Comments (RFCs) Standards (STD) Best current practices (BCP) Informational (FYI) Overview of TCP/IP 17 Protocol Standards Official Internet standard is rigorous Proposed Standard Draft Standard At least two interoperable implementations Internet Standard Extensive testing Significant benefit to the internet community. Overview of TCP/IP 18 9

Protocol Standards Two categories of standards Technical Specification defines a protocol Applicability Statement defines when the protocol is to be used. Required Recommended Elective More than 5000 RFCs. http://www.ietf.org/rfc.html Overview of TCP/IP 19 Internet protocol stack application: supporting network applications FTP, SMTP, HTTP transport: host-host data transfer TCP, UDP Internet: defines the datagram and handles the routing of data. IP, routing protocols Network Access Layer: Consist of routines for accessing physical network. PPP, Ethernet Application Transport Internet Network Access Overview of TCP/IP 20 10

Internet protocol stack Application: supporting network applications FTP, SMTP, HTTP Transport: host-host data transfer TCP, UDP Internet: defines the datagram and handles the routing of data. IP, routing protocols Network Access Layer: Consist of routines for accessing physical network. PPP, Ethernet Application Transport Internet Network Access Overview of TCP/IP 21 Internet protocol stack Application Layer Data Transport Layer Header Data Internet Layer Header Header Data Network Access Layer Header Header Header Data Overview of TCP/IP 22 11

Network Access Layer Provide the means to deliver data to other devices on a directly attached network Functions: Encapsulation of IP datagram to frame Mapping IP addresses to physical addresses. RFC 826: Address Resolution Protocol (ARP) Overview of TCP/IP 23 Internet Layer Internet Protocol (IP) is the most important in this layer IPv4 and IPv6 Main functions Moving data between Network Access Layer and the Transport Layer Routing the datagram to remote hosts Performing fragmentation and re-assembly of datagrams. IP is connectionless protocol No handshaking to establish end-to-end connection IP is called unreliable protocol no error detection and error recovery Overview of TCP/IP 24 12

The Datagram Format 1 2 3 4 5 Version Time to Live IHL Identification Protocol Type of Service flags Source Address Total Length Destination Address Fragmentation offset Header Checksum 6 Options Padding Data begins here Overview of TCP/IP 25 IP IP delivers by checking destination address Host on same network, deliver directly Otherwise, routing via gateway Routing datagrams Host -> gateway -> gateway -> host Overview of TCP/IP 26 13

IP Fragmenting datagrams Maximum transmission unit (MTU) for each type of network If the datagram received from one network is longer than the other network s MTU, it must be divided into smaller fragments. Header word 2 contains info that identifies which datagram and info how to re-assemble them Identification what datagram the fragment belongs to Offset what piece of the datagram Flag more fragments bit Passing datagrams to the transport layer Done by using protocol number from word3 Overview of TCP/IP 27 Internet Control Message Protocol (ICMP) Part of internet layer Uses the IP datagram delivery facility to send message Functions Flow control ICMP Source Quench Message, ask source to stop sending temporarily Detecting unreachable destinations Destination Unreachable Message for host and port Redirecting routes To tell a host to use another gateway Checking remote hosts ICMP Echo Message - ping Overview of TCP/IP 28 14

Transport Layer Two most important protocol Transmission Control Protocol (TCP) Reliable data delivery User Datagram Protocol (UDP) Connectionless datagram delivery Unreliable Overview of TCP/IP 29 UDP No techniques in the protocol to verify data reached the other end Why use UDP? Low-overhead for small data Query-response model application Application provide their own techniques for reliable data delivery bits 0 16 31 Source Port Destination Port Length Checksum Data begins here Figure: UDP Message format Overview of TCP/IP 30 15

TCP Reliable Positive Acknowledgment with Retransmission (PAR) connection-oriented Establish a logical end-toend connection Three-way Handshake before data is transmitted Host A Host B SYN SYN,ACK ACK,data Overview of TCP/IP 31 TCP Byte-stream data TCP views data as continuous stream of bytes Sequence Number and Acknowledgement Number keep track of the bytes Exchanging initial sequence number (ISN) random number First byte of data has Sequence number ISN+1 Sequence number identifies the sequential position in the data stream of the first data byte in the segment. Acknowledgment Segment (ACK) Positive acknowledgement Flow control - window Overview of TCP/IP 32 16

TCP segment format 0 16 31 Source Port Sequence Number Acknowledgement number Destination port Data Offset Reserved Flags Window Checksum Urgent Pointer Options Padding Data begins here See the flags definition: http://en.wikipedia.org/wiki/transmission_control_protocol Overview of TCP/IP 33 Application Layer Many application protocols telnet Remote login over network ftp File transfer protocol for transferring files between hosts SMTP Simple Mail Transfer protocol, which delivers electronic mail HTTP Hypertext transfer protocol, delivers web pages over the network. Overview of TCP/IP 34 17

Application Layer More application protocols Domain Name System (DNS) Map IP addresses to the names assigned to network devices. Open Shortest Path First (OSPF) Allow network device to exchange routing information Network File System (NFS) Allows files to be shared by various hosts. Overview of TCP/IP 35 Summary We ve talked about TCP/IP and Internet TCP/IP four layers: applications, transport, Internet and Network Access. Next, we will look in detail how IP datagram moves through a network when data is delivered between hosts. Overview of TCP/IP 36 18