SlideShare una empresa de Scribd logo
1 de 33
Descargar para leer sin conexión
Chapter 3
The Basics of Networking

Friday, October 18, 13
General Communication
• Synchronous communication:
– (eg) wired telephone network
=> circuit-switched network

• Asynchronous communication:
– (eg) email; the internet
=> packet-switched network
Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Friday, October 18, 13
Internet’s Communication Properties
• point-to-point, asynchronous
communication
• fast enough to mimic synchronous
communication (e.g., VOIP)
• Multicasting is possible (chat rooms, radio,
tv)

Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Friday, October 18, 13
Internet Schematic Diagram

Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Friday, October 18, 13
Client/Server Structure
• Most Internet applications are client/server
interaction
– click a hyperlink: your computer connects to server
– page returned => connection ends
– Next connection is brand new => Stateless protocol
No memory of prior connection

Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Friday, October 18, 13
Basic Client/Server Interaction

Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Friday, October 18, 13
Many Brief Relationships
• server can handle many clients at a time
• server is busy only for as long as it takes to
perform your request
• Google:
5,134,000,000 searches/day (2012)

Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Friday, October 18, 13
Client/Server Relationships

Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Friday, October 18, 13
Internet Protocol (IP) Address
• Each computer on the Internet has a
unique IP address
– four numbers separated by dots:
128.223.223.85 => “dotted quad”
– each number is 0–255 (one byte / 8bits each)
=> “octet”

Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Friday, October 18, 13
IP Addresses

Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Friday, October 18, 13
IPv4 Address Exhaustion
– each of the four numbers is
• in the range 0–255
• requires one byte (8 bits) of memory
=> “octet”

– IP address is 4x8= 32 bits long
=> IP addresses in short supply. Why?
2^32 = 4.3 billion, a finite number
(ask Google the exact value)
Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Friday, October 18, 13
IPv6: 128 bit addresses
– IPv6 addresses will have 16, 8-bit, fields
2^128 = 10^38
– 10^28 times as many addresses as IPv4
– new switching hardware/software is required to
handle IPv6

Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Friday, October 18, 13
Domain Names
– symbolic names (human-readable)
vs. IP addresses
– based on hierarchy of domains
– domain: related group of networked
computers
– (eg) pages.uoregon.edu
Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Friday, October 18, 13
Domain Names
• Domain name hiearchy reads right-to-left
ix.cs.uoregon.edu
– top-level domain: edu
– subdomain uoregon
– next subdomain cs
– server is ix

Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Friday, October 18, 13
The .edu Domain

Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Friday, October 18, 13
DNS Servers
• Domain Name System (DNS):
translates domain names into IP address
• Every Internet host knows the IP address of its
nearest DNS name server
• How the DNS Works (youtube, 00:02:25)
http://bit.ly/ab4s50

Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Friday, October 18, 13
DNS Servers
• your computer asks a DNS name server to
translate a name to an IP address
• If the address is not stored on the DNS name
server), the server asks an authoritative name
server
• 13 root name servers keep the complete list of all
authoritative name servers
Tagged A..M here: www.root-servers.org
Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Friday, October 18, 13
DNS Root Servers
• 13 root name servers (A..M) scattered around the
world
• Plus 243 mirror sites
=> DNS is the world’s largest distributed
database

Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Friday, October 18, 13
TCP/IP
• TCP/IP Postcard Analogy
– The Internet is like sending a novel to your
publisher using postcards
– Packet Switching Flash Demo
– Packet Layer in OSI Network Model

Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Friday, October 18, 13
TCP/IP
• packets routed around failed nodes
– ensures delivery of entire message
– large scale, built-in redundancy
– crucial to reliability

• packet switching => rapid store-&-forward
design
• node receives a packet, stores it
• determines best route to destination
• sends it to next node

Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Friday, October 18, 13
TCP/IP:
The Language of the Internet
– analogy: “postcards” = IP packets
– travel different routes / arrive out of order
– can be lost
IP: stamps packet w/address & packet number
TCP: re-arranges, requests retransmission
– network can optimize packet paths, but..
– prone to chaos

Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Friday, October 18, 13
Ethernet
• Ethernet uses a physical channel
– wire, cable, or optical fiber
– media layer / physical layer

• Key point: Each packet seen by all
computers on the local network
=> store-&-forward design

Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Friday, October 18, 13
Ethernet Analogy
Party Protocol
• How an Ethernet network works:
– two people start speaking at same time
=> collision

