Professional Documents
Culture Documents
Lecture 8
Ethernet Timing
d
t =
prop
V
d: the length of physical link between sender and receiver.
V: Propagation Speed
© 2003, Cisco Systems, Inc. All rights reserved. 7
Propagation Speed (V)
Propagation speed is the speed of a medium that the data
travels through.
Medium Propagation Speed
------------ ------------------------------
Thick Coax .77c (231,000 km/sec)
Thin Coax .65c (195,000 km/sec)
Twisted Pair .59c (177,000 km/sec)
Fiber optic .66c (198,000 km/sec)
(c: the speed of light in a vacuum = 3x1o8 m/s)
--------------------------------------------------------------------------------
For 10Base2 network:- L = 185 m, V =195,000km/sec
dist 185
t = = = 950n sec
prop 185 m
speed 1.95 ×10 8
Physical Channel
Machine A Machine B
tprop
Time
Time
Physical Channel
tprop
Time Time
© 2003, Cisco Systems, Inc. All rights reserved. 18
Illustrative Figure - 2
Tt 1 4.8 ms 1 4.8 ms
2 21 4.8 ms 1 9.6 ms
2 21 4.8 ms
1 14.4 ms
2 Tt(one frame) =
21 4.8 ms 1 19.2 ms
24 ms
2 21 4.8 ms 1 24 ms
2 2
4.8 ms
Tt( Whole frames ) = (4.8 ms * 5)24 ms + (number of frames (n) -1) x 4.8 ms
© 2003, Cisco Systems, Inc. All rights reserved. 20
Event Timing (Example -2)
Router A Router B Router C Router D
T0 = Total
time to
tProp
transmit tt 1 1
tProc
2 frames 2 2 1 tProp
1
between tProc
2 2 tProp
PC1 and Data
1 1
tProc
PC2 Transfer 2 2
1
tProp
1
tProc tProp
2 2
Tt (Router) 1 1
= Tt (PC) 2 2
Time Time Time Time Time Time
T0 = 6 tt + 4 tProc + 6 tProp
© 2003, Cisco Systems, Inc. All rights reserved. 21
Event Timing (Example -2)
tt (Router) = tt (PC) = 4.8 ms
• T0 ( Total time to transmit 1 frame) = (no of links) tt +
(no of links - 1) tProc + (no of links) tProp
• tt (Router A) = 9.375 ms
• tt (Router B) = 2.4 ms
• tt (Router C)=9.375 ms
• tt (Router D)= 4.8 ms
• tt (PC) = 4.8 ms
Assume that Propagation and processing times
are negligible
© 2003, Cisco Systems, Inc. All rights reserved. 23
Assume that Propagation and processing times are negligible
Tt 1 4.8 ms 1 4.8 ms
2 2
1 9.375 ms 1
14.175 ms
1 2.4 ms 1 16.575 ms
2 2
Tt(one frame) =
1 9.375 ms 1 30.75 ms
2 2 25.95 ms
1 1
2 2
4.8 ms 30.75 ms
2 4.8 ms
2 9.375
ms
to Network Layer
Logical Link
Control
D ata Link
Layer
Medium Access
Control
to Physical Layer
© 2003, Cisco Systems, Inc. All rights reserved. 25
Functions of the LLC sublayer
Data Link layer control protocols provide different
services to the network layer:
Flow Control : The sender must not send frames at a rate
faster than the receiver can absorb them.
Error Control: If error occurred ,the transmitter will
retransmit or not?
Error detection: Detect that an error occurred in the
received data
Error Correction: Receiver identifies and corrects bit
errors without resorting to retransmission.
Framing & Frame synchronization: the beginning and end
of each frame must be recognized.
© 2003, Cisco Systems, Inc. All rights reserved. 26
Layer 2 Framing
• Framing is the Layer 2 encapsulation process.
• A frame is the Layer 2 protocol data unit.
• The frame format diagram shows different groupings of
bits (fields) that perform other functions.
• Framing provides essential information that could not be
obtained from coded bit streams alone.
• This essential information includes the following:
• Which computers are in communication with each
other.
• When communication between individual computers
begins and when it ends.
• Which errors occurred while the computers
communicated.
© 2003, Cisco Systems, Inc. All rights reserved. 27
Frame Format
• Frame format is the same, allowing interoperability
between all varieties of legacy, fast, Gigabit, and 10
Gigabit, with no reframing or protocol conversions.
6 5 8