Introduction to the Internet - Simon Fraser University › CourseCentral › 165 › sbrown1 ›...
Transcript of Introduction to the Internet - Simon Fraser University › CourseCentral › 165 › sbrown1 ›...
![Page 1: Introduction to the Internet - Simon Fraser University › CourseCentral › 165 › sbrown1 › ...Introduction to the Internet September 7, 2005 Lecture 1 1969 to Present First 4](https://reader033.fdocuments.in/reader033/viewer/2022053010/5f0d4f437e708231d439b5f0/html5/thumbnails/1.jpg)
Introduction to the Internet
September 7, 2005Lecture 1
![Page 2: Introduction to the Internet - Simon Fraser University › CourseCentral › 165 › sbrown1 › ...Introduction to the Internet September 7, 2005 Lecture 1 1969 to Present First 4](https://reader033.fdocuments.in/reader033/viewer/2022053010/5f0d4f437e708231d439b5f0/html5/thumbnails/2.jpg)
1969 to Present
First 4 Nodes in the “internet” “Map” of the internet, Young Hyun , from CAIDA
![Page 3: Introduction to the Internet - Simon Fraser University › CourseCentral › 165 › sbrown1 › ...Introduction to the Internet September 7, 2005 Lecture 1 1969 to Present First 4](https://reader033.fdocuments.in/reader033/viewer/2022053010/5f0d4f437e708231d439b5f0/html5/thumbnails/3.jpg)
ARPANET• J. Licklider of MIT first head of ARPA, Advanced
Research Projects Agency– Proposed idea of “galactic network” of computers
• First 4 nodes in 1969 connecting SRI, UCSB, UCLA, and Utah
• ARPANET was the first “internet”– Connected research institutions and military bases
• Many other networks came along: EUNet, NSFNet, UseNet, etc.
![Page 4: Introduction to the Internet - Simon Fraser University › CourseCentral › 165 › sbrown1 › ...Introduction to the Internet September 7, 2005 Lecture 1 1969 to Present First 4](https://reader033.fdocuments.in/reader033/viewer/2022053010/5f0d4f437e708231d439b5f0/html5/thumbnails/4.jpg)
Standardization with TCP/IP
• TCP/IP developed in 1974 – Stanford and ARPA
• TCP/IP : Transmission Control Protocol/ Internet Protocol
• All these computers and networks need a way to “talk” to each other
• ARPANET adopted (finally) TCP/IP in 1982
![Page 5: Introduction to the Internet - Simon Fraser University › CourseCentral › 165 › sbrown1 › ...Introduction to the Internet September 7, 2005 Lecture 1 1969 to Present First 4](https://reader033.fdocuments.in/reader033/viewer/2022053010/5f0d4f437e708231d439b5f0/html5/thumbnails/5.jpg)
ARPANET 1980
![Page 6: Introduction to the Internet - Simon Fraser University › CourseCentral › 165 › sbrown1 › ...Introduction to the Internet September 7, 2005 Lecture 1 1969 to Present First 4](https://reader033.fdocuments.in/reader033/viewer/2022053010/5f0d4f437e708231d439b5f0/html5/thumbnails/6.jpg)
Internet Grows
• NSFNet provided backbone in US– Only for research and education
• By 1986, 5000 hosts online• By 1987, 28,000 hosts online• Excluding commercial uses from NSFNet
led to creation of private internet service providers
![Page 7: Introduction to the Internet - Simon Fraser University › CourseCentral › 165 › sbrown1 › ...Introduction to the Internet September 7, 2005 Lecture 1 1969 to Present First 4](https://reader033.fdocuments.in/reader033/viewer/2022053010/5f0d4f437e708231d439b5f0/html5/thumbnails/7.jpg)
ARPANET Dies
• 1989 300,000 hosts online
• 1990 ARPANET transfers to NSFNet• 1991 NSFNet allows commercial users• 1991 WWW is released
![Page 8: Introduction to the Internet - Simon Fraser University › CourseCentral › 165 › sbrown1 › ...Introduction to the Internet September 7, 2005 Lecture 1 1969 to Present First 4](https://reader033.fdocuments.in/reader033/viewer/2022053010/5f0d4f437e708231d439b5f0/html5/thumbnails/8.jpg)
How Does the Internet Work?
Unit 1
![Page 9: Introduction to the Internet - Simon Fraser University › CourseCentral › 165 › sbrown1 › ...Introduction to the Internet September 7, 2005 Lecture 1 1969 to Present First 4](https://reader033.fdocuments.in/reader033/viewer/2022053010/5f0d4f437e708231d439b5f0/html5/thumbnails/9.jpg)
What is the Internet?• HUGE network of connected computers• Each computer must be connected to at
least one other
![Page 10: Introduction to the Internet - Simon Fraser University › CourseCentral › 165 › sbrown1 › ...Introduction to the Internet September 7, 2005 Lecture 1 1969 to Present First 4](https://reader033.fdocuments.in/reader033/viewer/2022053010/5f0d4f437e708231d439b5f0/html5/thumbnails/10.jpg)
Internet Organization
• Personal computers generally connected to one computer, its Gateway
• Gateway probably on a high speed connection to a Backbone
• Backbones form the core of the Internet infrastructure– Usually optical fiber
![Page 11: Introduction to the Internet - Simon Fraser University › CourseCentral › 165 › sbrown1 › ...Introduction to the Internet September 7, 2005 Lecture 1 1969 to Present First 4](https://reader033.fdocuments.in/reader033/viewer/2022053010/5f0d4f437e708231d439b5f0/html5/thumbnails/11.jpg)
Worldcom US Backbone
![Page 12: Introduction to the Internet - Simon Fraser University › CourseCentral › 165 › sbrown1 › ...Introduction to the Internet September 7, 2005 Lecture 1 1969 to Present First 4](https://reader033.fdocuments.in/reader033/viewer/2022053010/5f0d4f437e708231d439b5f0/html5/thumbnails/12.jpg)
How does it get from there to here?
Home PC
ISP Gateway
Other computers at SFU or in Vancouver
SFU Web Server
![Page 13: Introduction to the Internet - Simon Fraser University › CourseCentral › 165 › sbrown1 › ...Introduction to the Internet September 7, 2005 Lecture 1 1969 to Present First 4](https://reader033.fdocuments.in/reader033/viewer/2022053010/5f0d4f437e708231d439b5f0/html5/thumbnails/13.jpg)
Computers in the Internet
• Personal Computers – using the Internet– Home users– Computers in labs
• Routers – move Internet traffic– Send data from one location to another
• Servers – serve the Internet– Web servers– Email servers
![Page 14: Introduction to the Internet - Simon Fraser University › CourseCentral › 165 › sbrown1 › ...Introduction to the Internet September 7, 2005 Lecture 1 1969 to Present First 4](https://reader033.fdocuments.in/reader033/viewer/2022053010/5f0d4f437e708231d439b5f0/html5/thumbnails/14.jpg)
Routing Internet Traffic
• Routers determine where information goes• Information broken into small chunks
called packets• Packets are sent by the fastest route• Can move information around broken
sections of the Internet• Not all packets are sent by the same route
![Page 15: Introduction to the Internet - Simon Fraser University › CourseCentral › 165 › sbrown1 › ...Introduction to the Internet September 7, 2005 Lecture 1 1969 to Present First 4](https://reader033.fdocuments.in/reader033/viewer/2022053010/5f0d4f437e708231d439b5f0/html5/thumbnails/15.jpg)
Servers
• Servers run special software:– Apache
• Usually bigger and faster than home computers
• Typically provide a service:– Email– Web servers– File storage
![Page 16: Introduction to the Internet - Simon Fraser University › CourseCentral › 165 › sbrown1 › ...Introduction to the Internet September 7, 2005 Lecture 1 1969 to Present First 4](https://reader033.fdocuments.in/reader033/viewer/2022053010/5f0d4f437e708231d439b5f0/html5/thumbnails/16.jpg)
Protocols• Protocols dictate how a client (like a home PC)
and a server talk to each other and transfer information
• TCP/IP is an example of a protocol• Web pages are transferred using HTTP
– HyperText Transfer Protocol• Other protocols involve those for:
– Email– Instant Messaging– FTP –File Transfer Protocol– Gaming
![Page 17: Introduction to the Internet - Simon Fraser University › CourseCentral › 165 › sbrown1 › ...Introduction to the Internet September 7, 2005 Lecture 1 1969 to Present First 4](https://reader033.fdocuments.in/reader033/viewer/2022053010/5f0d4f437e708231d439b5f0/html5/thumbnails/17.jpg)
How Web Pages Travel
• URL – Uniform Resource Locator– Internet “address”
• http://www.sfu.ca• http://www.cs.sfu.ca/CC/165/sbrown1/• https://my.sfu.ca• ftp://ftp.mozilla.org/pub/mozilla/releases
![Page 18: Introduction to the Internet - Simon Fraser University › CourseCentral › 165 › sbrown1 › ...Introduction to the Internet September 7, 2005 Lecture 1 1969 to Present First 4](https://reader033.fdocuments.in/reader033/viewer/2022053010/5f0d4f437e708231d439b5f0/html5/thumbnails/18.jpg)
Which Protocol?• http at the beginning of a URL denotes using the
HTTP protocol– http://www.sfu.ca
• https denotes using a secure HTTP protocol– Information is encrypted so that sensitive information
is protected, like passwords– https://my.sfu.ca
• ftp is usually for downloading files from a server– Uses the ftp protocol– ftp://ftp.mozilla.org/pub/mozilla/releases
• The protocol is indicated by its scheme
![Page 19: Introduction to the Internet - Simon Fraser University › CourseCentral › 165 › sbrown1 › ...Introduction to the Internet September 7, 2005 Lecture 1 1969 to Present First 4](https://reader033.fdocuments.in/reader033/viewer/2022053010/5f0d4f437e708231d439b5f0/html5/thumbnails/19.jpg)
Parts of a URL• http://www.cs.sfu.ca/CC/165/sbrown1/index.html
• Scheme: http• Server: www.cs.sfu.ca• Path: CC/165/sbrown1/index.html
![Page 20: Introduction to the Internet - Simon Fraser University › CourseCentral › 165 › sbrown1 › ...Introduction to the Internet September 7, 2005 Lecture 1 1969 to Present First 4](https://reader033.fdocuments.in/reader033/viewer/2022053010/5f0d4f437e708231d439b5f0/html5/thumbnails/20.jpg)
MIME Types• Pretty much any type of data can be transmitted
via HTTP– Web pages– Graphics : GIF, JPG, PNG, etc.– Video files – Audio files
• Web browsers handle all these files– If it can open it (like a webpage) it will– Other files, like MP3s or PDFs it will tell the
appropriate program to handle these
![Page 21: Introduction to the Internet - Simon Fraser University › CourseCentral › 165 › sbrown1 › ...Introduction to the Internet September 7, 2005 Lecture 1 1969 to Present First 4](https://reader033.fdocuments.in/reader033/viewer/2022053010/5f0d4f437e708231d439b5f0/html5/thumbnails/21.jpg)
File Extensions Won’t Work
• If you are used to using Windows or Linux, you may be used to seeing file extensions
• File extensions denote the type of file it is– .doc indicates MS Word file– .txt indicates a text file
• Not all systems use file extensions• The browser may not know the file name
when the data is sent
![Page 22: Introduction to the Internet - Simon Fraser University › CourseCentral › 165 › sbrown1 › ...Introduction to the Internet September 7, 2005 Lecture 1 1969 to Present First 4](https://reader033.fdocuments.in/reader033/viewer/2022053010/5f0d4f437e708231d439b5f0/html5/thumbnails/22.jpg)
Use MIME types
• MIME: Multipurpose Internet Mail Extensions– Serves same purpose as a file extension
• Made up of 2 parts:– Type: general type of information, such as
video, image, text– Subtype: Specific kind of information
• GIF: type of image file– image/gif
![Page 23: Introduction to the Internet - Simon Fraser University › CourseCentral › 165 › sbrown1 › ...Introduction to the Internet September 7, 2005 Lecture 1 1969 to Present First 4](https://reader033.fdocuments.in/reader033/viewer/2022053010/5f0d4f437e708231d439b5f0/html5/thumbnails/23.jpg)
Why Internet Explorer is Bad
• Doesn’t handle MIME types correctly• Part of the reason it’s not suggested for
this course
![Page 24: Introduction to the Internet - Simon Fraser University › CourseCentral › 165 › sbrown1 › ...Introduction to the Internet September 7, 2005 Lecture 1 1969 to Present First 4](https://reader033.fdocuments.in/reader033/viewer/2022053010/5f0d4f437e708231d439b5f0/html5/thumbnails/24.jpg)
How MIME Type is Determined
• Usually based on the file extension• Some servers are different• Just because the MIME is based on the
file extension, remember it is not the same thing!
![Page 25: Introduction to the Internet - Simon Fraser University › CourseCentral › 165 › sbrown1 › ...Introduction to the Internet September 7, 2005 Lecture 1 1969 to Present First 4](https://reader033.fdocuments.in/reader033/viewer/2022053010/5f0d4f437e708231d439b5f0/html5/thumbnails/25.jpg)
How is a Web Page Fetched?Suppose we want to see
http://www.sfu.ca/about/index.html
And it has a graphic on the page is stored athttp://www.sfu.ca/hp/images/sfu.jpg
![Page 26: Introduction to the Internet - Simon Fraser University › CourseCentral › 165 › sbrown1 › ...Introduction to the Internet September 7, 2005 Lecture 1 1969 to Present First 4](https://reader033.fdocuments.in/reader033/viewer/2022053010/5f0d4f437e708231d439b5f0/html5/thumbnails/26.jpg)
Fetching a Web Page1. Browser contacts www.sfu.ca and asks for the
file with path /about/index.html2. Server responds with an “OK”, indicates that the
MIME type is text/html, and sends the contents of the page
3. Browser still needs graphic, so contacts www.sfu.ca again and asks for /hp/images/sfu.jpg
4.Server again responds with an “OK”, gives the MIME type image/jpeg, then sends the image file
![Page 27: Introduction to the Internet - Simon Fraser University › CourseCentral › 165 › sbrown1 › ...Introduction to the Internet September 7, 2005 Lecture 1 1969 to Present First 4](https://reader033.fdocuments.in/reader033/viewer/2022053010/5f0d4f437e708231d439b5f0/html5/thumbnails/27.jpg)
Questions?