TCP/IP stack is the family of protocols that rule the current internet. While other protocols are also used in computer networks, TCP/IP is by far

Similar documents
Chapter 2 Network Models 2.1

System Programming. Introduction to computer networks

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.

CN1047 INTRODUCTION TO COMPUTER NETWORKING CHAPTER 6 OSI MODEL TRANSPORT LAYER

Networking and Internetworking 1

CPS221 Lecture: Layered Network Architecture

Internetwork Protocols

Introduction to TCP/IP networking

TCP/IP protocol suite

Network Model: Each layer has a specific function.

Data and Computer Communications

b) Diverse forms of physical connection - all sorts of wired connections, wireless connections, fiber optics, etc.


SC/CSE 3213 Winter Sebastian Magierowski York University CSE 3213, W13 L8: TCP/IP. Outline. Forwarding over network and data link layers

Chapter 20 Network Layer: Internet Protocol 20.1

IT 341: Introduction to System

EE 610 Part 2: Encapsulation and network utilities

Objectives. Upon completion you will be able to: Understand how the Internet came into being

Single Network: applications, client and server hosts, switches, access links, trunk links, frames, path. Review of TCP/IP Internetworking

03 The Internet Model and TCP/IP

Network Models. Presentation by Dr.S.Radha HOD / ECE SSN College of Engineering

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

Network Protocols - Revision

Chapter 5 OSI Network Layer

Chapter 1: Introducing TCP/IP

Schahin Rajab TCP or QUIC Which protocol is most promising for the future of the internet?

CS 640: Introduction to Computer Networks. Today s Lecture. Page 1

Reference Models. 7.3 A Comparison of the OSI and TCP/IP Reference Models

Lecture-4. TCP/IP-Overview:

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

Outline. Inter-Process Communication. IPC across machines: Problems. CSCI 4061 Introduction to Operating Systems

Chapter 12. Network Organization and Architecture. Chapter 12 Objectives Introduction Introduction

Position of IP and other network-layer protocols in TCP/IP protocol suite

NAT, IPv6, & UDP CS640, Announcements Assignment #3 released

Chapter 2 Network Models 2.1

Computer Networks with Internet Technology William Stallings. Chapter 2 Protocols and the TCP/IP Protocol Suite

Internet Protocol version 6

This talk will cover the basics of IP addressing and subnetting. Topics covered will include:

Data and Computer Communications. Chapter 2 Protocol Architecture, TCP/IP, and Internet-Based Applications

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

Guide to TCP/IP, Third Edition. Chapter 1: Introducing TCP/IP

Network Reference Models

II. Principles of Computer Communications Network and Transport Layer

CSCI-GA Operating Systems. Networking. Hubertus Franke

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

The OSI Model. Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO).

Configure Transmission Control Protocol (TCP) and User Datagram Protocol (UDP) Service Settings on a Switch

Business Data Communications and Networking

Internetworking Models The OSI Reference Model

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

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

Lecture (02) Networking Model (TCP/IP) Networking Standard (OSI) (I)

Lab 1: Packet Sniffing and Wireshark

Network Programming. Introduction to Sockets. Dr. Thaier Hayajneh. Process Layer. Network Layer. Berkeley API

Chapter 3 Protocols and the TCP/IP Suite

Operating Systems CS 571

Layering in Networked computing. OSI Model TCP/IP Model Protocols at each layer

CS164 Final Exam Winter 2013

Lecture (02) The TCP/IP Networking Model

On Distributed Communications, Rand Report RM-3420-PR, Paul Baran, August 1964

Computer Communication & Networks / Data Communication & Computer Networks Week # 03

Summary of Data Communications

a. the physical layer, b. and the data-link layer. a. three physical layers, b. three data-link layers, c. and only one network layer.

CCNA 1 Chapter 7 v5.0 Exam Answers 2013

Chapter 7. Local Area Network Communications Protocols

INTRODUCTORY COMPUTER

Lecture (02) The TCP/IP Networking Model

Introduction to Protocols

Lecture (02, 03) Networking Model (TCP/IP) Networking Standard (OSI)

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

Introduction. IP Datagrams. Internet Service Paradigm. Routers and Routing Tables. Datagram Forwarding. Example Internet and Conceptual Routing Table

Chapter 2 Network Models 2.1

ACL Rule Configuration on the WAP371

CSC 546: Client/Server Fundamentals. Fall Major client/server protocols

MODULE: NETWORKS MODULE CODE: CAN1102C. Duration: 2 Hours 15 Mins. Instructions to Candidates:

Ref: A. Leon Garcia and I. Widjaja, Communication Networks, 2 nd Ed. McGraw Hill, 2006 Latest update of this lecture was on

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

Data Transport over IP Networks

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

Computer Networks Prof. S. Ghosh Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture 28 IP Version 4

Introduction to Internetworking

4. The transport layer

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

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

Computer Networking: A Top Down Approach Featuring the. Computer Networks with Internet Technology, William

CCNA Exploration Network Fundamentals. Chapter 04 OSI Transport Layer

