ENG224 INFORMATION TECHNOLOGY Part I 3. The Internet. 3. The Internet

Similar documents
Introduction to Internet, Web, and TCP/IP Protocols SEEM

MR AZIZUL ZAMRI BIN MUHAMED AMIN WEB : Your Logo

WEB TECHNOLOGIES CHAPTER 1

The Internet. and the World Wide Web

Name: Class: Date: Multiple Choice Identify the letter of the choice that best completes the statement or answers the question.

Outline. Internet and World Wide Web. History of the Internet. What is the Internet? How Does Data Travel Through the Internet?

The Internet Advanced Research Projects Agency Network (ARPANET) How the Internet Works Transport Control Protocol (TCP)

0 TCP/IP overview. 0.1 The Internet

INFS 321 Information Sources

Introduction to Networking

Introduction to the Internet. September 7, 2005 Lecture 1

The Internet and the World Wide Web

Basic Internet. Basic Internet

The internet What is it??

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

Typical Network Uses

6 Computer Networks 6.1. Foundations of Computer Science Cengage Learning

Networking and the Web Reminder: Next Quiz on 4/15

This document is downloaded from DR-NTU, Nanyang Technological University Library, Singapore.

How does the Internet Work? The Basics: Getting a Web Page. The Basics: Getting a Web Page. Client-Server model. The Internet: Basics

The Internet and How It Works 12 11/21/2016. Define what a computer network is, and how networks are conceptually structured.

The Internet and the Web. recall: the Internet is a vast, international network of computers

= a hypertext system which is accessible via internet

CS4/MSc Computer Networking. Lecture 3: The Application Layer

8 9 Before: Computers are categorized into three main categories from least to most powerful: microcomputers minicomputers mainframe computers Today:

Session 2. Background. Lecture Objectives

A Balanced Introduction to Computer Science, 3/E David Reed, Creighton University 2011 Pearson Prentice Hall ISBN

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

The Basics of Networking

2. Introduction to Internet Applications

Chapter 3. The Basics of Networking

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

Application Level Protocols

CHAPTER2. 1. The Internet was launched in 1969 and was originally called

o MAC (6/18 or 33%) o WIN (17/18 or 94%) o Unix (0/18 or 0%)

INTRODUCTION TO THE INTERNET. Presented by the Benbrook Public Library

Internet. Class-In charge: S.Sasirekha

Chapter 2A. The Internet s History

5/17/2009. Networked Computers Change Our Lives. People Are More Interconnected. Nowhere Is Remote. English Is Becoming a Universal Language

Chapter 11: Wide-Area Networks and the Internet

DOCUMENTS ON WEB. Learning Units. V. Rajaraman The internet and the world wide web Documents and the world wide web MODULE 11

Computer Networks. Computer Networks. Telecommunication Links. CMPUT101 Introduction to Computing - Spring Chapter 12: Computer Networks 1

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

Networking. INFO/CSE 100, Spring 2006 Fluency in Information Technology.

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

PIC 40A. Lecture 1: The Internet. Copyright 2011 Jukka Virtanen UCLA 1 03/31/14

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

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

Internet Routing. Review of Networking Principles

An internet or interconnected network is formed when two or more networks are connected.

CPET 499/ITC 250 Web Systems. Topics

Review for Internet Introduction

Introduction to Computer Networking II. Abdusy Syarif Informatics Department Faculty of Computer Science Universitas Mercu Buana

Networking and Internetworking 1

Chapter Topics. The History of the Internet. Chapter 7: Computer Networks, the Internet, and the World Wide Web

Network+ Guide to Networks 6 th Edition. Chapter 4 Introduction to TCP/IP Protocols

CPEG514 Advanced Computer Networks. Atef Abu Salim University of Nizwa Spring 2013/2014

and the World Wide Web

From administrivia to what really matters

Scale Yourself. Lesson 3: Introduction to Internet Technology. Computer Technology 3/13/2015

INTERNET PROGRAMMING INTRODUCTION

Chapter 10: Web Application Development. Informatics Practices Class XII. By- Rajesh Kumar Mishra. KV No.1, AFS, Suratgarh

Computer Networking. Chapter #1. Dr. Abdulrhaman Alameer

Jeff Offutt SWE 642 Software Engineering for the World Wide Web

