Documente Academic
Documente Profesional
Documente Cultură
CMPE 80N
Spring 2003
Class Information
Class time and location:
Tuesday/Thursday 2:00 - 3:45pm BE152
Instructor:
Katia Obraczka BE 329 Office hours: Wed 12:30-2pm katia@soe.ucsc.edu
2
Class Information
Teaching Assistant
Ignacio (Nacho) Solis (isolis@soe) Chandramouli Balasubramanian (chandrab@soe)
Textbooks:
No required textbooks. Class notes (posted on the Web page). Suggested references on Web page.
Note: This course is not specific to CE/CS/EE majors. It is intended for a wide audience with little or no prior experience with the Internet, or networks in general.
Grading
3 Quizes (50%) Final Exam (30%) June 11th. 4-7pm Projects (20%)
Academic Integrity
Academic Integrity policies will be strictly enforced!
http://www.ucsc.edu/academics/academic_integrity/policy.html
Pre-requisites
Our assumptions about you:
No computer networks background. No prior Internet experience. CATS account Access to a computer
Course Outline
Introduction
History, basic concepts, terminology. More, not-so-basic concepts:layering, e2e design, etc.
Physical layer
Transmitting data.
LANs
Ethernet, token ring, wireless LANs.
Internetworking
IP. The Internet. IP addresses.
9
Application layer
DNS, ssh, telnet, ftp, news, e-mail. The Web.
HTTP. HTML. Search engines. Proxy and caches
10
11
Whats a network?
12
Whats a network?
Merriam-Webster Dictionary:
|A fabric or structure of cords or wires that cross at regular intervals A system of computers, terminals and databases connected by communication lines
A computer network is defined as the interconnection of 2 or more independent computers. [Ramteke,Networks, pg. 24].
13
Why network?
Before networks:
One large computer (mainframe) used for all processing in businesses, universities, etc.
14
Ubiquitous Computing
Computers everywhere. Also means ubiquitous communication.
Users connected anywhere/anytime. PC (laptop, palmtop) equivalent to cell phone.
15
Computer Network
Provide access to local and remote resources. Collection of interconnected end systems:
Computing devices (mainframes, workstations, PCs, palm tops) Peripherals (printers, scanners, terminals).
16
Why network?
Resource sharing!
Hardware: printers, disks, terminals, etc. Software: text processors, compilers, etc. Data.
Robustness.
Fault tolerance through redundancy.
Load balancing.
Processing and data can be distributed over the network.
Location independence.
Users can access their files, etc. from anywhere in the network.
CMPE 80N - Introduction to Networks and the Internet
17
Problems?
Security!
Its much easier to protect centralized resources than when they are distributed. Network itself as the target..
18
19
20
Several connections can go through interswitch trunks simultaneously. At some point, there were too many connections between switching offices!
CMPE 80N - Introduction to Networks and the Internet
21
22
POTS or PSTN
For over 100 years, the POTS (Plain Old Telephone System) a.k.a. PSTN (Public Switched Telephone Network) handles voiceband communications. POTS network is well designed and engineered for the transmission and switching of voice
Real-time. Low latency. High reliability. Moderate fidelity.
23
24
Data Networks
Components:
End systems (or hosts), Routers/switches/bridges, and Links (twisted pair, coaxial cable, fiber, radio, etc.).
25
Communication Model
Network
Source
Destination
26
Dedicated link
Router
Switched network
Router: switching element; a.k.a., IMPs (Interface Message Processors) in ARPAnets terminology.
CMPE 80N - Introduction to Networks and the Internet
28
Wide-Area Networks (WANs) span greater geographic distances (e.g., world-wide). Metropolitan Area Networks (MANs) span more restricted distances, e.g., geographic regions (e.g., Los Nettos network in Southern California, etc.)
CMPE 80N - Introduction to Networks and the Internet
29
The Internet
Backbone
Regional
Stub
CMPE 80N - Introduction to Networks and the Internet
30
31
32
Star
Ring
Tree
Irregular
33
Network Architecture
What is it? Building complex systems is hard!
Approach: Divide and conquer. Split job into smaller jobs.
Basic idea: each step dependent on the previous step but does not need to be aware of how the previous step was done.
CMPE 80N - Introduction to Networks and the Internet
34
Layering
Layers are the different components that need to be designed/implemented hen designing/implementing networks. Each layer responsible for a set of functions. Top layer relies on services provided by bottom layer.
35
Layering: advantages
Easier to design: divide and conquer. Modularity: layers independent of each other, thus easier to maintain, modify, etc. Flexibility: easier to extend and add new services.
36
Layering: disadvantages
Performance: incur processing/communication overhead of multiple layers. Some duplication of effort
37
Protocols
Set of methods and rules used in a particular layer. Back to building a house analogy:
For example, excavators can use picks and shovels to dig; they can later decide to change and use a backhoe. For the masons, it doesnt matter how the excavators dug the hole
38
Network Architecture
Set of layers, what their functions are, the services each of them provide, and the interfaces between them.
39
Another Analogy
French user
German user
I want to go home.
Layer 1 Fax
I want to go home.
Fax
40
Physical
CMPE 80N - Introduction to Networks and the Internet
41
42
Transport layer:
E2E communication. Error-, flow- and congestion control end-toend.
43
Application layer: provides users with access to the underlying communication infrastructure.
E-mail, video conferencing, file transfer, distributed information systems (e.g., the Web).
CMPE 80N - Introduction to Networks and the Internet
44
ISO OSI
Physical
CMPE 80N - Introduction to Networks and the Internet
Physical
45
46
Encapsulation
Application data TCP header IP header MAC header LLC header MAC trailer
TCP segment IP datagram
47
48
49
50
51
52
Early 1990s, the Web caused the Internet revolution: the Internets killer app! Today:
Almost 60 million hosts as of 01.99. Doubles every year.
53
54
55
Physical Layer
Sending raw bits across the wire. Issues:
Whats being transmitted. Transmission medium.
56
Basic Concepts
Signal: electro-magnetic wave carrying information. Time domain: signal as a function of time.
Analog signal: signals amplitude varies continuously over time, ie, no discontinuities. Digital signal: data represented by sequence of 0s and 1s (e.g., square wave).
57
Time Domain
Periodic signals:
Same signal pattern repeats over time. Example: sine wave
Amplitude (A) Period (or frequency) (T = 1/f) Phase(f)
s (t ) A sin( 2 ft f ) s (t T ) s (t )
CMPE 80N - Introduction to Networks and the Internet
58
Frequency Domain
Signal consists of components of different frequencies. Spectrum of signal: range of frequencies signal contains. Absolute bandwidth: width of signals spectrum.
59
Example:
60
Digital signal has infinite frequency components, thus infinite bandwidth. If data rate of signal is W bps, good representation achieved with 2W Hz bandwidth.
61
Thus, bit rate = log2V * baud rate. For 2 levels, bit rate = baud rate.
62
Data Transmission 1
Analog and digital transmission.
Example of analog data: voice and video. Example of digital data: character strings
Use of codes to represent characters as sequence of bits (e.g., ASCII).
63
Digital Transmission
Current trend: digital transmission.
Cost efficient: advances in digital circuitry (VLSI).
Advantages:
Data integrity: better noise immunity. Security: easier to integrate encryption algorithms. Channel utilization: higher degree of multiplexing (time-division muxing).
64