Contain Slides by Leon-Garcia and Widjaja
Contain Slides by Leon-Garcia and Widjaja
A communication service enables the exchange of information between users at different locations. Communication services & applications are everywhere.
Web Browsing
Web server
Peer-to-peer applications
Napster, Gnutella, Kazaa file exchange Searching for ExtraTerrestrial Intelligence (SETI)
Audio & video streaming Network games On-line purchasing Text messaging in PDAs, cell phones (SMS) Voice-over-Internet
Internet transfer of individual block of information Internet reliable transfer of a stream of bytes Real-time transfer of a voice signal
E-mail & web build on reliable stream service Fax and modems build on basic telephone service SMS builds on Internet reliable stream service and cellular telephone text messaging
The equipment (hardware & software) and facilities that provide the basic communication service Virtually invisible to the user; Usually represented by a cloud
Equipment
Facilities
Copper wires, coaxial cables, optical fiber Ducts, conduits, telephone poles
Bells Telephone
Alexander Graham Bell (1875) working on harmonic telegraph to multiplex telegraph signals Discovered voice signals can be transmitted directly
Microphone converts voice pressure variation (sound) into analogous electrical signal Loudspeaker converts electrical signal back into sound
sound
sound
Signaling
Flashing light and ringing devices to alert the called party of incoming call Called party information to operator to establish calls
The N2 Problem
For N users to be fully connected directly Requires N(N 1)/2 connections Requires too much space for cables Inefficient & costly since connections not always on
1
Circuit Switching
N1 3 2
Manual Switching
Strowger Switch
Human operators intelligent & flexible But expensive and not always discreet Strowger invented automated switch in 1888 Each current pulse advances wiper by 1 position User dialing controls connection setup Decimal telephone numbering system Hierarchical network structure simplifies routing Area code, exchange (CO), station number
1st digit 2nd digit
0 0
. . .
...
. . .
. . .
9
0
9 9 9
Strowger Switch
Tandem Tandem CO CO CO CO CO
Telephone subscribers connected to local CO (central office) Tandem & Toll switches connect COs
One OC-192 optical signal = 10x109 bps One optical fiber carries 160 OC-192 signals = 1.6x1012 bps!
1.0E+12 1.0E+10 1.0E+08 1.0E+06 1.0E+04 1.0E+02 1.0E+00 1850 1875 1900 1925 1950 1975 2000
Morse
Digital voice; Time Division Multiplexing User signals for call setup and tear-down Route selected during connection setup End-to-end connection across network Signaling coordinates connection setup Decimal numbering system Hierarchical structure; simplified routing; scalability Intelligence inside the network
Circuit switching
Hierarchical Network
Signaling Network
1950s: Telegraph technology adapted to computers 1960s: Dumb terminals access shared host computer SABRE airline reservation system 1970s: Computers connect directly to each other ARPANET packet switching network TCP/IP internet protocols Ethernet local area network 1980s & 1990s: New applications and Internet growth Commercialization of Internet E-mail, file transfer, web, P2P, . . . Internet traffic surpasses voice traffic
What is a protocol?
Communications between computers requires very specific unambiguous rules A protocol is a set of rules that governs how two or more communicating parties are to interact
Internet Protocol (IP) Transmission Control Protocol (TCP) HyperText Transfer Protocol (HTTP) Simple Mail Transfer Protocol (SMTP)
Terminal-Oriented Networks
Early computer systems very expensive Time-sharing methods allowed multiple terminals to share local computer Remote access via telephone modems
Terminal ... Terminal Modem Host computer
Telephone Network
Modem
Terminal
Dedicated communication lines were expensive Terminals generated messages sporadically Frames carried messages to/from attached terminals Address in frame header identified terminal Medium Access Controls for sharing a line were developed Example: Polling protocol on a multidrop line
Polling frames & output frames input frames Terminal Terminal ... Terminal
Host computer
Statistical Multiplexing
Statistical multiplexer allows a line to carry frames that contain messages to/from multiple terminals Frames are buffered at multiplexer until line becomes available, i.e. store-and-forward Address in frame header identifies terminal Header carries other control information
Frame CRC Information Header Terminal Terminal Header Information CRC
Terminal
Host computer Multiplexer
...
Cyclic Redundancy Check (CRC) calculated based on frame header and information payload, and appended Header also carries ACK/NAK control information
CRC
Information
Header Terminal
Header
Information
CRC
National & international terminal-oriented networks Routing was very simple (to/from host) Each network typically handled a single application
T T
T
Atlanta
Computer-to-Computer Networks
As cost of computing dropped, terminal-oriented networks viewed as too inflexible and costly Need to develop flexible computer networks
Interconnect computers as required Support many applications File transfer between arbitrary computers Execution of a program on another computer Multiprocess operation over multiple computers
Application Examples
Packet Switching
Transfer arbitrary message size Low delay for interactive applications But in store-and-forward operation, long messages induce high delay on interactive messages
Network transfers packets using store-and-forward Packets have maximum length Break long messages into multiple packets
ARPANET Routing
Routing is highly nontrivial in mesh networks No connection setup prior to packet transmission Packets header includes source & destination addresses Packet switches have table with next hop per destination Routing tables calculated by packet switches using distributed algorithm Packet Switch Hdr Packet Packet Switch Packet Switch Packet Switch
Dest: Next Hop:
Packet Switch
xyz wvr
abc edf
Packet Switch
ARPANET Applications
ARPANET introduced many new applications Email, remote login, file transfer,
AMES McCLELLAN UTAH BOULDER GWC CASE
RADC ILL LINC AMES USC MIT UCSB STAN SCD MITRE CARN
ETAC
UCLA
RAND
TINKER
BBN
HARV
NBS
To interconnect local workstations To access local shared resources (printers, storage, servers)
Low cost, high-speed communications with low error rate possible using coaxial cable Ethernet is the standard for high-speed wired access to computer networks
Network interface card (NIC) connects workstation to LAN Each NIC has globally unique address Frames are broadcast into coaxial cable NICs listen to medium for frames with their address Transmitting NICs listen for collisions with other stations, and abort and reschedule retransmissions
Transceivers
The Internet
Different network types emerged for data transfer between computers ARPA also explored packet switching using satellite and packet radio networks Each network has its protocols and is possibly built on different technologies Internetworking protocols required to enable communications between computers attached to different networks Internet: a network of networks
Routers (gateways) interconnect different networks Host computers prepare IP packets and transmit them over their attached network Routers forward IP packets across networks Best-effort IP transfer service, no retransmission
Net 1
Net 2
Router
Hierarchical address: Net ID + Host ID IP packets routed according to Net ID Routers compute routing tables using distributed algorithm H
H Net 3 G Net 1
G
G H Net 2 G Net 4
G Net 5
Transport Protocols
Host computers run two transport protocols on top of IP to enable process-to-process communications User Datagram Protocol (UDP) enables best-effort transfer of individual block of information Transmission Control Protocol (TCP) enables reliable transfer of a stream of bytes
128.100.11.1
Domain Name System (DNS) provided conversion between names and addresses
Internet Applications
All Internet applications run on TCP or UDP TCP: HTTP (web); SMTP (e-mail); FTP (file transfer; telnet (remote terminal) UDP: DNS, RTP (voice & multimedia) TCP & UDP incorporated into computer operating systems Any application designed to operate over TCP or UDP will run over the Internet!!!
Digital transmission Exchange of frames between adjacent equipment Framing and error control Medium access control regulates sharing of broadcast medium. Addresses identify attachment to network or internet. Transfer of packets across a packet network Distributed calculation of routing tables
Congestion control inside the network Internetworking across multiple networks using routers Segmentation and reassembly of messages into packets into and out of a network or internetwork End-to-end transport protocols for process-toprocess communications Applications that build on the transfer of messages between computers.
Building networks involves huge expenditures Services that generate revenues drive the network architecture
Packet switching vs. circuit switching Multimedia applications End of trust Networking is a business
Current trends
Optical signal transmission over fiber can carry huge volumes of information (Tbps) Optical signal processing very limited
Optical logic circuits bulky and costly Optical packet switching will not happen soon Maximum electronic speeds << Tbps Parallel electronic processing & high expense
Multimedia Applications
Trend towards digitization of all media Digital voice standard in cell phones Music cassettes replaced by CDs and MP3s Digital cameras replacing photography Video: digital storage and transmission
Analog VCR cassettes largely replaced by DVDs Analog broadcast TV to be replaced by digital TV VCR cameras/recorders to be replaced by digital video recorders and cameras
End of Trust
Security Attacks
Napster, Gnutella, Kazaa Processing & storage (SETI@home) Information & files (MP3s) Creation of virtual distributed servers Users (computers) currently online connect directly to each other to allow sharing of their resources Huge traffic volumes a challenge to network management Huge opportunity for new businesses
Traffic flows need to be monitored and controlled Tolls have to be collected Roads have to be maintained Need to forecast traffic and plan network growth
Entire organizations address OAM & Billing Becoming automated for flexibility & reduced cost
Technology not only factor in success of a new service Three factors considered in new telecom services
Market
New Service
Regulation
Transmission Technology
Processing Technology
Relentless improvement in processing & storage Moores Law: doubling of transistors per integrated circuit every two years RAM: larger tables, larger systems Digital signal processing: transmission, multiplexing, framing, error control, encryption Network processors: hardware for routing, switching, forwarding, and traffic management Microprocessors: higher layer protocols and applications Higher speeds and higher throughputs in network protocols and applications
Moores Law
1.0E+08 1.0E+07
Transistor count P4 Pentium III Pentium Pro Pentium 486 DX Intel DX2 80286 8086 Pentium II
1972 0
1992 20
2002 30
Market
Metcalfe's Law: usefulness is proportional to the square of the number of users Phone, fax, email, ICQ,
S-curve: growth of new service has S-shaped curve, challenge is to reach the critical mass
The S Curve
Service Penetration & Network Effect Telephone: T=30 years
roads
Fax Cellular & cordless phones Internet & WWW Napster and P2P
Others
Long distance cost plummeted with optical tech Alternative local access through cable, wireless Radio spectrum: auctioned vs. unlicensed Tussle for the revenue-generating parts
Standards
New technologies very costly and risky Standards allow players to share risk and benefits of a new market
Reduced cost of entry Interoperability and network effect Compete on innovation Completing the value chain
Example
Standards Bodies
Industry Organizations