Professional Documents
Culture Documents
Dr. Arjan Durresi The Ohio State University Columbus, OH 43210 Durresi@CIS.Ohio-State.Edu These slides are available at: http://www.cis.ohio-state.edu/~durresi/cis777-03/
The Ohio State University
2- Networking Concepts - 1
CIS777 SP03
Overview
Telecommunications tools to improve communications ! ISO/OSI Reference Model ! Ethernet/IEEE 802.3 LANs ! Interconnecting Devices All these concepts are taught in CIS677.
!
The Ohio State University
2- Networking Concepts - 2
CIS777 SP03
Communication
Exchange of Information (Communication), makes possible the Human society and the civilization ! Improvements in communication - milestones in the history of civilization " Language " Writing " Books " Electronic communication, Internet
!
2- Networking Concepts - 3
CIS777 SP03
Tools created to increase and enhance our capabilities: " Cars, Airplanes, Microscopes, Telescopes " Telegraph , Telephone to communicate " Computers born to store and process information " Computers to communicate; Network - more than two computers ! Each epoch in human history is dominated by one tool: " Industrial Revolution: Steam engine " Information Age: Computers and networks ! The Internet is the universal medium of communication
!
The Ohio State University
2- Networking Concepts - 4
CIS777 SP03
In 1890 simple telephone networks with manually operated switches circuit switching ! Operators replaced by mechanical switches and 100 years later by electronic switches
!
Evolution of Networks
Electronic switches and exchange control information using the common channel signaling (CCS)
2- Networking Concepts - 5 CIS777 SP03
Evolution of Networks
Since 1980s Synchronous Optical Network (SONET) and Synchronous Digital Hierarchy (SDH) for the transmission links of the telephone networks ! Integrated Services Digital Network (ISDN) integration of data and voice ! Asymmetric Digital Subscriber Line (ADSL) > 1.5 Mbps downstream
!
2- Networking Concepts - 6
CIS777 SP03
RS-232C
Up to 38kbps over short distances (less than 30m) ! Serial transmission one character at a time ! Each character => 7 bits + 1bit parity
!
2- Networking Concepts - 7
CIS777 SP03
Synchronous Transmission
The first computer networks designed to share largescale computers ! HDLC family ! Packet based => header + data + CRC
!
2- Networking Concepts - 8
CIS777 SP03
To interconnect many computers ! Statistical multiplexing more efficient than timedivision multiplexing ! ARPNET late 1960s " The network is peripheral
!
2- Networking Concepts - 9
CIS777 SP03
Evolution of Networks
Emergence of LANs ! In the 1990s Internet becomes a commercial success ! Internet has been doubling is size every nine months ! From If a company is important it is online to If a company is not on line it doesnt exist ! The impact of Internet: " Economic, Education, Government, etc.
!
2- Networking Concepts - 10
CIS777 SP03
Emergence of LANs ! Ethernet 10Mbps, 100Mbps, 1Gbps, 10Gbps ! Ethernet everywhere: LAN and WAN
!
2- Networking Concepts - 11
CIS777 SP03
LAN
Token Ring better performance than Ethernet ! Avoid collisions ! Handle priorities ! FDDI up to 100Mbps ! Data + Real time traffic
!
2- Networking Concepts - 12
CIS777 SP03
Switched technology total throughput much larger than shared medium ones ! 53 bytes cell. Integration of data and voice. ! Very good QOS ! Complex, less scalable than Ethernet and IP, no native applications
!
The Ohio State University
2- Networking Concepts - 13
CIS777 SP03
2- Networking Concepts - 14
CIS777 SP03
! ! ! ! !
CATV delivers TV in more than 50% of US households High Speed Internet Access. Cable modems: 45 Mbps downstream, 1.5 Mbps upstream Sharing Security issues No cable in offices But new revenue for providers
2- Networking Concepts - 15 CIS777 SP03
2- Networking Concepts - 16
CIS777 SP03
Trend: Convergence
Entertainment Video Games Publishing News Cable TV Advertising Digital Media Production
Telephone
2- Networking Concepts - 17
CIS777 SP03
Convergence (Cont)
Content Computing Communications ! Merging of Content Providers and Content transporters ! Phone companies, cable companies, entertainment industry, and computer companies ! Single department for telephone and computer networking ! LAN/WAN convergence
The Ohio State University
2- Networking Concepts - 18
CIS777 SP03
No need to get out for " Office " Shopping " Entertainment " Education
Virtual Schools ! Virtual Cash ! Virtual Workplace ! 165 Million US online users
!
CIS777 SP03
2- Networking Concepts - 19
2- Networking Concepts - 20
CIS777 SP03
Networking Trends ?
Networking Bottleneck Bandwidth bps more important that CPU speed ! Networking Age - Internet-based Economy ! Internet Growth - High ! Data > Voice Networking and Telecom Merger ! Quality of Service Holy Grail for the research ! Optical Networks The promise for unlimited bandwidth ! The Internet - the universal medium of communication
!
The Ohio State University
2- Networking Concepts - 21
CIS777 SP03
IP Traffic Growth will slow down from 200-300% per year to 60% by 2005
- McKinsey & Co and JP Morgan, May 16, 2001
98% of fiber is unlit - WSJ, New York Times, Forbes (Fiber is a small fraction of cost. Laying is expensive.) ! Nortel blamed sales decline on falling IP traffic ! Carriers are using only avg 2.7% of their total lit fiber capacity - Michael Ching, Marril Lynch & Co. in Wall Street
!
Journal
2- Networking Concepts - 22
CIS777 SP03
The Bubble
Networking Spending Dot Coms CLECs Y2K
Sidgmore: Internet Traffic doubling every 40 days, 30 days, Over-projection data networking equipment Nearly 1/3 of all tech IPOs over the last 21 years happened in 1999 and 2000. Source:Morgan Stanely/Chi at Opticomm
! !
CLEC - Competitive Local Exchange Carrier ILEC - Incumbent Local Exchange Carriers
2- Networking Concepts - 23
CIS777 SP03
2- Networking Concepts - 24
CIS777 SP03
PetaBytes/month
ISPs
0
Jan 00 Apr 00 Jul 00 Oct 00 Jan 01 Apr 01 Jul 01 Oct 01 Jan 02
2- Networking Concepts - 25
CIS777 SP03
Moore's Law 4 5 6
Years
Moores Law: Factor of 2 every 1.5 years 60%/year ! Internet Traffic: Factor of 4 per year Need for more Networks, QoS, Optical Switching
!
The Ohio State University
2- Networking Concepts - 26
CIS777 SP03
Jan-01
Jan-02
Jan-03
Jan-04
Jan-05
2- Networking Concepts - 27
CIS777 SP03
"You can never be too rich, too thin, or have too much bandwidth" Expensive Bandwidth Cheap Bandwidth ! Sharing ! No sharing ! Multicast ! Unicast ! Virtual Private Networks ! Private Networks ! Need QoS ! QoS less of an issue ! Likely in WANs ! Possible in LANs
The Ohio State University
2- Networking Concepts - 28
CIS777 SP03
Technology depends on the Socio-technical System " Social, Political, Economic, Institutional ! Not simply the rational product of scientists and engineers. ! Technology makes sense when seen as part of the society ! Examples: " Automobile engines: Internal combustion vs. steam " Network technologies: ! OSI vs. TCP/IP vs. ATM, Ethernet vs. Token Ring, ISDN vs. fax ! Future: Quality of Service mechanisms over the Internet
!
The Ohio State University
2- Networking Concepts - 29
CIS777 SP03
Complexity
User is the King => Pays the bill ! What does the user really need? ! Killer applications are key for the success of a particular technology ! In todays Internet the driving need is connectivity " Email and web browser killer applications, which dont need more QOS ! Future Internet, new applications + more QOS ?
The Ohio State University
2- Networking Concepts - 30
CIS777 SP03
2- Networking Concepts - 31
CIS777 SP03
2- Networking Concepts - 32
CIS777 SP03
TCP/IP Protocols
OSI Ref Model Application Presentation Session Transport Network Datalink Physical
CIS777 SP03
FTP
TCP
Nth layer control info is passed as N-1th layer data. FTP FTP Data Header TCP Header IP Header TCP Data IP Data Ethernet Data
2- Networking Concepts - 34
Ethernet Header
The Ohio State University
Ethernet Trailer
CIS777 SP03
Hour-glass model:
" " "
Internet Protocol IP
Glue of the Internet, Everything over IP, and IP over everything The single common language
Implemented at both hosts and routers ! Accommodating heterogeneity ! Minimalist approach. Best effort datagram service ! One of the main reasons of the Internets success
!
TCP,UDP IP ATM,Ethern.
The Ohio State University
2- Networking Concepts - 35
CIS777 SP03
Internet Architecture
! Defined
(IETF) ! Hourglass Design ! Application vs. Application Protocol (FTP, HTTP) FTP HTTP NV TFTP
TCP UDP
IP
NET 1
The Ohio State University
NET 2
NET n
2- Networking Concepts - 36
CIS777 SP03
FTP Protocol
TCP
Transport
IP Ethernet Driver
IP Ethernet Driver
IP Ethernet Driver
Ethernet Protocol
The Ohio State University
2- Networking Concepts - 37
Ethernet Protocol
CIS777 SP03
Session
Session
Transport
Transport
Network
Network
Network
Network
Data link
Data link
Data link
Data link
Physical
Physical
Physical
Physical
2- Networking Concepts - 38
CIS777 SP03
OSI introduced concept of services, interface, protocols These were force-fitted to TCP later It is not easy to replace protocols in TCP. In OSI, reference model was done before protocols. In TCP, protocols were done before the model OSI: Standardize first, build later TCP: Build first, standardize later OSI took too long to standardize. TCP/IP was already in wide use by the time. OSI became too complex. TCP/IP is not general. Ad hoc.
2- Networking Concepts - 39
CIS777 SP03
Coding Terminology
Pulse Bit
!
+5V 0 -5V
Signal element: Pulse ! Modulation Rate: 1/Duration of the smallest element =Baud rate ! Data Rate: Bits per second ! Data Rate = Fn(Bandwidth, signal/noise ratio, encoding)
2- Networking Concepts - 40
CIS777 SP03
Channel Capacity
Capacity = Maximum data rate for a channel ! Nyquist Theorem: ! Bilevel Encoding: Data rate = 2 Bandwidth
!
1 5V 0 0 Multilevel coding: Data rate = 2 Bandwidth log2 M 10 11 01 00 Example: M=4, Capacity = 4 Bandwidth
The Ohio State University
2- Networking Concepts - 41
CIS777 SP03
Bilevel Encoding: Worst case: 1010101010 Cycle time = 2 Bit time Data rate = 2 Bandwidth
1 5V 0 0 Multilevel coding: Worst case 0011001100110011 Cycle time = 4 Bit time Data rate = 2 Bandwidth log2 M 11 11 00 00 11 00 11 00
CIS777 SP03
11
00
2- Networking Concepts - 42
5V 0
2- Networking Concepts - 43
CIS777 SP03
Shannon's Theorem
! !
Bandwidth = B Hz Signal-to-noise ratio = S/N Maximum number of bits/sec CMAX = B log2 (1+S/N) " Application of Second Law of Thermodynamic " When more than CMAX, information becomes noise Example: Phone wire bandwidth = 3100 Hz S/N = 30 dB, 10 Log 10 S/N = 30 Log 10 S/N = 3, S/N = 103 = 1000 Capacity = 3100 log 2 (1+1000) = 30,894 bps Compression : Code repetitive patterns with a shorter data set " Example: Code XXXXXX (6 bytes) with 2 bytes
2- Networking Concepts - 44
CIS777 SP03
Nyquists Theorem: " Explore ways to encode bits " Clever encoding allows more bits to be transmitted per unit time, for example multilevel encoding ! Shannons Theorem: " No amount of clever encoding can overcome the laws of physics
!
The Ohio State University
2- Networking Concepts - 45
CIS777 SP03
Data vs Signal
Data 1010
!
Signal
Data
Data: Analog (Music), Digital (files) ! Signal: Analog (POTS, Radio), Digital (ISDN) Data Analog Digital Analog Digital
The Ohio State University
Examples Modulation AM, FM Coding/Keying ASK, FSK, PSK Modulation PCM, ADPCM Coding Manchester, NRZ
2- Networking Concepts - 46 CIS777 SP03
Bit Stuffing
! ! !
Delimit with special bit pattern (bit flags) Stuff bits if pattern appears in data Remove stuffed bits at destination 0 11111 11111 11111 10010
Transmitter
01111110 0 111110 111110 111110 10010 01111110
Receiver
0 11111 11111 11111 10010
The Ohio State University
Flag
2- Networking Concepts - 47
CIS777 SP03
2- Networking Concepts - 48
CIS777 SP03
Flow Control
Flow Control = Sender does not flood the receiver, but maximizes throughput ! Sender throttled until receiver grants permission ! Methods: " Stop and wait " Sliding window
!
2- Networking Concepts - 49
CIS777 SP03
Error Control
Error Control = Deliver frames without error, in the proper order to network layer ! Error control Mechanisms: " Ack/Nak: Provide sender some feedback about other end " Time-out: for the case when entire packet or ack is lost " Sequence numbers: to distinguish retransmissions from originals ! ARQ: Stop and Wait, Selective Reject, Go-back n
!
The Ohio State University
2- Networking Concepts - 50
CIS777 SP03
Data entering network divided into chunks called "packets'' packets traversing network share network resources (e.g., link bandwidth, buffers) with other packets. Resource use: statistical resource sharing Resource demands may exceed available resources :
"
Packet Switched
A and B packets arrive at R1, destined for C : resource contention: queuing (waiting), delay are random
A B R1 R2 C
2- Networking Concepts - 51
CIS777 SP03
Circuit Switched
! All
resources (e.g. communication links) needed by the call dedicated to that call for duration example: telephone network demands may exceed available resources; A and B want to call C: resource contention: blocking (busy signal)
A B R1 R2 C
! Resource
2- Networking Concepts - 52
CIS777 SP03
byte-string that identifies a node " usually unique ! Routing: process of forwarding messages to the destination node based on its address ! Types of addresses " unicast: node-specific " broadcast: all nodes on the network " multicast: some subset of nodes on the network
The Ohio State University
2- Networking Concepts - 53
CIS777 SP03
Multiplexing
! Time-Division
2- Networking Concepts - 54
CIS777 SP03
Statistical Multiplexing
On-demand time-division ! Schedule link on a per-packet basis ! Packets from different sources interleaved on link ! Buffer packets that are contending for the link ! Buffer (queue) overflow is called congestion
!
2- Networking Concepts - 55
CIS777 SP03
2- Networking Concepts - 56
CIS777 SP03
Inter-Process Communication
! Turn
host-to-host connectivity into process-toprocess communication. ! Fill gap between what applications expect and what the underlying technology provides.
Host Host Application
Host Application
Channel
Host
Host
2- Networking Concepts - 57
CIS777 SP03
2- Networking Concepts - 58
CIS777 SP03
! ! ! ! !
Duplexity: " Simplex: Transmit or receive " Full Duplex: Transmit and receive simultaneously " Half-Duplex: Transmit and receive alternately Error Control: Make "channel" more reliable; Error detection and recovery Flow Control: Avoid flooding slower peer Fragmentation: dividing large data chunks into smaller pieces; reassembly Multiplexing: several higher level session share single lower level connection Addressing/naming: locating, managing identifiers associated with entities
2- Networking Concepts - 59
CIS777 SP03
Throughput
" "
Bandwidth Bandwidth vs. throughput Amount of data that can be transmitted Delay per time unit link versus end-to-end Notation: KB = 210 bytes, Mbps = 106 bits per second Bandwidth related to bit width B = 1 Mbps B = 10 Mbps 10 bits Link 1
1 bit 1 microsecond
Link 2
CIS777 SP03
2- Networking Concepts - 60
Latency (delay) " time to send message from point A to point B " one-way versus round-trip time (RTT) " Latency = Propagation_time + Transmit_time + +Queuing _time ! Propagation_time = Distance/SpeedOfLight ! Transmit_time = SizeOfData/Bandwidth ! Queuing _time = Processing time in routers, long in case of network congestion when routers buffer the data
2- Networking Concepts - 61 CIS777 SP03
of light
3.0 x 108 meters/second in a vacuum " 2.3 x 108 meters/second in a cable " 2.0 x 108 meters/second in a fiber No queuing delays in direct link ! Bandwidth not relevant if Size = 1 bit ! Process-to-process latency includes software overhead ! Software overhead can dominate when Distance is small
!
The Ohio State University
2- Networking Concepts - 62
CIS777 SP03
Relative importance of bandwidth and latency " small message (e.g., 1 byte): 1ms vs 100ms dominates 1Mbps vs 100Mbps With bandwidth = 100Mbs => transmit_time = 0.08 micros With bandwidth = 1Mbs => transmit_time = 8 micros " large message (e.g., 25 MB): 1Mbps vs 100Mbps dominates 1ms vs 100ms " With bandwidth = 1Mbs => transmit_time = 200 s " With bandwidth = 100Mbs => transmit_time = 2 s High speed networks " RTT dominates
! !
"
Delay x Bandwidth: amount of data in the pipe, important concept in network design " Example: 100ms x 45Mbps = 560KB
Bandwidth Delay
Application Needs " Bandwidth requirements: burst versus peak rate " Jitter: variance in latency (inter-packet gap)
2- Networking Concepts - 64 CIS777 SP03
Connection-Oriented vs Connectionless
Connection-Oriented: Telephone System " Path setup before data is sent " Data need not have address. Circuit number is sufficient. ! Connectionless: Postal System. " Complete address on each packet " The address decides the next hop at each router
!
The Ohio State University
2- Networking Concepts - 65
CIS777 SP03
2- Networking Concepts - 66
CIS777 SP03
2- Networking Concepts - 67
CIS777 SP03
Ethernet
The diagram was drawn by Dr. Robert M. Metcalfe in 1976 to present Ethernet to the National Computer Conference in June of that year
The Ohio State University
2- Networking Concepts - 68
CIS777 SP03
Interconnection Devices
Repeater: PHY device that restores data and collision signals ! Hub: Multiport repeater + fault detection and recovery ! Bridge: Datalink layer device connecting two or more collision domains. MAC multicasts are propagated throughout extended LAN. ! Router: Network layer device. IP, IPX, AppleTalk. Does not propagate MAC multicasts. ! Switch: Multiport bridge with parallel paths These are functions. Packaging varies.
!
The Ohio State University
2- Networking Concepts - 69
CIS777 SP03
Interconnection Devices
LAN= Collision Domain Application Transport Network Datalink Physical
The Ohio State University
H H
H H
Router Extended LAN =Broadcast domain Application Transport Network Datalink Physical
CIS777 SP03
48-bit:1000 0000 : 0000 0001 : 0100 0011 : 0000 0000 : 1000 0000 : 0000 1100 = 80:01:43:00:80:0C
Organizationally Unique 24 bits assigned by Identifier (OUI) OUI Owner Individual/ Universal/ Group Local 24 1 1 22 ! Multicast = To all bridges on this LAN ! Broadcast = To all stations = 111111....111 = FF:FF:FF:FF:FF:FF
The Ohio State University
2- Networking Concepts - 71
CIS777 SP03
Summary
ISO/OSI reference model has seven layers. TCP/IP Protocol suite has four layers. ! Ethernet/IEEE 802.3 uses CSMA/CD. ! Addresses: Local vs Global, Unicast vs Broadcast.
!
2- Networking Concepts - 72
CIS777 SP03
Homework 4
!
For each of the following addresses: indicate whether it is a multicast and whether it is a locally assigned address? 80:03:45:00:00:00 40:03:45:00:00:01 Were these addresses assigned by the same manufacturer?
2- Networking Concepts - 73
CIS777 SP03