• Collision Resolution policy
– wait random amt of time
– try again

Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Friday, October 18, 13
Ethernet Analogy
• How an Ethernet network works:
– Party Protocol
– two people start speaking at same time
=> collision

• Collision Resolution
– wait random amt of time
– try again
Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Friday, October 18, 13
Figure 3.9. Media Layer
Robert Metalfe’s original drawing of the Ethernet-computers “tap” onto the wire labeled “The Ether”

Slide 3Friday, October 18, 13
The World Wide Web (http)
• client/server protocol
• requests: URL (a.k.a. URI)
• client & server both “speak” HTTP
Jeopardy Category: Application Layer
Q: The World Wide Web
A: What is, an Internet Application?

Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Friday, October 18, 13
File Systems:
How to Organize your Folders
• Folders on the server are called Directories
• Directory Hierarchy
– folders can contain folders as well as files
=> the file system, or directory hierarchy

• Think of any hierarchy as a tree
– folders are branches
– files are the leaves
– root directory is at the top of the hierachy

Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Friday, October 18, 13
Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Friday, October 18, 13
File System Pathnames
• Files are identified by the path from the
root diretory to the file:
– (eg) /fluency/part1/chapter3/file-structure/
directory-hierarchy/figure-3-13.pdf

• Note: do not use spaces or special
characters in a Unix pathname

Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Friday, October 18, 13
Pathnames & URIs
• Part of a web page file’s pathname is used
in the URI:
URL: pages.uoregon.edu/susanq/110/
Unix pathname on server:
/home7/susanq/public_html/110/
URL: pages.uoregon.edu/susanq/110/p2/index.html
Unix pathname on server:
/home7/susanq/public_html/110/p2/index.html
Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Friday, October 18, 13
Web Directories:
The Default Document
• When a URL ends in a slash:
=> browser automatically looks in that
folder for a file called index.html or
default.html
=> default document
=> supresses directory listing in
browser
Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Friday, October 18, 13
Organize your Folders
• Why have a hierarchy?
– organize your thinking & work
– directories/folders cost nothing
– work on the server and your computer
=> highly recommended

Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Friday, October 18, 13
Ch. 3: Assessment
Learning Outcomes - Know the following

Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Friday, October 18, 13

Más contenido relacionado

Destacado

NCC ART104 1
NCC ART104 1NCC ART104 1
NCC ART104 1
65swiss
 
Digipack explanation
Digipack explanationDigipack explanation
Digipack explanation
jam3scoles
 
Digipack 3rd draft
Digipack 3rd draftDigipack 3rd draft
Digipack 3rd draft
jam3scoles
 
Ch. 16 Database Case Study: XML/XSLT
Ch. 16 Database Case Study: XML/XSLTCh. 16 Database Case Study: XML/XSLT
Ch. 16 Database Case Study: XML/XSLT
mh-108
 
Ne zabud' 2013 presentation
Ne zabud' 2013 presentationNe zabud' 2013 presentation
Ne zabud' 2013 presentation
Taras Yemchura
 
Mfv ren ch.4
Mfv ren ch.4Mfv ren ch.4
Mfv ren ch.4
65swiss
 

Destacado (16)

Koulumentorit
KoulumentoritKoulumentorit
Koulumentorit
 
Revago20141004 peter - reis door het hart van gods plan
Revago20141004 peter - reis door het hart van gods planRevago20141004 peter - reis door het hart van gods plan
Revago20141004 peter - reis door het hart van gods plan
 
NCC ART104 1
NCC ART104 1NCC ART104 1
NCC ART104 1
 
Sportco rehabilitation
Sportco rehabilitationSportco rehabilitation
Sportco rehabilitation
 
Pd sir
Pd sirPd sir
Pd sir
 
Revago20141004 andre - de overtreffende aeonen
Revago20141004 andre - de overtreffende aeonenRevago20141004 andre - de overtreffende aeonen
Revago20141004 andre - de overtreffende aeonen
 
Paulaharju perhefestarit
Paulaharju perhefestaritPaulaharju perhefestarit
Paulaharju perhefestarit
 
Digipack explanation
Digipack explanationDigipack explanation
Digipack explanation
 
Digipack 3rd draft
Digipack 3rd draftDigipack 3rd draft
Digipack 3rd draft
 
