Internet Concepts. What is a Network?



Similar documents
Lecture 28: Internet Protocols

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

Ethernet. Ethernet. Network Devices

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

Objectives of Lecture. Network Architecture. Protocols. Contents

Network Models and Protocols

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

The OSI and TCP/IP Models. Lesson 2

A host-based firewall can be used in addition to a network-based firewall to provide multiple layers of protection.

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

The TCP/IP Reference Model

Protocols. Packets. What's in an IP packet

PART OF THE PICTURE: The TCP/IP Communications Architecture

Overview of TCP/IP. TCP/IP and Internet

CITS1231 Web Technologies. Client, Server, the Internet, and the Web

CPS221 Lecture: Layered Network Architecture

Protocols and Architecture. Protocol Architecture.

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

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

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

Operating System Concepts. Operating System 資 訊 工 程 學 系 袁 賢 銘 老 師

Transport Layer Protocols

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

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

Communications and Computer Networks

How do I get to

LESSON Networking Fundamentals. Understand TCP/IP

Protocol Data Units and Encapsulation

Data Communication Networks Introduction

Computer Networks Vs. Distributed Systems

OSI Reference Model: An Overview

Mathatma Gandhi University

Overview of Computer Networks

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

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

Network Programming TDC 561

Data Communication Networks and Converged Networks

Chapter 5. Data Communication And Internet Technology

Computer Networks & Security 2014/2015

Computer Networks CS321

User Datagram Protocol - Wikipedia, the free encyclopedia

Computer Networks and the Internet

Virtual Server and DDNS. Virtual Server and DDNS. For BIPAC 741/743GE

CSE 3461 / 5461: Computer Networking & Internet Technologies

Basic Operation & Management of TCP/IP Networks

Chapter 14: Distributed Operating Systems

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

Module 1. Introduction. Version 2 CSE IIT, Kharagpur

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

Introduction to TCP/IP

CISC 1600 Introduction to Multi-media Computing

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

EXPLORER. TFT Filter CONFIGURATION

ICS 153 Introduction to Computer Networks. Inst: Chris Davison

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

UPPER LAYER SWITCHING

Introduction to computer networks and Cloud Computing

Chapter 16: Distributed Operating Systems

EE4367 Telecom. Switching & Transmission. Prof. Murat Torlak

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

Protocol Architecture

Data Communication and Computer Network

BASIC ANALYSIS OF TCP/IP NETWORKS

Computer Networks - Xarxes de Computadors

Networking Test 4 Study Guide

Network Simulation Traffic, Paths and Impairment

How To Understand The Internet Of S (Netware)

Networking Basics and Network Security

Chapter 8: Computer Networking. AIMS The aim of this chapter is to give a brief introduction to computer networking.

1 Introduction to mobile telecommunications

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

THE OSI REFERENCE MODEL LES M C LELLAN DEAN WHITTAKER SANDY WORKMAN

The OSI Model: Understanding the Seven Layers of Computer Networks

Chapter 1: Introduction

Architecture and Performance of the Internet

Transport and Network Layer

Module 15: Network Structures

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

Module 1: Reviewing the Suite of TCP/IP Protocols

Layered Architectures and Applications

TCP/IP, Addressing and Services

21.4 Network Address Translation (NAT) NAT concept

Using MIS 3e Chapter 6A Appendix

Computer Networks III

LMS. OSI Layers and the Learning Management System. Over view

Computer Network. Interconnected collection of autonomous computers that are able to exchange information

Top-Down Network Design

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

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

Agenda. Distributed System Structures. Why Distributed Systems? Motivation

Protocol Hierarchies/Network Software

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

Limi Kalita / (IJCSIT) International Journal of Computer Science and Information Technologies, Vol. 5 (3), 2014, Socket Programming

Overview - Using ADAMS With a Firewall

Transport Layer. Chapter 3.4. Think about

Chapter 9. IP Secure

TCP/IP works on 3 types of services (cont.): TCP/IP protocols are divided into three categories:

What is TCP/IP. Introduction to TCP/IP &216</ &216</ z Transmission Control Protocol/Internet Protocol

Transcription:

Internet Concepts Network, Protocol Client/server model TCP/IP Internet Addressing Development of the Global Internet Autumn 2004 Trinity College, Dublin 1 What is a Network? A group of two or more devices, that are able to communicate with one another: The telephone network: interconnection of telephones and switches Computer networks: interconnection of computers Between two and millions of devices interconnected Autumn 2004 Trinity College, Dublin 2 Page 1 1

Computer Networks The computers in a network are connected via hardware and software Hardware Physically connects the computers together telephone lines, fiber-optic cables, routers and gateways, and the computers themselves Software Enables communication and exchange of information, by following a set of rules, called protocols Autumn 2004 Trinity College, Dublin 3 Computer Networks Interoperability Different types of computers, using different operating systems, can be connected, communicate with each other, and share information Computers must agree to follow the same network protocols Autumn 2004 Trinity College, Dublin 4 Page 2 2

