Professional Documents
Culture Documents
MANs
IEEE has standardized a number of local area networks and
metropolitan area networks under the name of IEEE 802
• 802.1 std:-introduction to set of stds & defines interface
primitives
• 802.2 std:-describes upper part of data link layer which uses
LLC (Logical Link Control) protocol
3 LAN stds
– 802.3 std:-CSMA/CD
– 802.4 std:-token bus
– 802.5 std:-token ring
802.3 CABLING
Packet Definition
• Preamble :of 7 bytes-10101010(this produces a square wave of 10MHz for
5.6 microSec to allow the rxer’s clock to synchronize with the sender.)
• Length: tells how many bytes are present in the data field ( 0 to a max of
1500)
• A valid frame must be at least 64 bytes long from destn adrs to check sum.
• If the data portion of the frame is less than 46 bytes the pad field is used to
fill out the frame to min size.
• Checksum: is a 32-bit hash code of the data .The check sum algorithm is a
CRC type.
Packet Definition
Preamble == 7 bytes of 10101010
Start == 1 byte of 10101011
Dest == 6 bytes of MAC address
multicast == sending to a group of stations.
broadcast== (dest = all 1's) to all stations on network
Source == 6 bytes of MAC address
Length == number of bytes of data
Data == comes down from network layer
Pad == ensures 64 bytes from dest addr thru checksum.
checksum == 4 bytes of CRC.
IEEE STANDARD 802.4:
TOKEN BUS
Drawbacks of 802.3:
• Station have to wait long to send frame
• Frames do not have priorities.
Token Bus
• Need a mechanism to handle real-time, deterministic requirements.
• A ring, with stations take turns in sending frames.
• Uses logical ring on linear cable.
• It is linear or tree-shaped cable onto which the stations are attached.
Mechanism:
• Logically stations are organized into ring with each station knowing the address of the
station to its LEFT and RIGHT.
• When the ring is initialized the highest numbered station may send the first frame.
• Then it passes permission to its immediate neighbor by sending a special control
frame called token
• The token propagates around the logical ring with only the token holder being
permitted to transmit frames.
• Since only 1 station at a time holds the token collisions do not occur.
Token Bus Local ring
17 14 20
Broad band
coaxial cable
• Frame control : distinguish data from ctrl frames. It carries frame priority for
data frame
• Checksum: is a 32-bit hash code of the data .The check sum algorithm is a
CRC type.
Logical Ring Maintenance
1. SOLICIT_SUCCESSOR frames-solicits bids from stns that wish to join
ring
• Frame sends senders addr & successors addr
• If no stn responds within slot time, response window is closed & token
holder continues with its normal opns
• If only 1 stn responds, it is inserted and becomes token holders successor
• If more than 1 stn responds simultaneously then collision occurs. Token
holder then runs arbitration algorithm with broadcast of
RESOLVE_CONTENTION frame
Monitor station oversees the ring, but on failure any station can become monitor.
CLAIM_TOKEN is a request to become the new monitor.
Monitor oversees:
• Lost token management - If timer says token not seen in a while,
produce new one.
• Orphan frames - Frame on ring, but sender crashes before draining
frame
• Garbled frame - Monitor drains the frame and issues new token.
• Delay time - Ensures enough delay so whole token fits on ring.
COMPARISONS OF 802.3, 802.4, AND 802.5:
POSITIVES NEGATIVES