Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Sameh Napoleon
Ola Aref
1.1 Outline :
1.2 History :
1.3 Advantages :
Peer-to-Peer
Server based
geographic extent
Purpose
implementation technology
1.5.1 LAN :
1.5.2 MAN :
1.5.3 WAN :
physical
Logical
Choosing of a certain topology is according to cost,
flexibility, and reliability
1.6.1 Star :
# Advantages:
1234-
# Disadvantages:
1.6.2 Bus :
# Advantages:
# Disadvantages:
1.6.3 Ring :
# Advantages :
# Disadvantages :
1.6.4 Hybrid :
2.1 Introduction :
Determines physical
characteristics of
interfaces and media
Representation of
bits
Data rate adjustment.
Synchronization of
bits.
Line configuration.
Physical topology.
Transmission mode.
# Example of
the frame
format at data
link layer :
1- Logical addressing
2- Routing
1- Service-point addressing :
Computer soften run several programs at the same time. For this
reason, source-to-destination delivery means delivery not only from
one computer to the next but also from a specific process (running
program) on one computer to a specific process (running program)
on the other. The transport layer header therefore must include a
type of address called a service-point address (or port address). The
network layer gets each packet to the correct computer; the
transport layer gets the entire message to the correct process on
that computer.
3- Connection control :
The transport layer can be either connectionless or connectionoriented. A connectionless transport layer treats each segment as
an independent packet and delivers it to the transport layer at the
destination machine. A connection-oriented transport layer makes a
connection with the transport layer at the destination machine first
before delivering the packets. After all the data are transferred, the
connection is terminated.
4- Flow control :
Like the data link layer, the transport layer is responsible for flow
control. However, flow control at this layer is performed end to end
rather than across a single link.
5- Error control :
Like the data link layer, the transport layer is responsible for error
control. However, error control at this layer is performed end to
end rather than across a single link. The sending transport layer
makes sure that the entire message arrives at the receiving
transport layer without error (damage, loss, or duplication). Error
correction is usually achieved through retransmission.
Dialogue Discipline
Grouping
Recovery
1- Dialogue Discipline:
This can be two-way simultaneous (full duplex) or twoway
alternate (half duplex).
2- Grouping :
The flow of data can be marked to define groups of data.
3- Recovery :
The session layer can provide a check pointing mechanism, so that
if a failure of some sort occurs between checkpoints the session
entity can retransmit all since the last check point. The following
figure illustrates the relationship of the session layer to the
transport and presentation layers.
3- Mail services :
This application provides the basis for e-mail forwarding and storage.
4- Directory services:
2.4 ARQ :
# ARQ Example :
A transmitting node is delivering 20 packets to a receiving node. If the network
caused packet loss of 5 packets, Find the channel utilization efficiency for the
Stop-and-Wait, Selective-repeat mechanisms.
Neglect propagation delay
Window size, W=20 ( This is the only information given about the
scenario)
Packet size is 500 bytes
Time-out is 10 ms
Bit-rate is 1 Mbps
The lost packets have the sequence numbers: 3,4,5,18,19.
The receiving node takes an action after two packets time.
# Solution:
N= Number of packets = 20 (This may be the window size which is necessary for
sequence numbers that is important to keep the packets in order at the
receiving node.
M= Number of lost (retransmitted) packets
P= packet size = 500 bytes= 500 x 8 =4000 bits
A= ACK and NACK packets are 10 bytes = 10 bytes = 10 x 8 =80 bits
R = bit rate = 1 Mbps
( +
Utilization efficiency,
Frame
2
NAK 2
Frame
2
time
ACK 2
Location A
Location B
Frame 1
ACK 1
Timeout
period
N+
Utilization efficiency,
Frame 2
ACK 2
ACK only
Frame 1
Frame 2
= + + =
(
ACK 1
Frame 3
NAK 2
+ )+
Frame 2
Frame 2
time
Frame 4
Frame 5