Lecture 28: Internet Protocols



Similar documents
Objectives of Lecture. Network Architecture. Protocols. Contents

The OSI and TCP/IP Models. Lesson 2

Protocol Data Units and Encapsulation

Internet Concepts. What is a Network?

Computer Networks CS321

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

CPS221 Lecture: Layered Network Architecture

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

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

Protocols. Packets. What's in an IP packet

Transport and Network Layer

Data Communication Networks and Converged Networks

Note! The problem set consists of two parts: Part I: The problem specifications pages Part II: The answer pages

The OSI Model and the TCP/IP Protocol Suite PROTOCOL LAYERS. Hierarchy. Services THE OSI MODEL

Computer Networks & Security 2014/2015

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

Network Models and Protocols

The OSI model has seven layers. The principles that were applied to arrive at the seven layers can be briefly summarized as follows:

Networking Test 4 Study Guide

Transport Layer Protocols

CS335 Sample Questions for Exam #2

Protocols and Architecture. Protocol Architecture.

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

Overview of Computer Networks

Ethernet. Ethernet. Network Devices

Overview of TCP/IP. TCP/IP and Internet

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

The TCP/IP Reference Model

Note! The problem set consists of two parts: Part I: The problem specifications pages Part II: The answer pages

Chapter 11. User Datagram Protocol (UDP)

CSIS CSIS 3230 Spring Networking, its all about the apps! Apps on the Edge. Application Architectures. Pure P2P Architecture

Introduction Chapter 1. Uses of Computer Networks

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

Introduction to Computer Networks

ICS 153 Introduction to Computer Networks. Inst: Chris Davison

Architecture and Performance of the Internet

CSE 3461 / 5461: Computer Networking & Internet Technologies

IT4405 Computer Networks (Compulsory)

THE TCP/IP PROTOCOL SUITE

Distributed Systems. 2. Application Layer

Computer Networks and the Internet

Computer Networks Vs. Distributed Systems

How To Understand The Internet Of S (Netware)

Network Programming TDC 561

Communication Networks. MAP-TELE 2011/12 José Ruela

The OSI Model and the TCP/IP Protocol Suite

Mathatma Gandhi University

Protocol Hierarchies/Network Software

1 Introduction to mobile telecommunications

Introduction to TCP/IP

Network Models OSI vs. TCP/IP

Chapter 1: Introduction

How do I get to

RARP: Reverse Address Resolution Protocol

User Datagram Protocol - Wikipedia, the free encyclopedia

1 Data information is sent onto the network cable using which of the following? A Communication protocol B Data packet

Mobile IP Network Layer Lesson 01 OSI (open systems interconnection) Seven Layer Model and Internet Protocol Layers

Protocol Architecture

Oct 15, Internet : the vast collection of interconnected networks that all use the TCP/IP protocols

Internet Control Protocols Reading: Chapter 3

Cape Girardeau Career Center CISCO Networking Academy Bill Link, Instructor. 2.,,,, and are key services that ISPs can provide to all customers.

Computer Networks - Xarxes de Computadors

Communications and Computer Networks

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

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

EE4367 Telecom. Switching & Transmission. Prof. Murat Torlak

Advanced Higher Computing. Computer Networks. Homework Sheets

Core Syllabus. Version 2.6 C OPERATE KNOWLEDGE AREA: OPERATION AND SUPPORT OF INFORMATION SYSTEMS. June 2006

Introduction to computer networks and Cloud Computing

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

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

Chapter 9. IP Secure

What is CSG150 about? Fundamentals of Computer Networking. Course Outline. Lecture 1 Outline. Guevara Noubir noubir@ccs.neu.

LESSON Networking Fundamentals. Understand TCP/IP

Data Communication and Computer Network

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

Algemene Theorie en Vaardigheden 2. April 2014 Theaterschool OTT-2 1

Lecture 2: Protocols and Layering. CSE 123: Computer Networks Stefan Savage

IT Data Communication and Networks (Optional)

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

Chapter 5. Data Communication And Internet Technology

Chapter 1: Introduction

SFWR 4C03: Computer Networks & Computer Security Jan 3-7, Lecturer: Kartik Krishnan Lecture 1-3

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

TCP/IP Protocol Suite. Marshal Miller Chris Chase

IP - The Internet Protocol

How To Use A Network Over The Internet (Networking) With A Network (Netware) And A Network On A Computer (Network)

CS 78 Computer Networks. Internet Protocol (IP) our focus. The Network Layer. Interplay between routing and forwarding

Kick starting science...

Network Layer: Network Layer and IP Protocol

The OSI & Internet layering models

Introduction: Why do we need computer networks?

Module 1. Introduction. Version 2 CSE IIT, Kharagpur

Data Communication Networks Introduction

Internet Protocol: IP packet headers. vendredi 18 octobre 13

ELEC3030 Computer Networks

Chapter 2 - The TCP/IP and OSI Networking Models

Security (II) ISO : Security Architecture of OSI Reference Model. Outline. Course Outline: Fundamental Topics. EE5723/EE4723 Spring 2012

