Introduction to the TCP/IP protocol suite

Similar documents
ISO OSI 7 Layer model and the TCP/IP protocol stack. Introduction to the TCP/IP protocol suite. Networking Glossary

History of TCP/IP and Internet (continued) TCP/IP. History of TCP/IP and Internet. History of TCP/IP and Internet

IP fields. TCP/IP Support Protocols. IP datagram structure. IP fields. are another reason TCP/IPs popularity. total length

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

Internet A Brief Tutorial. Jean Walrand EECS U.C. Berkeley

03 The Internet Model and TCP/IP

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

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

Chapter 2 Network Models 2.1

Networking Applications

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

COS 140: Foundations of Computer Science

TCP/IP THE TCP/IP ARCHITECTURE

Networking and Internetworking 1

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

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

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

Communicating over the Network

E&CE 358: Tutorial 1. Instructor: Sherman (Xuemin) Shen TA: Miao Wang

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.

Introduction to Information Science and Technology 2017 Networking I. Sören Schwertfeger 师泽仁

COMS Introduction to Computers. Networking

EEC-484/584 Computer Networks

Lecture-4. TCP/IP-Overview:

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

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

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

Chapter 7. Local Area Network Communications Protocols

OSI and TCP/IP Models

Part VI. Appendixes. Appendix A OSI Model and Internet Protocols Appendix B About the CD

ISO/OSI Model and Collision Domain NETWORK INFRASTRUCTURES NETKIT - LECTURE 1 MANUEL CAMPO, MARCO SPAZIANI

Chapter 11: Wide-Area Networks and the Internet

CPSC156a: The Internet Co-Evolution of Technology and Society. Lecture 4: September 16, 2003 Internet Layers and the Web

Introduction to Networking

Significance of TCP/IP Model Divya Shree Assistant Professor (Resource Person), Department of computer science and engineering, UIET, MDU, Rohtak

CS 455 Internet Architecture, Page 3 ffl By 1985, the ARPANET was heavily used and congested; the National Science Foundation (NSF) initiated the NSFN

TSIN02 - Internetworking

Copyleft 2005, Binnur Kurt. Objectives

Kent State University

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

ITEC 3210 M - Applied Data Communications and Networks. Professor: Younes Benslimane, Ph.D.

Network Protocols - Revision

1. IPv6 is the latest version of the TCP/IP protocol. What are some of the important IPv6 requirements?

TCP/IP and the OSI Model

TCP/IP Protocol Suite and IP Addressing

Lecture (03) Network Model

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

Peer entities. Protocol Layering. Protocols. Example

Scribe Notes -- October 31st, 2017

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

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

OSI Reference Model. Computer Networks lab ECOM Prepared By : Eng. Motaz Murtaja Eng. Ola Abd Elatief

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

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

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

Lecture (02) Network Protocols and Standards

precise rules that govern communication between two parties TCP/IP: the basic Internet protocols IP: Internet protocol (bottom level)

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

CS-461 Internetworking. Dr. Mohamed Aboutabl

Communication Networks

TSIN02 - Internetworking

Defining Networks with the OSI Model. Module 2

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

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

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

CCNA 1 v3.11 Module 11 TCP/IP Transport and Application Layers

Internetwork Basic. Possible causes of LAN traffic congestion are

6 Computer Networks 6.1. Foundations of Computer Science Cengage Learning

How the Internet Works

Network.... communication system for connecting end- systems. End-systems a.k.a. hosts PCs, workstations dedicated computers network components

System Programming. Introduction to computer networks

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

TCPIP Protocol Suite & Utilities. Revision no.: PPT/2K403/02

The Internet Protocol (IP)

Chapter 3: Network Protocols and Communications CCENT Routing and Switching Introduction to Networks v6.0 Instructor Planning Guide

Transport Layer TCP & UDP Week 7. Module : Computer Networks Lecturers : Lucy White Office : 324

Lecture (02) The TCP/IP Networking Model

Typical Network Uses

Computer Network Programming. The Transport Layer. Dr. Sam Hsu Computer Science & Engineering Florida Atlantic University

Communication Networks - 3 general areas: data communications, networking, protocols

TCP/IP protocol suite

Network Layer (1) Networked Systems 3 Lecture 8

Next Steps Spring 2011 Lecture #18. Multi-hop Networks. Network Reliability. Have: digital point-to-point. Want: many interconnected points

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

Internetworking Models The OSI Reference Model

Silberschatz and Galvin Chapter 15

Cisco Cisco Certified Network Associate (CCNA)

1. Which OSI layers offers reliable, connection-oriented data communication services?

Solved MCQ of Computer networking. Set-1

FINAL EXAM REVIEW PLEASE NOTE THE MATERIAL FROM LECTURE #16 at the end. Exam 1 Review Material

Types of Transfer. Connection-oriented Transfer. Connectionless Transfer. Networks generally provide two types of communication. Connection-oriented

Lecture (02) The TCP/IP Networking Model

Need For Protocol Architecture

Internet Routing. Review of Networking Principles. What s the Internet: nuts and bolts view. Communication links

Internet Routing. Review of Networking Principles

