390 likes | 539 Vues
Session 8 Networking & Operating Systems. Introduction. Networking & Operating Systems. How It All Started. 1969. How It All Started. 1969. Internet History. Evolved from ARPANet (Defense Department’s Advanced Research Projects Agency Network)
E N D
Nassau Community College ITE153 – Operating Systems Session 8Networking & Operating Systems
Introduction Nassau Community College ITE153 – Operating Systems Networking & Operating Systems
How It All Started Nassau Community College ITE153 – Operating Systems 1969
How It All Started Nassau Community College ITE153 – Operating Systems 1969
Internet History Nassau Community College ITE153 – Operating Systems • 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
NSF and the Internet Nassau Community College ITE153 – Operating Systems • In the 1980s, NSFNet extended packet-switched 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
The World Wide Web Nassau Community College ITE153 – Operating Systems • 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
Connecting to the Internet Nassau Community College ITE153 – Operating Systems • 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
US Internet Access Points Nassau Community College ITE153 – Operating Systems
Internet Addressing Nassau Community College ITE153 – Operating Systems • 32-bit global Internet address • Includes network and host identifiers • Dotted decimal notation • 11000000 11100100 00010001 00111001 (binary) • 192.228.17.57 (decimal)
Internet Addressing Nassau Community College ITE153 – Operating Systems
Network Classes Nassau Community College ITE153 – Operating Systems • Class A: Few networks, each with many hostsAll addresses begin with binary 0Range: 1-126 • Class B: Medium networks, medium hostsAll addresses begin with binary 10Range: 128-191 • Class C: Many networks, each with few hosts All addresses begin with binary 11Range: 192-223
Domain Name System Nassau Community College ITE153 – Operating Systems • 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)
DNS Database Nassau Community College ITE153 – Operating Systems • Hierarchical database containing name, IP address, and related information for hosts • Provides name-to-address directory services
Domain Tree Nassau Community College ITE153 – Operating Systems
IP, Protocols, Routing, Layers Nassau Community College ITE153 – Operating Systems Networking & Operating Systems
Private Networks Nassau Community College ITE153 – Operating Systems • Isolated to individual organizations • Emergence of computer security • Sharing a system • Protecting data
Nassau Community College ITE153 – Operating Systems Networking • Networks start talking to each other • Gateways • Arpanet • TCP/IP Everywhere • Vinton Cerf, “IP On Everything!”
Maturing of the Internet Nassau Community College ITE153 – Operating Systems • 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
Nassau Community College ITE153 – Operating Systems 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
Nassau Community College ITE153 – Operating Systems 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
Protocols in a Simplified Architecture Nassau Community College ITE153 – Operating Systems
Protocol Data Units Nassau Community College ITE153 – Operating Systems
Operation of a Protocol Architecture Nassau Community College ITE153 – Operating Systems
TCP and UDP Headers Nassau Community College ITE153 – Operating Systems
IP Headers Nassau Community College ITE153 – Operating Systems 32-bitfield QoS max # allowable hops 128-bit field
TP/IP Concepts Nassau Community College ITE153 – Operating Systems
Client-Server Model Nassau Community College ITE153 – Operating Systems • 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.
Daemons Aren’t Evil Nassau Community College ITE153 – Operating Systems 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
PDUs in TCP/IP Nassau Community College ITE153 – Operating Systems User Data Application Byte Stream TCPHeader User Data TCPSegment IPHeader User Data IP Datagram NetworkHeader User Data Network-level Packet
Some TCP/IP Protocols Nassau Community College ITE153 – Operating Systems
Assigned Port Numbers Nassau Community College ITE153 – Operating Systems 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
Alternate Routing Diagram Nassau Community College ITE153 – Operating Systems
Hands-onExercises Nassau Community College ITE153 – Operating Systems
Hands-On Nassau Community College ITE153 – Operating Systems • Examine some sites using whoisand 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
Important URLs Nassau Community College ITE153 – Operating Systems • 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
Homework Nassau Community College ITE153 – Operating Systems • Review the Slides • Work on the Take Home Exam • Due next Monday at the latest • Do the Exercise: “whois and traceroute”
The Internet Highway…a parting thought Nassau Community College ITE153 – Operating Systems • 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.