Network Basics GRAPHISOFT. for connecting to a BIM Server (version 1.0)

IP address format: Dotted decimal notation:

Transcription:

Lecture 28: Internet Protocols 15-110 Principles of Computing, Spring 2016 Dilsun Kaynar, Margaret Reid-Miller, Stephanie Balzer

Reminder: Exam 2 Exam 2 will take place next Monday, on April 4. Further details will be provided in next class. 2

This unit Internet fundamentals Computer networks Important ideas: Abstraction and s Connection-oriented vs connectionless Current issues: network neutrality Internet s IP, TCP, UDP, domain names, world wide web Internet security encryption 3

This unit last time Internet fundamentals Computer networks Important ideas: Abstraction and s Connection-oriented vs connectionless Current issues: network neutrality Internet s IP, TCP, UDP, domain names, world wide web Internet security encryption 3

This unit today Internet fundamentals Internet s Internet networking architecture (TCP/IP model) Layer-specific s of TCP/IP model: Network/Internet: IP : TCP and UDP : Client-server: HTTP, DNS Peer-to-peer: BitTorrent, Skype, Bitcoin Internet security 4

Recap 5

Recap: abstraction for networking software computer 1 layer 4 computer 2 layer 4 layer 3 layer 3 layer 2 layer 2 layer 1 layer 1 physical medium 6

Recap: abstraction for networking software layer 3 implements service and offers it to layer 4 computer 1 layer 4 layer 3 layer 2 layer 1 computer 2 layer 4 layer 3 layer 2 layer 1 physical medium 6

Recap: abstraction for networking software layer 3 implements service and offers it to layer 4 layer 3 uses service of layer 2 computer 1 layer 4 layer 3 layer 2 layer 1 computer 2 layer 4 layer 3 layer 2 layer 1 physical medium 6

Recap: abstraction for networking software computer 1 layer 4 computer 2 layer 4 layer 3 layer 3 layer 2 layer 2 layer 1 layer 1 physical medium 7

Recap: abstraction for networking software layer 3 carries out a conversation with peer layer 3 computer 1 layer 4 layer 3 layer 2 layer 1 computer 2 layer 4 layer 3 layer 2 layer 1 physical medium 7

Recap: abstraction for networking software computer 1 computer 2 layer 3 carries out a conversation with peer layer 3 layer 4 layer 3 layer 4 layer 3 the rules are governed by implemented layer 2 layer 1 layer 2 layer 1 physical medium 7

Recap: abstraction for networking software computer 1 layer 4 layer 3 layer 2 layer 1 computer 2 layer 4 layer 3 layer 2 layer 1 physical medium 8

Recap: abstraction for networking software defines service of layer computer 1 layer 4 computer 2 layer 4 layer 3 layer 3 layer 2 layer 2 layer 1 layer 1 physical medium 8

Recap: abstraction for networking software defines service of layer computer 1 layer 4 computer 2 layer 4 layer 3 layer 2 layer 3 layer 2 implements service of layer layer 1 layer 1 physical medium 8

Recap: abstraction for networking software defines service of layer computer 1 layer 4 computer 2 layer 4 adds specific header to message layer 3 layer 2 layer 3 layer 2 implements service of layer layer 1 layer 1 physical medium 8

Recap: service offered by layer: two kinds Connection-oriented (circuit switching) Connection is established, used, and then released. Like a tube where sender pushes objects in at one end and receiver takes them out. Real-world example: telephone system Connectionless (packet switching) Each message carries destination address and is routed through network independently of subsequent messages. Messages with same destination may take different routes and arrive out of order. Real-world example: postal system 9

Internet networking architecture: TCP/IP model 10

A model networking architecture Network Tasks: programs that make use of internet (e.g., HTTP, SMTP, DNS) source-to-destination communication (e.g., TCP, UDP) routing of messages within entire network, congestion handling (e.g., IP) Link Physical sending of finite-length messages between directly connected computers transmission of bits as signals across different physical media 11

A model networking architecture Network Tasks: textbook networking programs architecture that make use of internet (e.g., HTTP, SMTP, DNS) source-to-destination communication (e.g., TCP, UDP) routing of messages within entire network, congestion handling (e.g., IP) Link Physical sending of finite-length messages between directly connected computers transmission of bits as signals across different physical media 11

A model networking architecture Network Tasks: textbook networking programs architecture that make use of internet (e.g., HTTP, SMTP, DNS) source-to-destination communication (e.g., TCP, UDP) there exist other architectures routing of messages within entire network, congestion handling (e.g., IP) Link Physical sending of finite-length messages between directly connected computers transmission of bits as signals across different physical media 11

Other networking architectures ISO OSI (Open Systems Interconnection) Presentation Session Network Data Link Physical 12

Other networking architectures ISO OSI (Open Systems Interconnection) Presentation model developed by ISO to serve as reference for networking architectures Session Network Data Link Physical 12

