Comm Basics 2on1a
Comm Basics 2on1a
Outline
Communication trends and scalability
Basics of data communication
How the Internet works
Design Principles and threats for the Internet architecture
Communication Trends
Mobile Communications
Paradigm: anybody, anytime, anywhere
Expected: more mobile phone subscribers than POTS subscribers
(Germany: already 48 Mio. at the end of 2000)
Technical Communications
Today: communication between users
Tomorrow: communication between machines, e.g.
Production infrastructure: tele-metrics, tele-diagnosis, tele-operations
Communications between vehicles:
Home networks: sensors, security, appliances
IP-based Communications
Internet Protocol IP as media independent access
Voice-Over-IP technology is rolling out
“All-IP” networks: Telcos will switch to IP for voice calls
IP
IP
IP
Internet Growth
250
200
150
100
50
0
91 92 93 94 95 96 97 98 99 00 01 02 03 04
Year
t X(t)
Performance of a non-scalable system decreases (strongly) as certain
parameter values increase, possibly until the whole system fails
Communication Systems – Basics of communication and Internet – 1.5 04/05 www.tm.uka.de
Data communication
(more narrow definition in literature and habitual language use):
„Transmission of digital data between telecommunication devices“
„Data
„Data(tele)communication
(tele)communicationisisthe
thegeneric
genericterm
termfor
foreach
eachdata
data
exchange using immaterial media and greater distances
exchange using immaterial media and greater distances
between
betweenmenmenand/or
and/ormachines
machines
(abbreviated:
(abbreviated: Data communication==communication).“
Data communication communication).“
immaterial media:
z Energy flows, usually electric currents, electromagnetic waves
z Opposite: material data transport (e.g. letters, shipping of disks)
message
medium
spatial distance
Communication protocols
Sender Receiver
telecommunication system
entity
entity nn layer n entity
entity nn
entity
entity n-1
n-1 layer n-1 entity
entity n-1
n-1
...
...
entity
entity 11 layer 1 entity
entity 11
Physical medium
Baseband Transmission
t
Native and fully digital:
discrete signal levels, periodic and discrete transition intervals
Maximum data rate for channel with bandwidth B according to
z Nyquist: rmax [bit/s] =2 B log2 n, (n=number of discrete levels, noise-less channel)
z Shannon: rmax [bit/s] = B log2 (1 + S/N) (noisy channel, S/N=Signal-to-noise ratio)
Broadband Transmission
Modulation (amplitude, frequency, phase or combination thereof)
S(t)
Modem (modulator/demodulator) required
t
Communication Systems – Basics of communication and Internet – 1.13 04/05 www.tm.uka.de
Global addressing
Hide network details and changes SMTP, HTTP, RTP, BEEP, ...
from end-to-end protocols
A single protocol (Hourglass Model) UDP, TCP,
SCTP, ...
maximizes interoperability
minimizes the number of service interfaces IP
Lean protocol
Requires minimal common network functionality Ethernet,
in order to maximize the number PPP, ...
of usable networks
End-to-End principle CSMA, CDMA, Asynch., SDH, ...
Robustness by stateless operation
Copper, Glass Fibre, Radio, ...
See also:
http://www.iab.org/Documents/hourglass-london-ietf.pdf
Communication Systems – Basics of communication and Internet – 1.16 04/05 www.tm.uka.de
Routing in the Internet
Problem
How are data packets forwarded in the Internet?
Method
Routing table gives information about the next hop
The protocol IP Transport layer: UDP, TCP
(Internet Protocol) conducts the Protocol
ProtocolIPIP
• •Addressing
forwarding of data Routing protocols
Routing protocols Addressing
• Datagram format
• •RIP,
RIP,OSPF,
OSPF,BGP
BGP • Datagram format
Datagram protocol •„Packet
•„Packethandling“
handling“
z connectionless Protocol
ProtocolICMP
ICMP
Address
Addressresolution • •error
resolution errorreports
reports
z unreliable • •ARP,
ARP,RARP
RARP Routing • •Signalling
Signallingbetween
between
table routers
z segmentation and routers
reassembly Data link layer
network
networkpart
part subnet
subnetpart
part end
endsystem
system
Subnet masks mark the area of the IP address describing the network and the sub-
network. This area is marked as ones („1“) in the binary form of the subnet mask.
Example
IP address: 129. 13. 3. 64
Subnet mask: 255. 255. 255. 0 =
1111 1111 1111 1111 1111 1111 0000 0000
Application Application
Connect with
TCP TCP TCP
12 . 0 . 0 . 21
IP 12 . 0 . 0 . 34 12 . 0 . 0 . 21 IP
MAC MAC
08002B90102456 ????????????????
Internet
Forwarding in an IP router
Network scenario with router
End system A
End system B
129.13.3.108
145.5.9.27
Router 1 Router 2
129.13.3.60 132.2.2.7
132.2.2.3 145.5.9.19
M AC-A
If A If B If A If B M AC-B
AS 121
AS 110 AS 114
AS 101 AS 113
AS 122
Source: http://bgp.potaroo.net
Scalability
Inter-AS: further abstraction level;
Size of routing tables and number of updates can be reduced, as failures within
one AS can mostly remain hidden
Intra-AS: higher stability
Performance
Inter-AS: Policies are necessary and more important than performance metrics
Intra-AS: Concentration on performance metrics
Intra-AS Routing
Well-known protocols for Intra-AS routing are
RIP (Routing Information Protocol) Æ Distance Vector Protocol
OSPF (Open Shortest Path First) Æ Link State Protocol
IS-IS (Intra-Domain Intermediate System to Intermediate System Routing
Protocol) Æ Link State Protocol
z originally ISO/OSI routing protocol
z used for IP by big providers
EIGRP (Enhanced Interior Gateway Routing Protocol)
z CISCO proprietary
Intra-AS routing protocols are often called Interior Gateway Protocols (IGP)
OSPF:
Vertex=Node
Connectivity and link states are flooded through the network (router/
Every router has the same view of the network subnet)
Network is mapped to Graph (V,E)
Calculates shortest paths
with Dijkstra’s algorithm Edge=Link
interior Router
N1
border router
R1 R13
R3 (ASBR) virtual
N2 (ABR) connection
R2 Routing Area
(OSPF Area)
R4 R12
(ABR) (BBR) N: Network
N4 R10
ASBR/
ABR
AS 1 AS 2
BGP Speaker
120.0.0.0/8
100.0.0.0/8 111.0.0.0/8 112.0.0.0/8 AS 121
AS 100 AS 111
AS 101 121.0.0.0/8
110.0.0.0/8 114.0.0.0/8
AS 110 AS 114
101.0.0.0/8 AS 113 113.0.0.0/8
AS 122 122.0.0.0/8
Routing in "Default-Free-Zones"
Two modes of operation of BGP (same protocol, IBGP
but different rules) for the distribution EBGP
of routing information
Between two AS: with EBGP (External BGP)
Within one AS: with IBGP (Internal BGP)
Internal full mesh of
TCP connections necessary
No distribution of routes learnt with EBGP
IBGP to IBGP neighbors IBGP
EBGP AS X
AS Y
EBGP
IBGP EBGP
Transport Layer
Tasks
End-to-end service
application-based addressing (Ports)
reliable/unreliable
Reliable protocol
Error and loss detection
Retransmission
Segmentation/Reassembly
Flow control
Congestion control
Examples
TCP (Transmission Control Protocol)
UDP (User Datagram Protocol)
SCTP (Stream Control Transmission Protocol)
DCCP (Datagram Congestion Control Protocol)
Discussion End-to-End-Argument
This means especially:
specific functionality of the application layer usually can and should
preferably not be placed in the network itself
Minimality principle:
Avoid integrating more than the essential and necessary functionality into the
network
Keep unnecessary functionality out of the networkÆ Keep it simple
Not a strict law, rather a guideline
Possible procedure for future mechanisms which seem to infringe upon the
End-to-End principle:
Split E2E-Argument into the components
Protection of innovation
z Introduction of new mechanisms is easier in end systems
Reliability/Robustness and trust
z add security, where necessary