Ch. 16 Database Case Study: XML/XSLT
Ch. 16 Database Case Study: XML/XSLTCh. 16 Database Case Study: XML/XSLT
Ch. 16 Database Case Study: XML/XSLT
 
Ne zabud' 2013 presentation
Ne zabud' 2013 presentationNe zabud' 2013 presentation
Ne zabud' 2013 presentation
 
Scrapbook
ScrapbookScrapbook
Scrapbook
 
Mfv ren ch.4
Mfv ren ch.4Mfv ren ch.4
Mfv ren ch.4
 
Top 3 Video Styles to Use For Student Recruitment Marketing
Top 3 Video Styles to Use For Student Recruitment MarketingTop 3 Video Styles to Use For Student Recruitment Marketing
Top 3 Video Styles to Use For Student Recruitment Marketing
 
sinar x
sinar xsinar x
sinar x
 
Carolina bedoya bedoya
Carolina bedoya bedoyaCarolina bedoya bedoya
Carolina bedoya bedoya
 

Similar a Ch. 3 FIT5, CIS 110 13F

Ch. 15 FIT5, CIS 110 13F
Ch. 15 FIT5, CIS 110 13FCh. 15 FIT5, CIS 110 13F
Ch. 15 FIT5, CIS 110 13F
mh-108
 
Naming And Binding (Distributed computing)
Naming And Binding (Distributed computing)Naming And Binding (Distributed computing)
Naming And Binding (Distributed computing)
Sri Prasanna
 
ip net basic understanding slide show ppt
ip net basic understanding slide show pptip net basic understanding slide show ppt
ip net basic understanding slide show ppt
lolo749806
 

Similar a Ch. 3 FIT5, CIS 110 13F (20)

Chapter03
Chapter03Chapter03
Chapter03
 
FIT5 Ch. 5, CIS 110 13F
FIT5 Ch. 5, CIS 110 13FFIT5 Ch. 5, CIS 110 13F
FIT5 Ch. 5, CIS 110 13F
 
Ch. 15 FIT5, CIS 110 13F
Ch. 15 FIT5, CIS 110 13FCh. 15 FIT5, CIS 110 13F
Ch. 15 FIT5, CIS 110 13F
 
Application layer : DNS
Application layer : DNSApplication layer : DNS
Application layer : DNS
 
Intternetworking With TCP/IP
Intternetworking With TCP/IPIntternetworking With TCP/IP
Intternetworking With TCP/IP
 
emp-internet07.ppt
emp-internet07.pptemp-internet07.ppt
emp-internet07.ppt
 
The Internet
The Internet The Internet
The Internet
 
Arp security by_abdimuna_sep_28
Arp security by_abdimuna_sep_28Arp security by_abdimuna_sep_28
Arp security by_abdimuna_sep_28
 
Naming And Binding (Distributed computing)
Naming And Binding (Distributed computing)Naming And Binding (Distributed computing)
Naming And Binding (Distributed computing)
 
GSBA - IT Orientation Program by Prof. Amit Chandra
GSBA - IT Orientation Program by Prof. Amit ChandraGSBA - IT Orientation Program by Prof. Amit Chandra
GSBA - IT Orientation Program by Prof. Amit Chandra
 
CIW Lab with CoheisveFT: Get started in public cloud - Part 1 Cloud & Virtual...
CIW Lab with CoheisveFT: Get started in public cloud - Part 1 Cloud & Virtual...CIW Lab with CoheisveFT: Get started in public cloud - Part 1 Cloud & Virtual...
CIW Lab with CoheisveFT: Get started in public cloud - Part 1 Cloud & Virtual...
 
Presentation 3
Presentation 3Presentation 3
Presentation 3
 
Concept ofinternet web_f2010211
Concept ofinternet web_f2010211Concept ofinternet web_f2010211
Concept ofinternet web_f2010211
 
Cs ch04
Cs ch04Cs ch04
Cs ch04
 
The Internet
The InternetThe Internet
The Internet
 
PACE-IT, Security+1.4: Common Network Protocols (part 1)
PACE-IT, Security+1.4: Common Network Protocols (part 1)PACE-IT, Security+1.4: Common Network Protocols (part 1)
PACE-IT, Security+1.4: Common Network Protocols (part 1)
 