Other networking architectures ISO OSI (Open Systems Interconnection) Presentation Session model developed by ISO to serve as reference for networking architectures separate standards for layer-specific s available, but not used in practice Network Data Link Physical 12

Other networking architectures ISO OSI (Open Systems Interconnection) Presentation Session model developed by ISO to serve as reference for networking architectures separate standards for layer-specific s available, but not used in practice Network Data Link Physical model was developed first, then s 12

Other networking architectures ISO OSI (Open Systems Interconnection) Presentation Session Network Data Link Physical 13

Other networking architectures ISO OSI (Open Systems Interconnection) TCP/IP model Presentation Session Network Data Link Internet Link Physical 13

Other networking architectures ISO OSI (Open Systems Interconnection) Presentation Session Network Data Link Physical TCP/IP model Internet Link architecture of the internet, named after its two primary s 13

Other networking architectures ISO OSI (Open Systems Interconnection) Presentation Session Network Data Link Physical TCP/IP model Internet Link architecture of the internet, named after its two primary s s were developed first, then model as a description of existing s 13

Other networking architectures ISO OSI (Open Systems Interconnection) TCP/IP model Presentation Session Network Data Link Internet Link Physical 14

Other networking architectures ISO OSI (Open Systems Interconnection) Presentation Session Network Data Link Physical TCP/IP model Internet Link textbook architecture Network Link Physical 14

Other networking architectures ISO OSI (Open Systems Interconnection) Presentation Session Network Data Link Physical TCP/IP model OSI model without presentation and session layers Internet Link textbook architecture Network Link Physical 14

Other networking architectures ISO OSI (Open Systems Interconnection) Presentation Session Network Data Link Physical TCP/IP model Internet Link textbook architecture Network Link Physical 14

TCP/IP model TCP/IP model Protocols: HTTP, DNS, SMTP, RTP, POP, IMAP, FTP, and many more (see Wikipedia) Internet Link TCP, UDP, and many more (see Wikipedia) IP, ICP, and many more (see Wikipedia) Ethernet, DSL, Sonet, 802.11, and many more (see Wikipedia) 15

TCP/IP model TCP/IP model Protocols: HTTP, DNS, SMTP, RTP, POP, IMAP, FTP, and many more (see Wikipedia) Internet Link TCP, UDP, and many more (see Wikipedia) IP, ICP, and many more (see Wikipedia) Ethernet, DSL, Sonet, 802.11, and many more (see Wikipedia) 15

Protocols of TCP/IP model 16

Internet Layer: IP (Internet Protocol) s fixed-length packages from source to destination. Abstracts network boundaries: delivery irregardless of whether machines are on same network or whether there are other networks in between. Connectionless service (i.e., package switching). Package header includes, among other information, IP addresses of source and destination. Routers forward packages between networks 17

IP addresses Network address of a host or router on the internet, used in source and destination address fields in IP packets. An IP address refers to the network, not the physical machine. E.g., a router has an IP address for each network it is part of. IP addresses are hierarchical, with a network portion and a host portion. Network portion is the same for all hosts on a single network. Hierarchical routing allows routers to ignore host part, resulting in smaller routing tables. 18

IP addresses Originally, IP addresses were 32-bit long. They are defined by the IP Version 4 (IPv4). IPv4 limits the address space to roughly 4.3 billions. To prevent expected address exhaustion, IPv6 has been developed. IPv6 uses 128-bit addressing. Transition to IPv6 is still in process. 19

layer data from process on source machine to process on destination machine. Provides abstraction that applications need to use the network. Assigns port number to application. Splits up application data into packages. Note: transport-layer software runs entirely on user s machine, network-layer software runs on routers too. 20

layer s: TCP vs UDP TCP (Transmission Control Protocol) connection-oriented reliable, end-to-end byte stream over unreliable network predominantly used UDP (User Datagram Protocol) connection-less allows applications to send encapsulated IP packages without establishing a connection, thus exposing unreliability of network used for voice, video, and DNS lookup, for example 21

layer Actual internet applications and supporting s Client-server architecture (predominant) distinguishes provider (server) of a shared resource from its clients clients send requests to server, server responds with service Examples: HTTP, DNS Peer-to-peer architecture many computers pool their resources to form a content distribution system computers are peers because they both act as clients and servers Examples: BitTorrent, Skype, Bitcoin 22

layer s: HTTP and DNS HTTP (HyperText Transfer Protocol) Defines interaction between web client application (e.g., Firefox, Safari) and web server application (e.g., Apache). Agreement on how to ask for a web page, on how to send data entered into a form, on how to report errors, etc. DNS (Domain Name System) Provides mapping from high-level machine names (e.g., http:// www.cs.cmu.edu/~15110/index.html) to IP addresses. High-level names are more user-friendly and independent of network topology. Naming system is hierarchical and decentralized. 23

This unit Internet fundamentals Internet s Internet networking architecture (TCP/IP model) Layer-specific s of TCP/IP model: Network/Internet: IP : TCP and UDP : Client-server: HTTP, DNS Peer-to-peer: BitTorrent, Skype, Bitcoin next time Internet security 24