Download Distributed Information Systems Lecture 4 - Networking and more Lecture notes Computers and Information technologies in PDF only on Docsity!
Networking &
Internetworking
Dr Simon Blake
Topics for this lecture
This lecture first introduces some fundamentalknowledge and concepts:
Types of networks
Underlying principles
ā¢^
Packet transmission
-^
Data streaming
-^
Switching Schemes
-^
Protocols
-^
Routing
-^
Congestion
-^
Internetworking
- Internet Protocol (TCP/IP)ā UDP and TCPā Firewalls
Networking fundamentals
ā There are many networks composed of many
medias
(fibre, wireless, wire, etc.),
many
hardware devices
(routers, hubs, etc.)
, many
software
(protocols, stacks, drivers, etc.)
ā These all affect the functionality of a DIS
Types of networks
- There are many different types of networks ā We are focusing on:
ā¢^
LANs (Local Area Networks)
-^
WANs (Wide Area Networks)
-^
MANs (Metropolitan Area Networks)
-^
Wireless
-^
Internetworks
100-
0.010-
Global
Internet
100-
0.010-
Global
Wireless WAN
5-
2-
0.15-1.5 kms
Wireless LAN
10
1-
2-50 kms
MAN
100-
0.010-
Global
WAN
1-
10-
1-2kms
LAN
Latency (ms)
Bandwidth (Mbps)
Range
Taken from Coulouris et al, 2003
WANs
Wide Area Networks
- Large range (satellites, optic fibres, microwaves)ā
Lower bandwidth
,^
increased latency
- Networks that are distributed over greater distancesā They employ routers to direct signals between networksā Routing causes delays (latency)ā Travelling potentially large distances also takes timeā Example of the fundamental limitations of communication over
large distances
ā¢^
Assume the speed of light, assume UK to Australia ~ 10000 miles
-^
Europe to Australia will take at least 0.13 seconds
-^
Europe to Australia via global satellite will take at least 0.2 seconds
MANs & WANs
-^
Metropolitan networks
Networks installed in cities, typically copper or optic fibre
DIS can use these networks
Many different technologies, Ethernet, ATM, etc.
-^
Wireless networks
Local area (150 metres or less)
-^
Many types (IEEE 802.11, Bluetooth)
-^
Generally connect local devices, printers, computers, laptops to othernetworks
-^
Bluetooth is a personal LAN
Wide area (global)
-^
Cellular networks
-^
Slower than local area wireless networks
-^
In the process of being upgraded
Networking key concepts
- Topics we are going to consider
Packet transmission
Data streaming
Switching Schemes
Protocols
Routing
Congestion
Internetworking
Packets
Packet transmission
- Messages are passed from computer to computer over networks
via networks
- Messages come in various sizesā Its impractical to send long messages as this would block the
medium for others
- Thus messages are sliced into small sections, known as packetsā A packet is a sequence of data with a defined sizeā Each packet contains information about its addresses (source
and destination)
Switching Schemes
-^
Transmitting information involves sending information betweennodes
-^
This involves switching between networks
-^
This requires a switching scheme
Switching schemes
- Broadcastā Circuit switchingā Packet switchingā Frame relay
Switching Schemes (cont..)
- Switching schemes
- Broadcasting
- No switching is required as everything transmitted
to everything
- i.e. Ethernet, Wireless, etc.
- Circuit switching
- Physical connections (circuits) are made⢠Involves physically connecting wires
- Old telephone network technology
Protocols
- Networks rely on the use of protocols⢠A protocol is ā
a
set of rules and formats
that are used in communication
ā
- Protocol contains:
- A specification of the sequence of messages⢠A specification of the format of the data
Protocols
Why use protocols??
- What happens if you expect a message in English and it arrives
in French? Can you read it?
- Computers too have to worry about the format of the messages
and sequence of messages!
Protocols promote openness as they standardise development.
Some real world example
- Telephone conversation protocol
ā¢^
Simple protocol āhelloā āgoodbyeā
ā¢^
āHelloā, ābank detailsā, āsecurity checkā, ātransactionsā
Protocols and layers
Network protocols are layered
Layering promotes opennessā Layering separates responsibilities
How does it work?
- Messages descend layers from senderā Before ascending layers at the receiver
message
sender
message Communicationmedium
receiver
Layer nLayer ā¦Layer 2Layer 1
Layer nLayer ..Layer 2Layer 1
Protocol suites (OSI)
- Protocol suites
- A protocol suite or protocol stack is complete
set of protocol layers
- The OSI model (Open Systems
Interconnection) is a commonly used exampleof a protocol suite
- The OSI model is a reference model