SlideShare a Scribd company logo
1 of 33
Download to read offline
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

More Related Content

Viewers also liked

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 planmissim77
 
NCC ART104 1
NCC ART104 1NCC ART104 1
NCC ART104 165swiss
 
Sportco rehabilitation
Sportco rehabilitationSportco rehabilitation
Sportco rehabilitationSportcorehab
 
Revago20141004 andre - de overtreffende aeonen
Revago20141004 andre - de overtreffende aeonenRevago20141004 andre - de overtreffende aeonen
Revago20141004 andre - de overtreffende aeonenmissim77
 
Paulaharju perhefestarit
Paulaharju perhefestaritPaulaharju perhefestarit
Paulaharju perhefestaritPaulaharjuOulu
 
Digipack explanation
Digipack explanationDigipack explanation
Digipack explanationjam3scoles
 
Digipack 3rd draft
Digipack 3rd draftDigipack 3rd draft
Digipack 3rd draftjam3scoles
 
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/XSLTmh-108
 
Ne zabud' 2013 presentation
Ne zabud' 2013 presentationNe zabud' 2013 presentation
Ne zabud' 2013 presentationTaras Yemchura
 
Mfv ren ch.4
Mfv ren ch.4Mfv ren ch.4
Mfv ren ch.465swiss
 
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 MarketingHuStream Video
 

Viewers also liked (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 to Ch. 3 FIT5, CIS 110 13F

FIT5 Ch. 5, CIS 110 13F
FIT5 Ch. 5, CIS 110 13FFIT5 Ch. 5, CIS 110 13F
FIT5 Ch. 5, CIS 110 13Fmh-108
 
Ch. 15 FIT5, CIS 110 13F
Ch. 15 FIT5, CIS 110 13FCh. 15 FIT5, CIS 110 13F
Ch. 15 FIT5, CIS 110 13Fmh-108
 
Intternetworking With TCP/IP
Intternetworking With TCP/IPIntternetworking With TCP/IP
Intternetworking With TCP/IPBIT DURG
 
emp-internet07.ppt
emp-internet07.pptemp-internet07.ppt
emp-internet07.pptjguuhxxxfp
 
Arp security by_abdimuna_sep_28
Arp security by_abdimuna_sep_28Arp security by_abdimuna_sep_28
Arp security by_abdimuna_sep_28Abdimuna Muna
 
Naming And Binding (Distributed computing)
Naming And Binding (Distributed computing)Naming And Binding (Distributed computing)
Naming And Binding (Distributed computing)Sri Prasanna
 
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 ChandraAmit 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...Ryan Koop
 
Concept ofinternet web_f2010211
Concept ofinternet web_f2010211Concept ofinternet web_f2010211
Concept ofinternet web_f2010211Kh Ravy
 
Cs ch04
Cs ch04Cs ch04
Cs ch04-
 
The Internet
The InternetThe Internet
The Internetfaizah71
 
The Semantic Web #4 - RDF (1)
The Semantic Web #4 - RDF (1)The Semantic Web #4 - RDF (1)
The Semantic Web #4 - RDF (1)Myungjin Lee
 
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 pptlolo749806
 

Similar to 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
 

More from mh-108

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

More from 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
 

Recently uploaded

How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
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)Jisc
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
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).pptxVishalSingh1417
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
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.pptxMaritesTamaniVerdade
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
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.pptxheathfieldcps1
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 

Recently uploaded (20)

How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
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)
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
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
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
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
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.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
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 

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