Why use Computer Networks? Resource sharing Share data, programs, and equipment Across geographic boundaries Communications Cooperation between dispersed groups Improved Reliability Replication of files and resources allowing operation to continue despite hardware failures Autumn 2004 Trinity College, Dublin 5 Why use Computer Networks? Cost efficiency Small computers have a better price/performance ratio than large ones Scalability Add more computers to the network as required Autumn 2004 Trinity College, Dublin 6 Page 3 3

Typical Computer Network Autumn 2004 Trinity College, Dublin 7 Protocols A protocol is a standard set of rules that determines how computers communicate with each other across networks A protocol describes: the format that a message must take the way in which computers must exchange a message Autumn 2004 Trinity College, Dublin 8 Page 4 4

Protocols Usually defined for a particular activity Sending messages across networks Exchanging e-mail Establishing remote connections Transferring files etc, etc Enable different types of computers, running different operating systems to communicate Autumn 2004 Trinity College, Dublin 9 Mail Example E-mail protocols ensure that the e-mail message is correctly formatted and transmitted from originating computer to the destination computer Compare with post office mail DESTINATION MAILBOX The rules (protocols) of the postal system ensure that a properly addressed letter (format) will reach the destination through a delivery route (transmission). POST OFFICE POST OFFICE AIRPLANE Autumn 2004 Trinity College, Dublin 10 Page 5 5

Internet Protocols Different protocols for different network services; some of the protocols used on the Internet: Simple Mail Transfer Protocol (SMTP) to send and receive electronic mail File Transfer Protocol (FTP) to transfer files between computers Hypertext Transfer Protocol (HTTP) to transmit information on the World Wide Web Network News Transfer Protocol (NNTP) to transmit discussion forum messages Autumn 2004 Trinity College, Dublin 11 Layers and Stacks To reduce their design complexity, most network protocols are organized as a series of layers or levels Each layer transparently provides services to the layer above it A group of such levels is called a protocol stack or protocol suite Autumn 2004 Trinity College, Dublin 12 Page 6 6

Layers and Stacks Many different protocol stacks: OSI Open Systems Interconnection TCP/IP Internet Protocols SS#7 Signalling System #7, used between telephone exchanges SNA System Network Architecture, IBM DECnet Digital Network Architecture The number of layers, and the name, contents, and function of each layer differ for each protocol stack Autumn 2004 Trinity College, Dublin 13 Layering Analogy Japanese Philosopher Irish-speaking Philosopher Japanese/English Translator Irish/English Translator Post-office Post-office Actual Transfer of Information Logical Transfer of Information Autumn 2004 Trinity College, Dublin 14 Page 7 7

Client/Server Computing A model for computer networking Efficient way to provide information and services to many users A network connection is only made when information needs to be accessed Provides network efficiency Decouples communicating parties Autumn 2004 Trinity College, Dublin 15 Client/Server Computing Client: Requests services or information from a server computer Server: Responds by sending the requested information back to the client computer Internet applications have used client/server model for decades FTP, E-mail, Web Autumn 2004 Trinity College, Dublin 16 Page 8 8

Client/Server Transaction CLIENT SERVER Client Program REQUEST RESPONSE Server Program Send Request Read Results Process Request Send Back Results Autumn 2004 Trinity College, Dublin 17 The Internet A network of networks A large number of networks interconnected physically Capable of communicating and sharing data Able to act together as a single network (seamless) Based on TCP/IP Transmission Control Protocol/Internet Protocol The Internet is the network of networks which either use the TCP/IP protocol or can interact with TCP/IP networks via gateways (interpreters) Global Autumn 2004 Trinity College, Dublin 18 Page 9 9

The Internet Protocol Stack Autumn 2004 Trinity College, Dublin 19 The Internet Protocol Architecture Telnet FTP SMTP HTTP NFS TFTP TCP UDP IP ARP Underlying Network e.g. Ethernet, Token Ring, Token Bus etc. Autumn 2004 Trinity College, Dublin 20 Page 10 10

TCP/IP TCP/IP is a family of protocols The TCP/IP protocol suite (also includes UDP/IP) Many application protocols assume there is a way to communicate reliably between hosts TCP/IP provides this service All TCP/IP protocol suite specifications are in the public domain No license fees Used extensively to create open system networking environments Autumn 2004 Trinity College, Dublin 21 Internet Protocol (IP) IP is a Datagram service Provides a unreliable, connectionless datagram service Datagrams == packets IP packets contain the source and destination addresses IP Spoofing attack IP routes individual IP datagrams Forwarded from router to router IP is never used directly by applications Either UDP/IP or TCP/IP is used Autumn 2004 Trinity College, Dublin 22 Page 11 11

Transmission Control Protocol (TCP) TCP provides reliable connection-oriented end-toend communication TCP is a virtual circuit protocol Calls are setup, data exchanged and calls cleared Programs engage in stream based communication The underlying TCP creates variable length packets from this These are transmitted with sequence numbers, usually in a single IP datagram Autumn 2004 Trinity College, Dublin 23 Transmission Control Protocol (TCP) Stream-based communication being broken up and reassembled as messages (datagrams). TCP TCP IP IP IP IP IP Autumn 2004 Trinity College, Dublin 24 Page 12 12

