Medium Access Control Sublayer Part-2
Medium Access Control Sublayer Part-2
Access Control
Sublayer
114
Ethernet XP
❑ Physical layer
❑ MAC sublayer protocol
❑ Ethernet performance
❑ Switched Ethernet
❑ Fast Ethernet
❑ Gigabit Ethernet
❑ 10 Gigabit Ethernet
❑ IEEE 802.2: Logical Link Control
❑ Retrospective on Ethernet
115
CS2008-Computer Networks
(Dr. V. K. Jain ) 1
Ethernet XP
116
Ethernet XP
❑ Classical Ethernet
❑ which solves the multiple access problem using the techniques we have
studied till now
❑ Data rate is 3 to 10 Mbps
❑ Switched Ethernet: in which devices called switches are used to connect
different computers.
❑ Fast Ethernet (100 Mbps)
❑ Gigabit Ethernet (1000 Mbps)
❑ 10 gigabit Ethernet (10,000 Mbps)
❑ In practice, only switched Ethernet is used nowadays.
❑ Since Ethernet and IEEE 802.3 are identical except for a minor
difference many people use the terms ‘‘Ethernet’’ and ‘‘IEEE 802.3’’
interchangeably.
118
CS2008-Computer Networks
(Dr. V. K. Jain ) 2
Classical Ethernet XP
119
120
CS2008-Computer Networks
(Dr. V. K. Jain ) 3
Classical Ethernet XP
121
Classical Ethernet XP
122
CS2008-Computer Networks
(Dr. V. K. Jain ) 4
MAC Sublayer Protocol (1) XP
124
1. Preamble – 8 bytes
❑ 7 bytes contains 10101010 and 10101011 <- Start
of Frame Delimiter (802.3).
❑ The Manchester encoding of this pattern produces
10-MHz wave for 6.4 msec – used for
synchronization.
❑ The last two bits indicate the start of the frame.
125
CS2008-Computer Networks
(Dr. V. K. Jain ) 5
Classic Ethernet MAC Sublayer Protocol XP
2. Two addresses each 6 bytes – destination +
source
❑ First bit of the destination address is 0 for ordinary
addresses and 1 for group addresses.
❑ Group address allow multiple destinations to listen to a
single address – Multicasting.
❑ Special address consisting of all 1 is reserved for
broadcasting.
❑ Uniqueness of the addresses:
➢ First 3 bytes are used for (Organizationally Unique Identifier)
➢ Blocks of 224 addresses are assigned to a manufacturer.
➢ Manufacturer assigns the last 3 bytes of the address and
programs the complete address into the NIC.
126
128
CS2008-Computer Networks
(Dr. V. K. Jain ) 6
MAC Sublayer Protocol XP
129
4. Data Field
❑ Up to 1500 bytes.
130
CS2008-Computer Networks
(Dr. V. K. Jain ) 7
MAC Sublayer Protocol (2) XP
131
132
CS2008-Computer Networks
(Dr. V. K. Jain ) 8
MAC Sublayer Protocol XP
4. Checksum
❑ It is a 32-bit CRC of the kind that we have
covered earlier.
❑ Defined as a generator polynomial
described in the textbook.
133
Ethernet Performance XP
134
CS2008-Computer Networks
(Dr. V. K. Jain ) 9
Ethernet Performance XP
∞
𝑗−1
1
𝑗𝐴 1 − 𝐴 =
𝐴
𝑗=0
❑ Duration of each slot is 2t, the mean
contention interval w is = 2t/A
135
Ethernet Performance XP
136
CS2008-Computer Networks
(Dr. V. K. Jain ) 10
Ethernet Performance XP
137
Ethernet Performance XP
138
CS2008-Computer Networks
(Dr. V. K. Jain ) 11
Ethernet Performance XP
139
Ethernet Performance XP
140
CS2008-Computer Networks
(Dr. V. K. Jain ) 12
Switched Ethernet XP
141
142
CS2008-Computer Networks
(Dr. V. K. Jain ) 13
Switched Ethernet XP
143
Switch
Hub
Switch ports
Twisted pair
An Ethernet switch.
144
CS2008-Computer Networks
(Dr. V. K. Jain ) 14
Fast Ethernet XP
145
GigaBit Ethernet XP
146
CS2008-Computer Networks
(Dr. V. K. Jain ) 15
Gigabit Ethernet (1) XP
A two-station Ethernet
147
A two-station Ethernet
148
CS2008-Computer Networks
(Dr. V. K. Jain ) 16
Gigabit Ethernet (3) XP
149
10 Gigabit Ethernet XP
150
CS2008-Computer Networks
(Dr. V. K. Jain ) 17
Wireless Lans XP
151
To Network
Access
Point
Client
152
CS2008-Computer Networks
(Dr. V. K. Jain ) 18
802.11 Architecture and Protocol Stack (2)
XP
153
154
CS2008-Computer Networks
(Dr. V. K. Jain ) 19
The 802.11 MAC Sublayer Protocol (1) XP
155
156
CS2008-Computer Networks
(Dr. V. K. Jain ) 20
The 802.11 MAC Sublayer Protocol (3) XP
157
158
CS2008-Computer Networks
(Dr. V. K. Jain ) 21
The 802.11 MAC Sublayer Protocol (5) XP
159
160
CS2008-Computer Networks
(Dr. V. K. Jain ) 22
XP
Broadband Wireless
161
162
CS2008-Computer Networks
(Dr. V. K. Jain ) 23
802.16 Architecture and Protocol Stack XP
163
164
CS2008-Computer Networks
(Dr. V. K. Jain ) 24
XP
802.16 MAC Sublayer Protocol
Classes of service
4. Best-effort service.
165
166
CS2008-Computer Networks
(Dr. V. K. Jain ) 25
Data Link Layer Switching XP
• Uses of bridges
• Learning bridges
• Spanning tree bridges
• Repeaters, hubs, bridges, switches,
routers, and gateways
• Virtual LANs
167
Uses of bridges XP
168
CS2008-Computer Networks
(Dr. V. K. Jain ) 26
Uses of bridges XP
169
Uses of bridges XP
170
CS2008-Computer Networks
(Dr. V. K. Jain ) 27
Learning Bridges XP
171
Learning Bridges XP
172
CS2008-Computer Networks
(Dr. V. K. Jain ) 28
Learning Bridges XP
173
Learning Bridges XP
174
CS2008-Computer Networks
(Dr. V. K. Jain ) 29
Learning Bridges XP
❑ The topology can change as machines and bridges are powered up and
down and moved around.
❑ To handle dynamic topologies, whenever a hash table entry is made,
the arrival time of the frame is noted in the entry.
❑ Whenever a frame whose source is already in the table arrives, its entry
is updated with the current time.
❑ Thus, the time associated with every entry tells the last time a frame
from that machine was seen.
❑ Periodically, a process in the bridge scans the hash table and purges all
entries more than a few minutes old.
❑ In this way, if a computer is unplugged from its LAN, moved around the
building, and plugged in again somewhere else, within a few minutes it
will be back in normal operation, without any manual intervention.
❑ This algorithm also means that if a machine is quiet for a few minutes,
any traffic sent to it will have to be flooded until it next sends a frame
itself.
175
Learning Bridges XP
176
CS2008-Computer Networks
(Dr. V. K. Jain ) 30
Learning Bridges XP
177
Learning Bridges XP
178
CS2008-Computer Networks
(Dr. V. K. Jain ) 31
Spanning Tree Bridges XP
179
180
CS2008-Computer Networks
(Dr. V. K. Jain ) 32
Spanning Tree Bridges (2) XP
181
182
CS2008-Computer Networks
(Dr. V. K. Jain ) 33
Spanning Tree Bridges XP
183
184
CS2008-Computer Networks
(Dr. V. K. Jain ) 34
Poem by Radia Perlman (1985)
XP
Algorithm for Spanning Tree (1)
185
186
CS2008-Computer Networks
(Dr. V. K. Jain ) 35
Repeaters, Hubs, Bridges, Switches,
XP
Routers, and Gateways
187
188
CS2008-Computer Networks
(Dr. V. K. Jain ) 36
Virtual LANs (2) XP
189
190
CS2008-Computer Networks
(Dr. V. K. Jain ) 37
The IEEE 802.1Q Standard (2) XP
191
XP
The End
192
CS2008-Computer Networks
(Dr. V. K. Jain ) 38