03 The Internet Model and TCP/IP

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

CS 43: Computer Networks. Layering & HTTP September 7, 2018

2. A collection of interconnected networks is called an internetwork. 3. Each machine is connected to a central hub with a point-to-point connection.

ZENworks for Desktops Preboot Services

The Internet and the World Wide Web. CIT 230 Web Design

Lecture-4. TCP/IP-Overview:

Motivation For Networking. Information access Interaction among cooperative application programs Resource sharing

Overview of the Internet

A DNS Tutorial

Internet. Hiroshi Toyoizumi

Introduction to Computing

Chapter 2: Technology Infrastructure: The Internet and the World Wide Web

Objectives. Introduction to HTML. Objectives. Objectives

Chapter 4: Networking and the Internet. Network Classifications. Network topologies. Network topologies (continued) Connecting Networks.

Electronic Mail. Three Components: SMTP SMTP. SMTP mail server. 1. User Agents. 2. Mail Servers. 3. SMTP protocol

0 0& Basic Background. Now let s get into how things really work!

The Internet, Intranets, and Extranets Chapter 7

Chapter 3 The Basics of Networking

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

Client Server Concepts, DNS, DHCP

Internet. Hiroshi Toyoizumi

Session 2: HTML and CSS (And Computing Tradeoffs, Networking)

Full file at Chapter 2: Technology Infrastructure: The Internet and the World Wide Web

Technology in Action. Chapter 13 Behind the Scenes: The Internet: How It Works Prentice-Hall, Inc.

Downloaded from

Data Communication & Computer Networks MCQ S

Internet Basics. Basic Terms and Concepts. Connecting to the Internet

Computing. Week 9 LBSC 671 Creating Information Infrastructures

Internet Architecture & Performance. What s the Internet: nuts and bolts view

Network and Mobile Compu4ng in the 20 th Century and Beyond. COMP 1400 Memorial University Winter 2015

Hands-On Ethical Hacking and Network Defense

Computers: Information Technology in Perspective, 11e

How the Web Works. Chapter 1. Modified by Marissa Schmidt Pearson

Discovering Computers Your Interactive Guide to the Digital World

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

Transcription:

1

Reference Peter Norton, Introduction to Computers, McGraw Hill, 5 th Ed, 2003 2

What is the Internet? A global network that allows one computer to connect with other computers in the world What can be done on the Internet? exchange text, data files, programs, multimedia information, etc. remote control a computer (if allow) on the side of the world Internet Web 3 Strictly speaking, Web is just a kind of service in the Internet that makes use of the Hypertext Transfer Protocol (HTTP)

The Beginning 4 The seeds of Internet were planted in 1969 Advanced research Projects Agency (ARPA) of the US Department of Defense wanted to connect computers at different universities and defense contractors Result in a network called ARPANET Goal: Create a computer network of multiple paths (by means of telephone lines) Hence survive any attack (nuclear!) or disaster Allow remote users to share scarce computing resource

5 At the beginning, only 4 primary hosts Host: machine that provides computing service Grew quickly and spread widely Jump across Atlantic to Norway and England in 1973 In 1973, National Science Foundation (NSF) continued the task to support the development Established the NSFnet Link between NSFnet, ARPANET and other networks was called the Internet Both NSFnet and APRANET are for academic purposes, not allow private business functions

ARPANET was shut down in 1990 Government funding for NSFnet was discontinued in 1995 However, the Internet has attracted much attention to the business world Commercial Internet backbones were established to replace ARPANET and NSFnet They become the current Internet According to emarketer (May 2002), number of Internet users in US in 2002 is 153 millions 6

Internet: networks of networks Many connected computing devices: PCs, workstations, servers, PDA, phones, Communication links: fiber, copper, radio, satellite, router local ISP company network server workstation mobile regional ISP 7

Features of the Internet 8 Connected by many small networks in the world using TCP/IP protocol stack No specific path between any two hosts that are communicating Path is determined dynamically by Router, that relays the data from the source host to the destination host Data may need to go through many routers before they reach the destination When data from different sources need to go through a particular router, it will become busy and may delay or even lost the data Hence Internet is NOT a reliable network