TCP/IP Transmission Control Protocol (TCP) Breaks the higher level stream into IP datagrams Verifies that all packets arrive at their destination Resends anything that gets lost TCP packets might take different routes Reassembles the data in correct order at receiver Autumn 2004 Trinity College, Dublin 25 TCP/IP STEP 2 STEP 1 1 2 3 4 5 6 Data that makes up entire e-mail mesasage ROUTER 1 2 ROUTER 5 ROUTER 4 5 3 6 1 4 1 ROUTER 2 6 4 3 ROUTER STEP 3 1 2 3 4 5 6 Data that makes up entire e-mail mesasage Message being is sent sent Message is received Autumn 2004 Trinity College, Dublin 26 Page 13 13

User Datagram Protocol (UDP) Unreliable, meaning no guarantees that datagrams: will arrive at their destination will arrive in the order in which they were sent will arrive intact Sits on top of IP but adds very little functionality Essentially a front-end to IP Autumn 2004 Trinity College, Dublin 27 User Datagram Protocol (UDP) Less overhead than TCP UDP may perform better than TCP when the network is not congested In the case of congestion, UDP traffic anomalies become visible to application Hence, using UDP may require increased application functionality, e.g., to implement: Data acknowledgements (positive, negative) Data integrity checks Datagram reordering Autumn 2004 Trinity College, Dublin 28 Page 14 14

User Datagram Protocol (UDP) Suitable for some types of services, in particular those with real-time constraints Media streaming Some types of networked games Autumn 2004 Trinity College, Dublin 29 TCP and UDP Ports TCP and UDP use numeric port numbers to identify communication endpoints within a host. On the server side, port numbers are used to denote which service within the host machine you wish to talk to. Each service (e.g., mail, web, dns, ) runs on a separate port. Only one server process can listen on a given port at the same time. Multiple traffic flows can be received on the same server port. Autumn 2004 Trinity College, Dublin 30 Page 15 15

TCP and UDP Ports On the client, port numbers are allocated automatically. Internet Assigned Numbers Authority (IANA) defines ports for common TCP applications: daytime 13 (RFC867) ftp 21 ssh 22 telnet 23 smtp 25 Autumn 2004 Trinity College, Dublin 31 TCP and UDP ports More common port numbers: http 80 http over ssl 443 Other port numbers are available for private use. Both communicating machines must agree on what port numbers are used for what. http://www.iana.org/assignments/port-numbers Autumn 2004 Trinity College, Dublin 32 Page 16 16

Internet Addressing A way to locate computers, people, and resources on the Internet Hosts 32 bit IP address e.g., 134.226.32.55 Domain name e.g., wilde.cs.tcd.ie Domain Name System (DNS) servers map domain names to IP addresses wilde.cs.tcd.ie 134.226.32.55 Autumn 2004 Trinity College, Dublin 33 Internet Addressing People E-mail addresses: president@whitehouse.gov pope@vatican.va provost@tcd.ie X.509 certificates Resources URL s identify specific sites and files available on the Web http://www.random.org/mads/resume.html Autumn 2004 Trinity College, Dublin 34 Page 17 17

Internet Domain Names A domain name identifies Internet hosts Top-level domain describes organization COM -Commercial sites EDU -U.S. Colleges NET -Network providers ORG -Non-profit, miscellaneous groups GOV -U.S. government MIL -U.S. military INT -International organisations Autumn 2004 Trinity College, Dublin 35 Internet Domain Names Country Codes.IE - Ireland.UK,.FR,.NO,.SE,.NL,.DE,.BE,.JP, etc. Structure for a host domain name hostname.subdomain.second-level_domain.top-level_domain eg. wilde.cs.tcd.ie New top-level domains.info,.biz,.name, etc. Autumn 2004 Trinity College, Dublin 36 Page 18 18

Internet Standards Bodies Internet Engineering Task Force (IETF) Request for Comments (RFC s) Proposed Standard, Draft Standard, Internet RFC Standard Internet Society Legal arm of the IETF World Wide Web Consortium (W3C) Autumn 2004 Trinity College, Dublin 37 The Size of the Internet Autumn 2004 Trinity College, Dublin 38 Page 19 19

Internet Significance September 2004 survey by Online Publishers Association (OPA): The Internet has edged out TV as the medium of choice for 18 to 54-year-olds. Some 45 percent of the 1,235 survey participants indicate the Internet is their top choice for media, followed by TV at 35 percent. Trailing much further behind are books, radio, newspapers, videos/dvds, video/computer games, and magazines. Source: ClickZ Stats, 21 September 2004 Autumn 2004 Trinity College, Dublin 39 The Internet Population ~801.4M people online Source: www.glreach.com ~6,393M in the world Source: US Census Bureau 12.5% of the world s population online Autumn 2004 Trinity College, Dublin 40 Page 20 20

The Internet Population ~561M people online Source: www.glreach.com ~6,200M in the world Source: US Census Bureau 9% of the world s population online Autumn 2004 Trinity College, Dublin 41 The Internet Population Source: www.glreach.com 369 million users (6% of world population) 505 million users (8% of world population) Autumn 2004 Trinity College, Dublin 42 Page 21 21