Need For Protocol Architecture

Chapter 16 Networking

CN1047 INTRODUCTION TO COMPUTER NETWORKING CHAPTER 6 OSI MODEL TRANSPORT LAYER

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

Introduction to computer networking

Transcription:

Introduction to the TCP/IP protocol suite slide 1 TCP/IP has been around for longer than the ISO OSI 7 layer model the ISO OSI 7 layer model is useful as a reference model for explaining the function of data transmission practically TCP/IP has won but literature still uses the ISO OSI 7 layer model

slide 2 ISO OSI 7 Layer model and the TCP/IP protocol stack there is not an exact match between the ISO OSI 7 layer reference model and the TCP/IP protocol stack

slide 3 ISO OSI 7 Layer model and the TCP/IP protocol stack Application 7 Presentation 6 Application Session 5 Reliable Stream (TCP) User Datagram (UDP) Transport 4 Internet (IP) Network Interface (X25, Ethernet, FDDI) Network Data link 3 2 Physical 1 TCP/IP protocol stack ISO OSI 7 Layer model

Networking Glossary slide 4 router aspecial purpose, dedicated computer that attaches to two ormore networks and routes IP datagrams from one to another each router forwards a datagram to another router until the datagram reaches its destination

Networking Glossary slide 5 hub an electronic device that connects to several computers and serves as the centre of a LAN, often Ethernet using 100Base-T, 1000Base-T or 10000Base-T wiring firewall asecurity mechanism placed between a company and the Internet to protect the company s computers from attack

Networking Glossary slide 6 hostname the name assigned to a computer domain name the name assigned to a computer aname might consist of several words separated by periods (sometime abbreviated to FQDN, fully qualified domain name)

Networking Glossary slide 7 gateway adevice used to connect two different networks, especially a connection to the Internet

TCP/IP slide 9 many excellent references on TCP/IP Internetworking with TCP/IP: principles, protocols and architecture bydouglas Comer UNIX Network Programming by Richard Stevens, chapter 4

History of TCP/IP and Internet slide 10 part of the excitement about the Internet is its size and growth rate 1 0 0 10000000 1000000 100000 Internet growth showing years vs. connected hosts h o 10000 1000 s t s 100 10 1 198 200 202 204 206 208 210 212 10 Years Key connected hosts

History of TCP/IP and Internet (continued) slide 11 DARPA was the main funding agency for packet-switched research in the USA DOD began working on the Internet in the mid 1970s design a protocol that would recover ifvarious nodes disappeared DOD had in mind a nuclear war! wanted a nervous system to carry all military information in USA by 1980 TCP/IP protocol had been designed the physical network was called the ARPANET which consisted of point to point connections packet switching over radio networks satellite communication channels

History of TCP/IP and Internet slide 12 January 1983 DARPA demanded that all computer attach to ARPANET via TCP/IP TCP/IP implementations were available at low cost most (90%) Computer Science departments were running BSD Unix TCP/IP available in source form for BSD systems growth 1987 Internet growing at 15% per month (Comer p.6) soon after that it began todouble each year!

Moores Law slide 13 1 0 0 0 10000000 Processor transistor count vs time t r a n 1000000 100000 10000 1000 s i s t o r 100 10 1 1970 1982 1993 2005 2016 year Key Moore s law s

History of TCP/IP slide 14 some reasons why reference implementation of TCP/IP in BSD Unix (1983) 4.3 BSD and 4.4 BSD inexpensive microprocessors (1983) inexpensive wide area fiber optic cable - carrying a high throughput of data (1984) deployment of DNS (Domain Name System) (dynamic ASCII to number lookup system)

Internet for the masses slide 15 in early 1990 s Tim Berner s Lee was working at CERN and as a bye product of high energy physics was working on document management system he created a hypertext markup language which was to become HTML HTTP is the protocol which WWW clients and servers obey people mistakenly think the HTTP is the Internet

Introduction to TCP/IP slide 16 LANs have developed greatly over the last 20 years there are a large variety of LANs different LANs in different departments and countries equipment can be bought on an incremental basis evolution not revolution - cost savings can be really effective if applications can talk to one another across the different LANs companies with different departments can share resources

Introduction to TCP/IP slide 17 one solution is for an operating system to provide this multivendor integration alternatively a standard network protocol could be designed Internet Protocol (IP) - so called because it allows communication between LANs

Problems/benefits of TCP/IP slide 18 what problems exist if we want to link up many LANs? unique addressing hardware independent obvious benefits of the Internet

TCP/IP Protocol Overview slide 19 user process user process OSI Layers 5..7 TCP UDP OSI Layer 4 ICMP IP ARP RARP OSI Layer 3 hardware interface OSI Layer 1..2

TCP/IP Protocol Summary slide 20 Internet Prococol provides the packet delivery service for TCP, UDP and ICMP user processes do not normally explicitly generate IP datagrams an IP address is a virtual address, it was not constructed with a preconceived piece of hardware in mind

TCP/IP Protocol Summary slide 21 Address Resolution Protocol maps an Internet address into a hardware address Reverse Address Resolution Protocol maps a hardware address into an Internet address.