On the Internet 9 What does it mean to be on the Internet? Your computer has an address so that other computers can find you Your computer speaks one particular type of language of the Internet world so that you can communicate with the others Your computer knows how to work with other hosts on the Internet, e.g., exchange files, data, programs a mechanism needs to be devised to ensure cooperation between hosts

10 A. Address Way to identify people / computers On the Internet, the term address is used loosely Can mean many different things from an email address to a URL (Uniform resource locator) More specifically, 2 types: Internet protocol (IP) address (or network address): 4-part numeric address e.g. 158.132.148.28 Domain name system (DNS) address e.g. www.polyu.edu.hk

A.1 IP Address Each IP address is 32-bit long (four bytes) The four-byte address is written out as a.b.c.d Byte 1 Byte 2 Byte 3 Byte 4 11 158 132 161 99 IP addresses are hierarchical network I.D. and host I.D Each Network I.D. on the Internet needs to be registered to the Internet Assigned Number Authority (IANA)

Class A for very large networks 1 bit 7 bits 24 bits 0 Net I.D. Host I.D. 12 Only 2 7 (127) networks can belong to this class Each network, there are 2 24 hosts or computers Very few class A networks in the world e.g. Arpanet the earliest packet switched WAN (started 40 years ago)

Class B for medium size networks 2 bits 14 bits 16 bits 1 0 Net I.D. Host I.D. 2 14 (16384) networks can belong to this class Each network, there are 2 16 (65536) hosts or computers Polyu s address belongs to this group e.g. 158.132.14.1 13 1001 1110 1000 0100 0000 1110 0000 0001 Network I.D. Host I.D.

Class C for small networks 3 bits 21 bits 8 bits 1 1 0 Net I.D. Host I.D. 2 21 networks can belong to this class Each network, there are only 2 8 (256) hosts or computers 14

Class D for multicast network 4 bits 28 bits 1 1 1 0 Group no. Packets are addressed to a multicast group Not often supported on Internet 15

Special Addresses Network ID Host ID all 1s all 1s broadcast to local network not all 1s all 1s broadcast to the specified network all 1s not all 1s broadcast the specified host on all networks all 0s all 0s this host all 0s not all 0s the specified host on this network not all 0s all 0s the specified network 16 127.x.y.z: x, y, z could be anything. Used for loopback, i.e. the packet will be received back by the host that transmits it. For debugging purpose

A.2 Domain Name 17 Every computer has a network address e.g. 158.132.161.99 To access a computer, we need to specify its network address Human beings are weak in memorizing numbers We prefer computer name or domain name e.g. hkpu10.polyu.edu.hk Need a machine on the Internet to convert name to number

Domain name hierarchy Example: hkpu10.polyu.edu.hk 18 Computer name The domain within edu.hk One of the educational institutions in H.K. The domain within hk Note: edu.hk is not the same as edu Root domain name other examples: com commercial company org general organization net major network centre gov government org. mil militrary group edu education org.

An organization needs to register its domain name e.g. PolyU has registered its name to the domain of edu.hk Once a domain name is assigned, the organization is free to assign other names belong to its domain e.g. we can have hkpu10.polyu.edu.hk smtp.polyu.edu.hk mail.polyu.edu.hk 19

Client Where is www.yahoo.com? DNS of Yahoo.com Where is www.yahoo.com? usually UDP Address of www.yahoo.com Address of www.yahoo.com Where is yahoo.com? Domain Name Server (DNS) of polyu.edu.hk Become client Address of the DNS of Yahoo.com 20 DNS of com

Nevertheless, such a complicated procedure needs not perform in most cases Client computers usually remember the answers that it got before It reduces the loading to the root DNS To further reduce loading, there can be many root DNS on the Internet e.g. there are a few com root DNS 21

B. Language of Internet How computer exchange data? Needs a set of rules and procedures to control the way data is transmitted between computers Technical term: protocol The major protocol used on the Internet: TCP/IP: transmission control protocol / internet protocol Unix machine can exchange data with a Mac machine 22

23 C. Client / Server Operations The Internet is only a general communication infrastructure Mechanism needs to be devised to ensure cooperation between hosts Traditionally, the client / server model is adopted on the Internet An application on one computer attempts to communicate with an application on another (client) An application on the other computer answers the incoming request (server) Server waits passively for contact Client initiates communication actively