The Semantic Web #4 - RDF (1)
The Semantic Web #4 - RDF (1)The Semantic Web #4 - RDF (1)
The Semantic Web #4 - RDF (1)
 
ip-basics.ppt
ip-basics.pptip-basics.ppt
ip-basics.ppt
 
ip net basic understanding slide show ppt
ip net basic understanding slide show pptip net basic understanding slide show ppt
ip net basic understanding slide show ppt
 
InterneT
InterneTInterneT
InterneT
 

Más de mh-108 (8)

Ch. 17 FIT5, CIS 110 13F
Ch. 17 FIT5, CIS 110 13FCh. 17 FIT5, CIS 110 13F
Ch. 17 FIT5, CIS 110 13F
 
Ch. 4 FIT5, CIS 110 13F
Ch. 4 FIT5, CIS 110 13FCh. 4 FIT5, CIS 110 13F
Ch. 4 FIT5, CIS 110 13F
 
Ch. 10 FIT5, CIS 110 13F
Ch. 10 FIT5, CIS 110 13FCh. 10 FIT5, CIS 110 13F
Ch. 10 FIT5, CIS 110 13F
 
Ch. 12 FIT5, CIS 110 13F
Ch. 12 FIT5, CIS 110 13FCh. 12 FIT5, CIS 110 13F
Ch. 12 FIT5, CIS 110 13F
 
Ch. 8 FIT5, CIS 110 13F
Ch. 8 FIT5, CIS 110 13FCh. 8 FIT5, CIS 110 13F
Ch. 8 FIT5, CIS 110 13F
 
Ch. 7 FIT5, CIS 110 13F
Ch. 7 FIT5, CIS 110 13FCh. 7 FIT5, CIS 110 13F
Ch. 7 FIT5, CIS 110 13F
 
Ch. 3 HTML5, CIS 110 13F
Ch. 3 HTML5, CIS 110 13FCh. 3 HTML5, CIS 110 13F
Ch. 3 HTML5, CIS 110 13F
 
Ch. 2 HTML5, CIS 110 13F
Ch. 2 HTML5, CIS 110 13FCh. 2 HTML5, CIS 110 13F
Ch. 2 HTML5, CIS 110 13F
 

Último

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Último (20)

How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 