Overview of Network Software. CS158a Chris Pollett Jan 31, 2007.

Interconnecting Networks with TCP/IP

Copyleft 2005, Binnur Kurt. Objectives

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

Networking for Data Acquisition Systems. Fabrice Le Goff - 14/02/ ISOTDAQ

Lab - Using Wireshark to Examine a UDP DNS Capture

TCP/IP Protocol Suite and IP Addressing

NetWare Protocols. Background. Technology Basics CHAPTER

Need For Protocol Architecture

User Datagram Protocol

Lab - Using Wireshark to Examine a UDP DNS Capture

IPv6 Transitioning. An overview of what s around. Marco Hogewoning Trainer, RIPE NCC

Chapter 1 Introduction

Network Architecture Models

Transcription:

TCP/IP stack is the family of protocols that rule the current internet. While other protocols are also used in computer networks, TCP/IP is by far the most common of them.

TCP/IP can be compared to the OSI model as a simpler and more efficient implementation of the conceptual seven-layer model of OSI. TCP/IP deals with four layers of communications, and data packets are passed topdown for transmission. TCP/IP doesn t specify the Network Access Layer, so it is quite common to mix the OSI model and the TCP/IP model and talk about Physical Layer and Data Link layer instead of the Network Access layer

Here we can see an example of the data flow in a remote shell session (rlogin) using TCP/IP. Each layer adds headers and creates a new data structure encapsulating the one handled by the layer that is over it. We can see how data is encapsulated in the second figure. On reception each layer strips the headers added by its counterpart in the sending device, performs the operations assigned to it and passes the resulting data structure to the layer over it. Data structures have different names in the different communication levels

If the connection has to pass through several network devices, they use the same mechanism, but only up to the level in which they work A Level 3 device (router), that is able to connect different networks, goes up to Internet layer (called network layer in the OSI model). A Level 2 device (switch,) works inside a local network and only goes up to OSI layer 2 that is equivalent to Network Access Layer in the TCP/IP model. The hosts applications use all layers to communicate

IETF, created in 1992, is responsible for Internet technical standards. It uses a method called Request for Comments (RFC), that is a consensual standard setting process, and the standards created are named with RFC and a four digit code that is in the 7 thousands for the last standards (RFC 0001 dates from April 1969) All TCP/IP protocols are defined in the public RFCs. RFCs are constantly updated

The Internet addresses, that we also saw in the first course of the ISC series, are defined in the TCP/IP protocol stack. Internet addresses are used to locate the destination computer, in order to send the packets there through the internet. In some sense it s like the postal address of a computer. Every device on the Internet is assigned an IP address. In the late sixties, when internet started, IP addresses with 4 bytes (that are 32 bits as a byte has 8 bits) were used, as the number of possible different addresses 2^32 (4.3 billion) was considered a huge number that was more than enough. With the rapid growth of the Internet after commercialisation in the 1990s, it became evident that the address space available with IPv4 was not enough to connect all new devices in the future. By 1998, the Internet Engineering Task Force (IETF) had formalised the successor protocol, IPv6, that uses a 128-bit address, allowing 2^128, or approximately 3.4 10^38 addresses, or more than 7.9 10^28 times as many as IPv4, So now we have two types of IP addresses, IPv4 and IPv6. IPv4: That uses 32-bit (four-byte) addresses. Its first version was deployed for production in the ARPANET in 1983. It still routes most Internet traffic today, but there are nearly no reserves of new IP addresses in the world IPv6: are represented as eight groups of four hexadecimal digits. The two protocols are not designed to be interoperable, complicating the transition to IPv6. However, several IPv6 transition mechanisms have been devised to permit communication between IPv4 and IPv6 hosts. All the major Operating systems can handle IPv6 addresses but most of Internet traffic is carried with IPv4. In July 2015 the percentage of users reaching Google Services with IPv6 reached 8% for the first time.

Transport layer addresses allow users to connect to a specific application in a computer host. There are 2 protocols in the TCP/IP stack transport layer, TCP (for Transmission Control Protocol) that is connection oriented, that is, that transmits data as a byte stream, provides flow control and guarantees that the data transferred remains intact and arrives in the same order in which it was sent, and UDP (for User Datagram Protocol) that is connectionless, transmits the packets individually and gives no guarantees at all, but is faster as it is lightweight. In the TCP/IP family, transport layer addresses are known as sockets or ports: a socket is a combination of an IP address (the IP address of the host) with a number that identifies the specific application or service, separated by a colon. Specific port numbers are often used to identify specific services. Of the thousands of enumerated ports, 1024 well-known port numbers are reserved by convention to identify specific service types on a host. We don t usually see the port number because every application is programmed to use a specific port, so, when we type an IP address in an web browser, it understands that the request will go to port 80 by default, but we could have 2 web servers running in the same host and direct our request to the second using a different socket(for example 158.42.4.23:8080)

TCP/IP protocol suite encloses far more protocols than the basic ones we have commented. Computer networks can be really complicated!