Client ENG224 invoked directly by users actively initiates contact s with a server usually does not require a special hardware nor a sophisticated OS Server Special purpose, privileged computer dedicated to providing one service, but can handle multiple remote clients at the same time Waits passively for contact from remote clients Requires powerful hardware and a sophisticated OS 24

High End Server Example: Sun Fire TM 15K Architecture Highlight CPU: SUN UltraSparc III 900MHz x 72 Memory: max 0.5 TB (Tera Bytes means Mega-Mega Bytes) I/O: 72 Hot-swappable PCI slots Storage: max 144 Ultra SCSI Disk Drive (about 2.6 TB) OS: Solaris 8 Other features: Dynamic reconfiguration and hot-swappable 25 ENG224 component 18 virtual domains Cost: about HK$5million

C.1 Major applications on the Internet Web wide web (WWW) Electronic mail (Email) News for message posting Telnet for remote access of host FTP for file transfer Internet Relay Chat (IRC) for real-time group discussion 26 Server for each of the above applications can be found on the Internet They can be implemented within a computer or in different computers

C.2 World Wide Web (WWW) 27 World wide web (or the Web): Allow people to locate and view multimedia-based documents, e.g., text, graphics, animations, audios, videos, etc. through the Internet using HTTP Created in 1989 At European Particle Physics Lab in Geneva, Switzerland: as a method for incorporating footnotes, figures and cross-references into online hypertext documents using HTTP (hypertext transfer protocol) Hypertext document: encoded file that uses the HTML (hypertext markup language) Hypertext document = web page

28 ENG224 TCP/IP and HTTP TCP/IP Define the rules of how a byte of data transmitted from one computer can be correctly received by another computer Does not define anything about the meaning this byte of data HTTP Define the meaning of those received data Define the data that a client should send to a Web server to request services Define also the data that a Web server should send to the client such that the client can understand

Find server To the Client Web Server responses Client software such as Web browser, sends out a request Browser displays the page 29

30 Features of HTTP HTTP is text based All communications between server and client are done with ASCII character string Use request / respond mechanism Request is always made by client Server gives a response for every request Stateless Server tries to push the data to client as fast as possible Will not keep track with the state of the client once the material is sent (hence stateless) Important to Internet system since it is impractical to maintain a long connection between server and client due to the low reliability of Internet

Database 31 Web Server Internet HTTP/1.0 200 OK Date: Fri, 31 Dec 1999 23:59:59 GMT Content-Type: text/html Content-Length: 1354 <html> <body> <h1>happy New Millennium!</h1> (more file contents)... </body> </html> Web Client GET /path/file.html HTTP/1.0 From: someuser@jmarshall.com User-Agent: HTTPTool/1.0 [blank line here] Example

HTTP and HTML HTTP Define the meaning of the received data Define the data that a client should send to a Web server to request services Define also the data that a Web server should send to the client such that the client can understand HTML Define the content inside a Web page Define how the text, graphic, image, etc. should be placed on the Web browser 32

33 ENG224 Web browser The success of WWW largely due to the popularity of Web browser Different kind of OS (Mac, Linux, Windows, etc) has different way to display multimedia information Two solutions: Ask all OS to come up with a standard approach: Very difficult Develop an application program that every OS must install: Sound also difficult but surprisingly achieved by Netscape Web browser: A type of software (client) for navigating the WWW 1993: develop Mosaic More popular Web browsers: Netscape and Microsoft Internet Explorer Become the de facto standard of every client computer

URL Details 34 A Web browser seeks for a web page based on its URL (Uniform Resource Locator) 2 basic parts A portion specifying the method of file access A portion specifying the Internet location of the file to be accessed First portion: ending with :// Tells the type of file access http:// says that the server that is going to give the file to you following the http protocol Besides http, can be ftp://, rtsp://, or simply File:// Second portion: specify the Internet address IP or DNS address

http://www.eie.polyu.edu.hk 35

ftp://enpklun@www.eie.polyu.edu.hk Service required user name DNS address 36 A ftp server is also implemented at www.eie.polyu.edu.hk. Hence it can provide ftp service Most Web browsers can also be used to handle ftp functions The files of the user are shown on the browser Files can be uploaded to or retrieved from the server by simply click-and-pick