inf4/msc computer networking and computer communications (7e), william stallings. prentice hall,...
TRANSCRIPT
INF4/MScComputer Networking
Lecture 1: Introduction & Overview
D K Arvind
dka AT inf.ed.ac.uk
IF 2.18
2
We will look at:– Network architecture principles
» From signals and wires to protocols
– Architecture of the Internet
– Wireless networks» LANs, personal area, wide/metropolitan area
3
Recommended Reading
• Much of the course is based on the textbook:Computer Networking: A top-down approach featuring the Internet,
(3/e) J. Kurose & K. Ross, Addison-Wesley, 2005
• Many other good books:1.Communication Networks (2e), Leon-Garcia & Widjaja. McGraw Hill, 2004
– Last year’s book. Still OK, if you got it second hand, or from the library
2.Computer Networks (4e), Andrew S. Tanenbaum. Prentice Hall, 2003
3.Data and Computer Communications (7e), William Stallings. Prentice Hall, 2003
• News on developments on comp. networking
4
Learning Outcomes
• Knowledge of key concepts, protocols and algorithms in networking
• An understanding of the complexity of networks, their structure and utility
• The ability to apply knowledge to networking applications, to network infrastructure and to network management
• The ability to write and present clear and concise description of complex issues
• An insight into likely future developments in the field of networking
5
Assessment
• 75% of course mark– Final exam
– Past papers available from the School archive
• 25% of course mark– Two coursework assignments, equally weighted
• Coursework (look web page for dates, etc)1.Essay on convergence in telecommunication networks
2.Technical report based on a survey of papers
• Plagiarism: don’t do it!– Read the relevant informatics and university web pages
6
Course admin
• Lecturers: DK Arvind & Mahesh Marina
• Two lectures / week– 10am Mon, WRB G.04
– 10am Thu, WRB G.04
• Course web page:www.inf.ed.ac.uk/teaching/courses/cn
• Newsgroup:eduni.inf.ug4
Contact: dka AT the usual address
7
Networked Critical Infrastructure
• A modern state has a network of control systems for the measurement and change of the infrastructure state for safe, uninterrupted, and efficient delivery of utilities (electricity, water), of services (telecommunication, health, transportation, banking), and of essential commodity (gas, oil)
• A network of distributed sensors for collecting data and software for extracting and interpreting information to raise the security of the critical infrastructure
8
Interdependencies, Interdependencies,…
Switches, control systems
Storage, pumps, control systems, compressors
e-commerce, IT
Pumps, lifts, control systems
Signalization, switches,control systems
e-government,IT
Medical equipment
TransportationTransportation
Oil & Natural Gas
EELLEECCTTRRIICCIITTYY
Potable & Waste WaterPotable & Waste Water
Emergency ResponseEmergency Response
GovernmentTTEELLEECCOOMM
Banking & FinanceBanking & Finance
Water for cooling, emissions control
Water for production, cooling, emissions control
Fire suppression
Cooling
Com
mun ication s
SCADA
SCADA
Trading, transfers
SCADA
Com
mun ication s
Location, EM contact
Currency (US Treasury; Currency (US Treasury; Federal Reserve )Federal Reserve )
DOE;DOE;DOTDOT
Regulations & enforcement Regulations & enforcement FERC; DOEFERC; DOE
Personnel/Equipment Personnel/Equipment (Military)(Military)
Financing, regulations, & enforcem
entFinancing, regulations, &
enforcement
FASB; IRCFASB; IRC
FEMA; DOTFEMA; DOT
DOTDOT
EPAEPA
Detection, 1st responders, repair
Switches, control systems
Storage, pumps, control systems, compressors
e-commerce, IT
Pumps, lifts, control systems
Signalization, switches,control systems
e-government,IT
Medical equipment
Switches, control systemsSwitches, control systems
Storage, pumps, control systems, compressors
e-commerce, IT
Pumps, lifts, control systems
Signalization, switches,control systems
e-government,IT
Medical equipment
Storage, pumps, control systems, compressors
Storage, pumps, control systems, compressors
e-commerce, ITe-commerce, IT
Pumps, lifts, control systemsPumps, lifts, control systems
Signalization, switches,control systems
Signalization, switches,control systems
e-government,ITe-government,IT
Medical equipmentMedical equipment
TransportationTransportation
Oil & Natural Gas
EELLEECCTTRRIICCIITTYY
Potable & Waste WaterPotable & Waste Water
Emergency ResponseEmergency Response
GovernmentTTEELLEECCOOMM
Banking & FinanceBanking & Finance
Water for cooling, emissions control
Water for production, cooling, emissions control
Fire suppression
Cooling
Com
mun ication s
SCADA
SCADA
Trading, transfers
SCADA
Com
mun ication s
Location, EM contact
Currency (US Treasury; Currency (US Treasury; Federal Reserve )Federal Reserve )
DOE;DOE;DOTDOT
Regulations & enforcement Regulations & enforcement FERC; DOEFERC; DOE
Personnel/Equipment Personnel/Equipment (Military)(Military)
Financing, regulations, & enforcem
entFinancing, regulations, &
enforcement
FASB; IRCFASB; IRC
FEMA; DOTFEMA; DOT
DOTDOT
EPAEPA
Detection, 1st responders, repair
TransportationTransportation
Oil & Natural Gas
EELLEECCTTRRIICCIITTYY
Potable & Waste WaterPotable & Waste Water
Emergency ResponseEmergency Response
GovernmentTTEELLEECCOOMM
Banking & FinanceBanking & Finance
TransportationTransportationTransportationTransportation
Oil & Natural GasOil & Natural Gas
EELLEECCTTRRIICCIITTYY
EELLEECCTTRRIICCIITTYY
Potable & Waste WaterPotable & Waste WaterPotable & Waste WaterPotable & Waste Water
Emergency ResponseEmergency ResponseEmergency ResponseEmergency Response
GovernmentGovernmentTTEELLEECCOOMM
TTEELLEECCOOMM
Banking & FinanceBanking & FinanceBanking & FinanceBanking & Finance
Water for cooling, emissions control
Water for production, cooling, emissions control
Fire suppression
Cooling
Water for cooling, emissions controlWater for cooling, emissions control
Water for production, cooling, emissions controlWater for production, cooling, emissions control
Fire suppressionFire suppression
CoolingCooling
Com
mun ication s
SCADA
SCADA
Trading, transfers
SCADA
Com
mun ication s
Location, EM contact
Com
mun ication s
SCADA
SCADA
Trading, transfers
SCADA
Com
mun ication s
Location, EM contact
Com
mun ication s
SCADA
SCADA
Trading, transfers
SCADA
Com
mun ication s
Location, EM contact
SCADA
SCADA
Trading, transfers
SCADA
Com
mun ication s
Location, EM contact
Currency (US Treasury; Currency (US Treasury; Federal Reserve )Federal Reserve )
DOE;DOE;DOTDOT
Regulations & enforcement Regulations & enforcement FERC; DOEFERC; DOE
Personnel/Equipment Personnel/Equipment (Military)(Military)
Financing, regulations, & enforcem
entFinancing, regulations, &
enforcement
FASB; IRCFASB; IRC
FEMA; DOTFEMA; DOT
DOTDOT
EPAEPA
Currency (US Treasury; Currency (US Treasury; Federal Reserve )Federal Reserve )
DOE;DOE;DOTDOT
Regulations & enforcement Regulations & enforcement FERC; DOEFERC; DOE
Personnel/Equipment Personnel/Equipment (Military)(Military)
Financing, regulations, & enforcem
entFinancing, regulations, &
enforcement
FASB; IRCFASB; IRC
FEMA; DOTFEMA; DOT
DOTDOT
EPAEPA
DOE;DOE;DOTDOT
Regulations & enforcement Regulations & enforcement FERC; DOEFERC; DOE
Personnel/Equipment Personnel/Equipment (Military)(Military)
Financing, regulations, & enforcem
entFinancing, regulations, &
enforcement
FASB; IRCFASB; IRC
FEMA; DOTFEMA; DOT
DOTDOT
EPAEPA
Detection, 1st responders, repair
Detection, 1st responders, repair
Detection, 1st responders, repair
Source: Miriam Heller
9
The Plant: A Complex EnvironmentThe Plant: A Complex Environment
μ sec
msec1 sec
secsminhours
Plant Servers
OtherComputingDevices
Business Management
Area ServersPlantNetworkModules
NetworkGateway
NetworkGateway
Process Management
Subnetwork Gateway
ApplicationModule
HistoryModule
Personal ComputerNetwork Manager
Control Stations
ArchiveReplay Module
AdditionalCN Modules
Fiber Optics
NetworkInterfaceModuleOther Data
Hiway BoxesMultifunctionController
ExtendedController
BasicController
AdvancedMultifunctionController
LocalProcessors
Subn
etwo
rk
CONTRO
L NETWO
RK
SmartineTransmitters
PLCGateway
OtherSubsystems
PLC
Logic ManagerProcessManager
AdvancedProcessManager
Transmitters
Control NetworExtenders
Field Management
Source: TRUST
10
Service-oriented view of computer networks
• A computer network provides a communication service, i.e. enables the exchange of information between computers (and their users) that are located at various geographical locations
• Communication service is ubiquitous and an essential infrastructure of modern society
• Comparable in value with transportation, water, electricity,…
• Because there are no limits to information, networking enables further services
– For example the telephone network enables fax, voicemail, electronic banking, ,…
– Computer networks enable email, information search, electronic commerce, …
• Value of the network depends on its size: the larger, the better– What’s the use of email if only a few people use it?
11
Characteristics of the communicated information
• Non-interactive:
– Text, pictures, music, video
– Two sub-categories: streaming or not» jitter is most important for streaming multimedia
• Interactive:
– Teleconferencing, videoconferencing, instant msg/chating
Size is an important factor– Compression (lossy/lossless) can help, opens up a computation vscommunication trade-off
Worst case: Musicians playing instruments together through the network
– Requires low latency, high-throughput (for quality sound), low jitter
12
Characteristics of the communication services
• Connection-oriented (think telephone)
– Receiver is active while information is transmitted
– Must establish connection, before any data is transmitted
• Connectionless (think [e]mail)
– Data transmission can start earlier
• Other service characteristics:– Confirmed – unconfirmed delivery
– Quality of service characteristics:» Performance (delay, throughput, delay-variation…)
» Error rate, security,…
13
Approaches to Network Design
• Networks provide connectivity between users at the network edgethrough a transmission system, the network core
– Using various types of physical media (wires, radio, optical fibre, etc.) and devices (switches, routers, multiplexers, etc.)
– Network core equipment is fundamentally different to equipment at the network edge
t0 t1Network
• Cost-effective design necessary to meet user requirements– Networks usually designed to carry specific types of information
– Voice, TV, bits, characters etc.
14
• Pairwise interconnections would require N*(N-1) links– or a central switching access network, and just N access links
• Networks consist of point-to-point links interconnected by switches– for a multi-hop path, routing decides which path to take at a switch
– forwarding actually moves the data in the direction decided
The N2 Problem
15
• Connections between local communities use trunks between local switches
– Multiplexers concentrate the traffic over the more expensive line
– Demultiplexers separate out the individual parts of the traffic for distribution
A
A
Metropolitan
a
c
b
d γ
α
β
National
• Networks are hierarchical:– Metropolitan networks interconnect access networks
– Regional networks connect metropolitan networks
– National networks, international networks etc. using backbone networks
Larger Networks
16
– Networks of networks
– The Internet Protocol (IP) was developed to provide connectionless transfer of packets across an internet
– The component networks are interconnected by packets switches called gateways or routers, which direct the transfer of packets
– IP provides a best-effort service i.e. it does its best to deliver a packet, but it does not guarantee successful delivery
GG
G
GG
net 1
net 2
net 3
net 4
net 5
G
G = gateway
Internetworks
17
Addressing required to identify source and destination end-points
– Hierarchical addressing uses common prefixes for end-points in the same geographical areas
» Facilitates routing
» As in a postal address: country, county, town, district, street, number;the Post Office batches mail for countries and for towns, districts, streets etc.
– Hierarchical addressing in Wide Area Networks e.g. the Internet» Also facilitates routing
– Flat addressing in Local Area Networks e.g. ethernets» Adequate for the typically small number of local area end-points
Addressing
18
• Circuit-switching– In early communication networks, switching was performed at the electrical signal level, creating a real circuit end to end
– In modern digital transmission media, circuit-switching means allocation of dedicated resources (e.g. a share of a link’s transmission capacity) end to end
– Switches forward information one bit at a time (in theory)
• Packet/message switching– Switches store whole packet and then forward it using the full link transmission capacity
– Connectionless or datagram» Each packet/message routed independently of all other packets
– Virtual circuit» A route set up through switches and links in the network
» All subsequent packets forwarded along the same path
Switching
19
Technology, Regulation, Markets, Standards
– Availability of a technology does not mean it will sell
– Never very clear beforehand whether a market exists for a product or service
– The move away from monopoly telecomms suppliers makes standards essential
Technology
Regulation Market
Standards
Can it be built?
Will it sell?Is it allowed?
Will it inter-operate?
Factors in Communication Network Evolution
20
Computer network uses
• Resource sharing– Printers, disks, specialised hardware, …
• Information sharing– Database access
• Human communication– Email, Voice-over-IP, file-sharing (pictures, music,…)
• Commerce– Shopping on-line, banking, …
• Entertainment– Movies, games
• Remote access/monitoring/working
“Users” of the network– Computers
– Humans: experts, general public
21
• Limited by fundamental physical laws– In most cases substantial opportunities for improvement remain
• Key technologies– Transmission systems
– Computer processing capacity (Moore’s Law)
Time
CumulativeExperience
Technical Expert
Entrepreneur
Professional Manager
Technology
Multiple technologies overlap
22
– Telecomms services have always been government regulated» until very recently as state monopolies
– Deregulation and privatisation of monopolies» more competition in long distance telecomms
» cable television and satellite broadcasting competition to terrestrial
– Radio spectrum allocation» has always been closely controlled nationally and internationally
» cellular telephone frequencies, 900MHz and 1800 MHz allocations
» 3G spectrum auctions
– Office of Communications (Ofcom) in the UK» promoting consumer interest
» maintaining effective competition
» ensuring services to meet all reasonable demands e.g. emergency services, directory information, rural services etc.
Regulation
23
– Usefulness of a service often depends on there being a critical mass of subscribers e.g. email, SMS
– Economies of scale often vital to sustain services and develop new ones» cable and satellite TV
» mobile phones
– Entrepreneurs always searching for the next “Killer App”» SMS messaging on mobile phones a success
» WAP a failure
Market
24
– Agreements, industry-wide, with national and international scope
– Ensure interoperability of equipment made by different vendors» competition reduces prices
– Physical standards such as plugs and sockets e.g. USB
– Usage standards such as communications protocols» whether implemented by software or hardware
– Can arise initially as de facto standards from a successful product» e.g. ethernet
» internationally standardised later
– or developed by subcommittees of standards bodies» Internet Engineering Task Force (IETF)
» Institute for Electrical and Electronics Engineers (IEEE)
» International Telecommunications Union (ITU)
» International Standards Organisation (ISO)
Standards