Ch. 3 FIT5, CIS 110 13F

  • 1. Chapter 3 The Basics of Networking Friday, October 18, 13
  • 2. General Communication • Synchronous communication: – (eg) wired telephone network => circuit-switched network • Asynchronous communication: – (eg) email; the internet => packet-switched network Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Friday, October 18, 13
  • 3. Internet’s Communication Properties • point-to-point, asynchronous communication • fast enough to mimic synchronous communication (e.g., VOIP) • Multicasting is possible (chat rooms, radio, tv) Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Friday, October 18, 13
  • 4. Internet Schematic Diagram Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Friday, October 18, 13
  • 5. Client/Server Structure • Most Internet applications are client/server interaction – click a hyperlink: your computer connects to server – page returned => connection ends – Next connection is brand new => Stateless protocol No memory of prior connection Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Friday, October 18, 13
  • 6. Basic Client/Server Interaction Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Friday, October 18, 13
  • 7. Many Brief Relationships • server can handle many clients at a time • server is busy only for as long as it takes to perform your request • Google: 5,134,000,000 searches/day (2012) Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Friday, October 18, 13
  • 8. Client/Server Relationships Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Friday, October 18, 13
  • 9. Internet Protocol (IP) Address • Each computer on the Internet has a unique IP address – four numbers separated by dots: 128.223.223.85 => “dotted quad” – each number is 0–255 (one byte / 8bits each) => “octet” Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Friday, October 18, 13
  • 10. IP Addresses Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Friday, October 18, 13
  • 11. IPv4 Address Exhaustion – each of the four numbers is • in the range 0–255 • requires one byte (8 bits) of memory => “octet” – IP address is 4x8= 32 bits long => IP addresses in short supply. Why? 2^32 = 4.3 billion, a finite number (ask Google the exact value) Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Friday, October 18, 13
  • 12. IPv6: 128 bit addresses – IPv6 addresses will have 16, 8-bit, fields 2^128 = 10^38 – 10^28 times as many addresses as IPv4 – new switching hardware/software is required to handle IPv6 Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Friday, October 18, 13
  • 13. Domain Names – symbolic names (human-readable) vs. IP addresses – based on hierarchy of domains – domain: related group of networked computers – (eg) pages.uoregon.edu Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Friday, October 18, 13
  • 14. Domain Names • Domain name hiearchy reads right-to-left ix.cs.uoregon.edu – top-level domain: edu – subdomain uoregon – next subdomain cs – server is ix Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Friday, October 18, 13
  • 15. The .edu Domain Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Friday, October 18, 13
  • 16. DNS Servers • Domain Name System (DNS): translates domain names into IP address • Every Internet host knows the IP address of its nearest DNS name server • How the DNS Works (youtube, 00:02:25) http://bit.ly/ab4s50 Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Friday, October 18, 13
  • 17. DNS Servers • your computer asks a DNS name server to translate a name to an IP address • If the address is not stored on the DNS name server), the server asks an authoritative name server • 13 root name servers keep the complete list of all authoritative name servers Tagged A..M here: www.root-servers.org Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Friday, October 18, 13
  • 18. DNS Root Servers • 13 root name servers (A..M) scattered around the world • Plus 243 mirror sites => DNS is the world’s largest distributed database Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Friday, October 18, 13
  • 19. TCP/IP • TCP/IP Postcard Analogy – The Internet is like sending a novel to your publisher using postcards – Packet Switching Flash Demo – Packet Layer in OSI Network Model Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Friday, October 18, 13
  • 20. TCP/IP • packets routed around failed nodes – ensures delivery of entire message – large scale, built-in redundancy – crucial to reliability • packet switching => rapid store-&-forward design • node receives a packet, stores it • determines best route to destination • sends it to next node Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Friday, October 18, 13
  • 21. TCP/IP: The Language of the Internet – analogy: “postcards” = IP packets – travel different routes / arrive out of order – can be lost IP: stamps packet w/address & packet number TCP: re-arranges, requests retransmission – network can optimize packet paths, but.. – prone to chaos Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Friday, October 18, 13
  • 22. Ethernet • Ethernet uses a physical channel – wire, cable, or optical fiber – media layer / physical layer • Key point: Each packet seen by all computers on the local network => store-&-forward design Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Friday, October 18, 13
  • 23. Ethernet Analogy Party Protocol • How an Ethernet network works: – two people start speaking at same time => collision • Collision Resolution policy – wait random amt of time – try again Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Friday, October 18, 13
  • 24. Ethernet Analogy • How an Ethernet network works: – Party Protocol – two people start speaking at same time => collision • Collision Resolution – wait random amt of time – try again Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Friday, October 18, 13
  • 25. Figure 3.9. Media Layer Robert Metalfe’s original drawing of the Ethernet-computers “tap” onto the wire labeled “The Ether” Slide 3Friday, October 18, 13
  • 26. The World Wide Web (http) • client/server protocol • requests: URL (a.k.a. URI) • client & server both “speak” HTTP Jeopardy Category: Application Layer Q: The World Wide Web A: What is, an Internet Application? Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Friday, October 18, 13
  • 27. File Systems: How to Organize your Folders • Folders on the server are called Directories • Directory Hierarchy – folders can contain folders as well as files => the file system, or directory hierarchy • Think of any hierarchy as a tree – folders are branches – files are the leaves – root directory is at the top of the hierachy Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Friday, October 18, 13
  • 28. Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Friday, October 18, 13
  • 29. File System Pathnames • Files are identified by the path from the root diretory to the file: – (eg) /fluency/part1/chapter3/file-structure/ directory-hierarchy/figure-3-13.pdf • Note: do not use spaces or special characters in a Unix pathname Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Friday, October 18, 13
  • 30. Pathnames & URIs • Part of a web page file’s pathname is used in the URI: URL: pages.uoregon.edu/susanq/110/ Unix pathname on server: /home7/susanq/public_html/110/ URL: pages.uoregon.edu/susanq/110/p2/index.html Unix pathname on server: /home7/susanq/public_html/110/p2/index.html Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Friday, October 18, 13
  • 31. Web Directories: The Default Document • When a URL ends in a slash: => browser automatically looks in that folder for a file called index.html or default.html => default document => supresses directory listing in browser Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Friday, October 18, 13
  • 32. Organize your Folders • Why have a hierarchy? – organize your thinking & work – directories/folders cost nothing – work on the server and your computer => highly recommended Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Friday, October 18, 13
  • 33. Ch. 3: Assessment Learning Outcomes - Know the following Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Friday, October 18, 13