TCP and UDP slide 22 primarily there are two transport protocols used with IP: TCP and UDP remember that IP may provide an unreliable service Transmission Control Protocol (TCP) provides a flexible two-way byte stream protocol (byte stream allows addressing within ahost - to user, process or service) provides a bidirectional pipe the source and destination address are called a Port TCP is the most popular transport protocol on top of IP it uses sliding window technique to provide a reliable service it uses a three way handshake toestablish a connection and a two way handshake todisconnect

User Datagram Protocol (UDP) slide 23 is an unreliable datagram protocol and is deliberately simple it does not ensure that packets arrive in order, unduplicated, or even atall! it sends discrete datagrams, and delivers messages that arrive to the appropriate Port (same addressing schema as TCP) a port may belong to a user, process or service the standard Internet name service, DNS, uses UDP it can be regarded as multiplexing many users, processes and services through one IP address UDP has no standard connection procedure and no disconnect procedure

IP technical introduction slide 24 IP centerpiece of the TCP/IP protocol stack. It hides the differences between data link protocols from the transport protocols that the end user applications use can replace old data link technologies with new faster technologies application independent IP defines a virtual network address space if you are connected to the Internet then your network has a unique IP address within that network address your machine has a unique host id.

IP technical introduction slide 25 IP provides a connectionless packet delivery service it routes small messages from one machine to another on the addressed within that message connectionless service routes each packet separately and therefore does not guarantee reliable delivery having connectionless packet delivery as the basis for all Internet services makes it adaptable to a wide range of hardware connectionless packet delivery is often termed datagram

IP (continued) slide 26 the IP protocol works as follows: transport layer split up a message into datagrams of <=64k bytes transport layer gives adatagram to the IP layer datagram is transmitted through the Internet ahop at a time (gateway togateway) adatagram maybe divided into smaller units at any hop datagram is reassembled at the destination machine original message is constructed delivered to the corresponding transport layer

TCP/IP Support Protocols slide 27 are another reason TCP/IPs popularity

TCP/IP Support Protocols slide 28 user process user process OSI Layers 5..7 TCP UDP OSI Layer 4 ICMP IP ARP RARP OSI Layer 3 hardware interface OSI Layer 1..2

TCP/IP Protocol Summary slide 29 Transmission Control Protocol connection-oriented protocol reliable, full duplex, byte stream for user processes User Data Protocol connectionless protocol for user processes unreliable Internet Control Message Protocol handles error and control information between gateways and hosts normally generated by TCP/IP networking software itself, not the user processes

TCP/IP Protocol Summary slide 30 Internet Protocol provides the packet delivery service for TCP, UDP and ICMP user processes do not normally explicitly generate IP datagrams Address Resolution Protocol maps an Internet address into a hardware address Reverse Address Resolution Protocol maps a hardware address into an Internet address.

IP Classes slide 31 1 7 24 Class A 0 1 1 14 16 Class B 1 0 1 1 1 21 8 Class C 1 1 0 for example193.63.129.1 is a class C address as we convert the first byte of the address193 into binary and examine the top 3 bits of a byte

IP Classes slide 32 there are 127 class A networks each can have 16,777,216 hosts there are 16,384 class B networks each can have 65,336 hosts there are 2,097,152 class C networks each of which have 256 hosts note that in practice the host byte values 0 and 255 are reserved for network and broadcast respectively

Private addresses in class A, B and C slide 33 in addition each class A, B and C have a private network address class A reserves the range 10.0.0.0-10.255.255.255 (16,777,216 hosts) class B 172.16.0.0-172.31.255.255 (1,048,576 hosts) class C 192.168.0.0-192.168.255.255 (65,536 hosts)

Example IP Static Configuration slide 34 Case study - adding a machine onto the Computer Science network the IP network in Computer Studies connects: Apple computers Windows computers Raspberry Pi machines Debian and Mint GNU/Linux clients and servers routers and various print services, etc

Example IP Static Configuration slide 35 each machine may run a different protocol above the IP layer if they wish but most machines will run the IP protocol the Computer Studies IP network is connected (via a gateway) to the University of Glamorgan IPnetwork in turn is connected to the world IP network via another gateway (through the University of Glamorgan 1Mbit line)

Example IP Static Configuration slide 36 every IP address actually refers to the interface card and NOT the machine! thus a gateway machine will have at least two interface cards to add a new machinefloppsie onto the Computer Studies network floppsie s interface card has to be assigned a unique IP address first three numbers the same as the Computer Science network (193.63.130) class C network - means first 3 bytes are always the same last number is the interface card number (hostid) 52 193.63.130.52

Example IP Static Configuration slide 37 software on the new machine needs to know: the gateway onthe Computer Studies network to other networks its own interface card IP address the nameserver IP address. The nameserver translates all ASCII names to IP numerical addresses. hop metric given with each gateway

IP Configuration slide 38 World IP network University of Glamorgan 193.63.134.00 DNS (Nameserver) Gateway 193.63.134.x 193.63.134.2 Somemachine Floppsie Dept of Computer Science 193.63.130.0 Gateway 193.63.130.254 193.63.130.52