Cpe 490 - Sit
Cpe 490 - Sit
Cpe 490 - Sit
Introduction
d i to Internetworking
ki
Introduction to Internetworking
• Internet technology
gy resulted from Advanced Research
Projects Agency (ARPA).
• TCP/IP technology particular fits very large scale networks
– the
th ARPA/NSF IInternet,
t t th
the TCP/IP IInternet,
t t th
the global
l b l
Internet or the Internet all refer to the same network.
• TCP/IP
C / Internet
te et Protocol
otoco Suite
Su te for
o data communications
co u cat o s
across any set of interconnected networks. (Not necessary
pass through the global Internet.)
• Networks
N i TCP/IP ≠ the
k using h global
l b l Internet.
I
Internet Service
• Significant
g changes:
g traffic loads,, traffic ppatterns and
services.
• Distributed
Di t ib t d operation
ti andd management.
t
Chapter 10
Protocoll Layering
i
Multiple Protocols
• Multiple
p pprotocols needed to handle different pproblems:
– Hardware failure
– Routing
– Network congestion
– Packet delay and loss
– Data corruption
– Data duplication and out-of-order
Layers of Protocols
• The conceptual
p organization
g of pprotocol software in layers.
y
(Figure 10.1)
Layers of Protocols
• Physical
y Layer
y ((layer
y 1):) pphysical
y interconnection between
host computers and network switches. Data unit = raw bits.
• Data Link Layer (layer 2): data transfer between host and
switch
it h – error detection,
d t ti ACK.ACK Data
D t unitit = frame.
f
• Network Layer (layer 3): interactions between host and
network
etwo – data unit,
u t, addressing,
add ess g, routing,
out g, congestion
co gest o
control. Data unit = packet.
• Transport Layer (layer 4): end-to-end reliable data transfer
– ensure no noded failure.
f il
ISO 7-Layer Reference Model
• Session Layer
y ((layer
y 5): ) remote terminal access – terminal
to host interconnection, uni- or bi-directional dialogue
control, synch for file transfer.
• Presentation
P t ti Layer
L (l
(layer 6):
6) syntax
t andd semantics
ti
conversions for applications – data codecs.
• Application
pp cat o Layer
aye ((layer
aye 7): application
app cat o programs.
p og a s.
Inter-Layer Interactions
TCP/IP 5-Layer Reference Model
• Five conceptual
p layers:
y four software layer
y and one
hardware layer.
– Network Interface Layer: accepting IP datagrams and
transmitting them over specific network. Data unit =
frame.
– Internet Layer: communications between two machines
– datagram formation
formation, addressing and routing,
routing ICMP
control. Data unit = datagram.
– Transport Layer: end-to-end communication – flow
control,
l reliable
li bl transfer
f (ACK andd ARQ).
ARQ) Data
D uniti =
(transport protocol) packet.
– Application
pp Layer:
y application
pp pprograms.
g
Difference Between ISO and Internet Layering
• Comparisons
p are made based on implementations,
p , i.e.
X.25 for ISO model, Internet for TCP/IP model.
• Reliable transfer:
– X.25: error detection and handling at all layers.
– Internet: consider it as an end-to-end problem at transport layer.
Simplifies network interface layer and internet layer – unreliable
data link.
• Authority and Control:
– X.25: network vendor has all the authority and controls on network
access and traffic monitoring – routing, flow control internal ACK,
reliable transfer – hosts can do little.
– Internet: hosts have to participate in most of network protocols.
Protocol Layering Principle
• Layering
y g pprinciple:
p layered
y pprotocols are designed
g so that
layer n at the destination receives exactly the same object
sent by layer n at the source.
– It allows protocol designer to focus attention on one
layer at a time.
– Software program at one layer on one host only talks to
the software program at the same layer on the other
host.
• Layering in a TCP/IP internet environment.
– Transport layer and Application layer: end-to-end
transfer
– Internet Layer and Network Interface: hophop-to-hop
to hop
Protocol Layering Principle
• Layering
y g in IP network. ((Figure
g 10.7))
Two Important Boundaries in The TCP/IP Model
• Important
p boundaries in the TCP/IP Model. (Figure
( g 10.9))
Two Important Boundaries in The TCP/IP Model
• High-level
g pprotocol address boundary. y
– Application programs and all protocol software from
Internet layer upward use only IP addresses.
– The network interface layer handles physical addresses.
• Operating System Boundary.
– Application
A li ti programs are outside t id the
th operating
ti system.
t
– Protocol software programs are inside the operating
system.
y
• Passing data between lower layers of protocol
software is much easier than passing data between
th application
the li ti layer
l andd the
th transport
t t layer.
l
Disadvantages of Layering