module_2_ccn PPT
module_2_ccn PPT
module_2_ccn PPT
9.1 INTRODUCTION
Unicast Address
Each host or each interface of a router is assigned a unicast address.
Unicasting means one-to-one communication. A frame with a unicast
address destination is destined only for one entity in the link.
A3:34:45:11:92:F1
Multicast Address
Some link-layer protocols define multicast addresses. Multicasting
means one-to-many communication. However, the jurisdiction is local
(inside the link).
A2:34:45:11:92:F1
Broadcast Address
Some link-layer protocols define a broadcast address. Broadcasting
means one-to-all communication. A frame with a destination broadcast
address is sent to all entities in the link.
FF:FF:FF:FF:FF:FF
Figure 9.6 Position of ARP in TCP/IP protocol suite
Frame size:
Fixed-Size Framing
Variable-Size Framing
VARIABLE-SIZE FRAMING
TWO APPROACHES:
1.a character/byte-oriented framing
2.a bit oriented framing
Figure 11.1 A frame in a character-oriented protocol
11.16
Note
11.17
Figure 11.3 A frame in a bit-oriented protocol
11.18
Figure 11.4 Bit stuffing and unstuffing
11.19
Note
11.20
Multiple Access Control
Figure 12.1 Taxonomy of multiple-access protocols
12-1 RANDOM ACCESS
12.1.1 ALOHA
12.1.2 Carrier Sense Multiple Access
12.1.3 Carrier Sense Multiple Access with Collision Detection
12.1.4 Carrier Sense Multiple Access with Collision Avoidance
Figure 12.2 Frames in a pure ALOHA network
Figure 12.3 Procedure for pure ALOHA protocol
Figure 12.4 Vulnerable time for pure ALOHA protocol
Note
https://www.youtube.com/watch?v=iKn0GzF5-IU
In CSMA/CD, the data rate is 10 Mbps, the distance between station
A and C is 2km, and the propagation speed is 2 x 108 mls. Station A
starts sending a long frame at time t1=0; station C starts sending a
long frame at time t2=3µs. The size of the frame is long enough to
guarantee the detection of collision by both stations.
Find:
a. The time when station C hears the collision (t3)
b. The time when station A hears the collision (t4)
c. The number of bits station A has sent before detecting the collision.
d. The number of bits station C has sent before detecting the collision.
Figure 12.11 Collision of the first bit in CSMA/CD
Chapter 3.2
13.64
Chapter 3.2
13.65
Figure 17.1 Three categories of connecting devices
13.66
17.1.1 Hubs
13.67
17.1.1 Hubs
13.68
17.1.2 Link – Layer Switches (or Switch)
13.69
Transparent Switches
13.70
Transparent Switches
Learning Switch
13.71
Transparent Switches
Looping
Problem
13.72
Spanning Tree Algorithm (Example)
Step 1: Actual system of connected LANs
13.73
Contd…
Step 3 : Finding the shortest paths and the spanning tree in a system of switches
13.74
Contd…
Step 4: Forwarding and blocking ports after using spanning tree algorithm
13.75
17.2 VIRTUAL LANS
13.76
Figure 17.11 A switch using VLAN software
13.77
Figure 17.12 Two switches in a backbone using VLAN software
13.78
13.79
3. Create system of four LANS with four Switches. The Switches connects the LANS as follows.
1. S1 connects LAN1 and LAN2
2. S2 connects LAN1 and LAN3
3. S3 connects LAN2 and LAN4
4. S4 connects LAN3 and LAN4
Choose S1 as root switch. Show the forwarding and blocking ports after applying the spanning tree.
13.80