Sess_08 - Vin Costa`s Wiki
Download
Report
Transcript Sess_08 - Vin Costa`s Wiki
Session 8
Networking & Operating Systems
Fall 2011
Nassau Community College
ITE153 – Operating Systems
1
Fall 2011
Nassau Community College
ITE153 – Operating Systems
2
Networking & Operating
Systems
Introduction
Fall 2011
Nassau Community College
ITE153 – Operating Systems
3
How It All Started
1969
Fall 2011
Nassau Community College
ITE153 – Operating Systems
4
How It All Started
1969
Fall 2011
Nassau Community College
ITE153 – Operating Systems
5
Internet History
Evolved from ARPANet (Defense
Department’s Advanced Research Projects
Agency Network)
ARPANet was developed in 1969, and was
the first packet-switching network
Initially, included only four nodes: UCLA,
UCSB, Utah, and SRI
Fall 2011
Nassau Community College
ITE153 – Operating Systems
6
NSF and the Internet
In the 1980s, NSFNet extended packetswitched networking to non-ARPA
organization; eventually replaced ARPANet
Instituted Acceptable Use Policies to control
use
CIX (Commercial Internet eXchange) was
developed to provide commercial
internetworking
Fall 2011
Nassau Community College
ITE153 – Operating Systems
7
The World Wide Web
Concept proposed by Tim Berners-Lee in
1989, prototype WWW developed at CERN in
1991
First graphical browser (Mosaic) developed
by Mark Andreessen at NCSA
Client-server system with browsers as clients,
and a variety of media types stored on
servers popped up everywhere
Uses HTTP (Hyper Text Transfer Protocol) for
retrieving files
Fall 2011
Nassau Community College
ITE153 – Operating Systems
8
Connecting to the Internet
End users get connectivity from an ISP
(Internet Service Provider)
Home users use dial-up, ADSL, cable
modems, satellite, wireless
Businesses use dedicated circuits
connected to LANs
ISPs use “wholesalers” called network
service providers and high speed (T-3 or
higher) connections
Fall 2011
Nassau Community College
ITE153 – Operating Systems
9
US Internet Access Points
Fall 2011
Nassau Community College
ITE153 – Operating Systems
10
Internet Addressing
32-bit global Internet address
Includes network and host identifiers
Dotted decimal notation
11000000 11100100 00010001 00111001
(binary)
192.228.17.57 (decimal)
Fall 2011
Nassau Community College
ITE153 – Operating Systems
11
Internet Addressing
Fall 2011
Nassau Community College
ITE153 – Operating Systems
12
Network Classes
Class A: Few networks, each with many hosts
All addresses begin with binary 0
Range: 1-126
Class B: Medium networks, medium hosts
All addresses begin with binary 10
Range: 128-191
Class C: Many networks, each with few hosts
All addresses begin with binary 11
Range: 192-223
Fall 2011
Nassau Community College
ITE153 – Operating Systems
13
Domain Name System
32-bit IP addresses have two drawbacks
Routers can’t keep track of every network path
Users can’t remember dotted decimals easily
Domain names address these problems by
providing a name for each network domain
(hosts under the control of a given entity)
Fall 2011
Nassau Community College
ITE153 – Operating Systems
14
DNS Database
Hierarchical database containing name, IP
address, and related information for hosts
Provides name-to-address directory
services
Fall 2011
Nassau Community College
ITE153 – Operating Systems
15
Domain Tree
Fall 2011
Nassau Community College
ITE153 – Operating Systems
16
Networking & Operating
Systems
IP, Protocols, Routing, Layers
Fall 2011
Nassau Community College
ITE153 – Operating Systems
17
Private Networks
Isolated to individual organizations
Emergence of computer security
Sharing a system
Protecting data
Fall 2011
Nassau Community College
ITE153 – Operating Systems
18
Networking
Networks start talking to each
other
Gateways
Arpanet
TCP/IP Everywhere
Vinton Cerf,
“IP On Everything!”
Fall 2011
Nassau Community College
ITE153 – Operating Systems
19
Maturing of the Internet
Telephones used by 50% of worlds
population
Internet attained similar level of growth in
2010 – approaching max growth
Connecting computers and programmable
devices
More devices than people
Internet of Things
Fall 2011
Nassau Community College
ITE153 – Operating Systems
20
Early Hacking
Cap’n Crunch cereal prize
Giveaway whistle produces
2600 MHz tone
Blow into receiver – free
phone calls
“Phreaking” encouraged by
Abbie Hoffman
Doesn’t hurt anybody
Fall 2011
Nassau Community College
ITE153 – Operating Systems
21
Captain Crunch
John Draper
`71: Bluebox built by many
Jobs and Wozniak were early
implementers
Developed “EasyWriter” for first
IBM PC
High-tech hobo
Whitehat hacker
Fall 2011
Nassau Community College
ITE153 – Operating Systems
22
Protocols in a Simplified
Architecture
Fall 2011
Nassau Community College
ITE153 – Operating Systems
23
Protocol Data Units
Fall 2011
Nassau Community College
ITE153 – Operating Systems
24
Operation of a Protocol
Architecture
Fall 2011
Nassau Community College
ITE153 – Operating Systems
25
TCP and UDP Headers
Fall 2011
Nassau Community College
ITE153 – Operating Systems
26
IP Headers
32-bit field
QoS
max # allowable hops
128-bit field
Fall 2011
Nassau Community College
ITE153 – Operating Systems
27
TP/IP Concepts
Fall 2011
Nassau Community College
ITE153 – Operating Systems
28
Client-Server Model
The client–server model of computing is a
distributed application that partitions tasks or
workloads between the providers of a resource
or service, called servers (daemons), and
service requesters, called clients.
Fall 2011
Nassau Community College
ITE153 – Operating Systems
29
Daemons Aren’t Evil
Daemon is a computer program
that runs in the background,
rather than under the direct
control of a user; they are usually
initiated as background processes
Developers began to use the word daemon
to describe background processes which
worked tirelessly to perform system chores
ftpd, httpd, smtpd – look for the “d” suffix
Windows calls these services
Fall 2011
Nassau Community College
ITE153 – Operating Systems
30
PDUs in TCP/IP
TCP
Header
IP
Header
Network
Header
Fall 2011
User
Data
Application
Byte Stream
User
Data
TCP
Segment
User
Data
IP
Datagram
User
Data
Network-level
Packet
Nassau Community College
ITE153 – Operating Systems
31
Some TCP/IP Protocols
Fall 2011
Nassau Community College
ITE153 – Operating Systems
32
Assigned Port Numbers
Port
Service
Port
Service
7
echo
110
pop3
20
ftp-data
119
nntp
21
ftp
123
ntp
23
telnet
389
ldap
25
smtp
443
https
39
rip
500
isakmp
53
DNS
520
rip2
80
http
1812
radiusauth
88
kerberos
2049
Sun NFS
Fall 2011
Nassau Community College
ITE153 – Operating Systems
33
Alternate Routing Diagram
Fall 2011
Nassau Community College
ITE153 – Operating Systems
34
Hands-on
Exercises
Fall 2011
Nassau Community College
ITE153 – Operating Systems
35
Hands-On
Examine some sites using whois and
traceroute for the domain name and
the IP address. See how much you can
find out about a site
Try: whois ncc.edu
Try: traceroute www.google.com
Fall 2011
Nassau Community College
ITE153 – Operating Systems
36
Important URLs
http://www.networksolutions.com/whois/index.jhtml the original InterNIC. This site has the “whois”
database
http://www.arin.net - American registry for Internet
numbers. This site has a “whois” database for IP
numbers
http://network-tools.com/ - tools: traceroute, ping,
nslookup, whois, dig
Fall 2011
Nassau Community College
ITE153 – Operating Systems
37
Homework
Review the Slides
Work on the Take Home Exam
Due next Monday at the latest
Do the Exercise: “whois and traceroute”
Fall 2011
Nassau Community College
ITE153 – Operating Systems
38
The Internet Highway
…a parting thought
There is a road, no simple highway,
Between the dawn and the dark of night,
And if you go no one may follow,
That path is for your steps alone.
Fall 2011
Nassau Community College
ITE153 – Operating Systems
39