SlideShare ist ein Scribd-Unternehmen logo
1 von 27
Token Bus (IEEE 802.4) : Definition




 Token bus is a physical bus
 that operates as a logical ring
 using tokens.
    (From: Local Area Networks - Fourzan)
Introduction to Token Bus

 Token Bus (IEEE 802.4) combines features of Ethernet
  (a bus topology) and Token ring.

 Stations are logically organized into a ring. A token is
  passed among the stations. If a station wants to send data,
  it must wait and capture the token.

 Token Bus is limited to factory automation and process
  control and has no commercial applications in data
  communication.
Token Bus: Introduction

 The logical ring is formed based on the MAC address
  of the station in descending order.
 Each station considers the immediate lower address
  as next station and the station with immediate
  higher as the previous station.
 Eg:
    20           44         65       90
Token Ring (IEEE 802.5)

 Token ring requires that stations take turns sending data.


 Each station may transmit only during its turn and may
  send only one frame during each turn.

 The mechanism that coordinates this rotation is called
  token passing.
Token Passing
Token Passing
Token Passing
Token Passing
Service Classes
Service Classes
Ring Management
Ring Management: Removing Stations

        1. Voluntary Leaving:
Ring Management: Removing Stations

       2. Unexpected Leaving:
Ring Management: Adding Stations

 CASE 1
Ring Management: Adding Stations

 CASE 1 (Contd….)
Ring Management: Adding Stations

 CASE 2
Ring Management

  Token Recovery
Ring Management

 Removing Duplicate Tokens
Ring Management

 Ring Initialization
Token Bus Layers
 The Token Bus protocol operates in the :-
     a) Data Link Layer:
            1. LLC Sublayer
           2. MAC Sublayer
     b) Physical Layer

 The logical link control (LLC) is the upper part
 sublayer of the data link layer (logical addresses,
 control information, and data)

 Media Access Control (MAC) sublayer resolves
 the contention for the shared media.
Token Bus Layers

              LLC                      Data
                                       Link
              MAC                      Layer

        Physical Layer


Transmission Medium



                                 MAC Sublayer
It uses the token passing access method over a physical bus topology.
Mac Sublayer

 Frame Format – general format of fields in the frame at
 the MAC layer
  1. Preamble: Consists of one or more bytes of a
  pre-defined pattern to synchronize the sender and
  receiver.
 2. Start delimiter: Its 1 byte long and is used to
  alert the receiving station when a frame is arriving.
 3. Frame control: Its 1 byte long and defines the
  type of the frame: if the 1st 2 bits are 00 - MAC control frame
                  if 01 – data frame from LLC layer.
                  if 10 – Data from other protocols.
Mac Sublayer (Frame Control Field)

 A MAC control frame can be:
        000000 – Claim token
        000001 – Solicit successor- 1
        000010 – Solicit successor- 2
        000011 – Who- follows                FC for
                                             control
        000100 – Resolve contention          frames
        001000 – Token
        001100 – Set-successor
        000 – request – with -no- response
                                              FC for
        001 – request – with response         Data
                                              frames
        010 - response
Mac Sublayer

4. Destination address: Contains the physical
 address of the frame’s next destination. The DA may
 or may not be valid based on the type of frame.
         FRAME                       Destination Address
 Claim token             IGNORED
 Solicit successor- 1    ADDRESS OF SUCCESSOR
 Solicit successor- 2    ADDRESS OF SUCCESSOR
 Who- follows            IGNORED
 Resolve contention      IGNORED
 Token                   ADDRESS OF SUCCESSOR
 Set-successor           ADDRESS OF STATION THAT SENT SOLICIT-SUCCESSOR
                         FRAME

 Data                    ADDRESS OF RECEPIENT OF DATA
5. Source Address: Its 2 to 6 bytes long and
 contains the physical address of the sending station.
 Its PRESENT in all types of frames
6. Data: It contains data coming from the LLC layer
 for a data frame or extra information required for
 some control frames
7. FCS: Its 4 bytes long and contains a CRC-32 error
 detection sequence
8. End delimiter: Its 1 byte long and is used to alert
 the receiving station to the termination of a frame. It
 serves as a flag. The field may be 1 or N (non-data) bit.
DATA FIELD CONTENTS:
        FRAME                                     DATA
Claim token            Length of frame
Solicit successor- 1   Missing
Solicit successor- 2   Missing
Who- follows           Missing
Resolve contention     Missing
Token                  Missing
Set-successor          New address of successor
Data                   Data coming from LLC level

  ED FIELD FORMAT:

                       N     N       1      N       1    1   1   1
Physical Layer

Weitere ähnliche Inhalte

Was ist angesagt?

IEEE 802.11 Architecture and Services
IEEE 802.11 Architecture and ServicesIEEE 802.11 Architecture and Services
IEEE 802.11 Architecture and ServicesSayed Chhattan Shah
 
Transport layer services
Transport layer servicesTransport layer services
Transport layer servicesMelvin Cabatuan
 
Guided Transmission Media
Guided Transmission MediaGuided Transmission Media
Guided Transmission Mediaasrabatool
 
Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)k33a
 
Multiple Access Protocal
Multiple Access ProtocalMultiple Access Protocal
Multiple Access Protocaltes31
 
Ch 19 Network-layer protocols Section 1
Ch 19  Network-layer protocols Section 1Ch 19  Network-layer protocols Section 1
Ch 19 Network-layer protocols Section 1Hossam El-Deen Osama
 
HDLC and Point to point protocol
HDLC and Point to point protocolHDLC and Point to point protocol
HDLC and Point to point protocolKinza Razzaq
 
CSMA /CD PPT ON SLIDESHARE
CSMA /CD PPT ON SLIDESHARECSMA /CD PPT ON SLIDESHARE
CSMA /CD PPT ON SLIDESHAREKhushboo Pal
 
Data link control & protocol concepts
Data link control & protocol conceptsData link control & protocol concepts
Data link control & protocol conceptsRaji Lakshmi
 
Network Layer,Computer Networks
Network Layer,Computer NetworksNetwork Layer,Computer Networks
Network Layer,Computer Networksguesta81d4b
 

Was ist angesagt? (20)

Point to-point protocol (ppp)
Point to-point protocol (ppp)Point to-point protocol (ppp)
Point to-point protocol (ppp)
 
IEEE 802.11 Architecture and Services
IEEE 802.11 Architecture and ServicesIEEE 802.11 Architecture and Services
IEEE 802.11 Architecture and Services
 
Sliding window protocol
Sliding window protocolSliding window protocol
Sliding window protocol
 
Media Access Control
Media Access ControlMedia Access Control
Media Access Control
 
Network layer
Network layerNetwork layer
Network layer
 
Error control
Error controlError control
Error control
 
Transport layer services
Transport layer servicesTransport layer services
Transport layer services
 
Guided Transmission Media
Guided Transmission MediaGuided Transmission Media
Guided Transmission Media
 
Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)
 
Multiple Access Protocal
Multiple Access ProtocalMultiple Access Protocal
Multiple Access Protocal
 
Link state routing protocol
Link state routing protocolLink state routing protocol
Link state routing protocol
 
Unit 4 - Network Layer
Unit 4 - Network LayerUnit 4 - Network Layer
Unit 4 - Network Layer
 
Ch 19 Network-layer protocols Section 1
Ch 19  Network-layer protocols Section 1Ch 19  Network-layer protocols Section 1
Ch 19 Network-layer protocols Section 1
 
Data link control protocol(1)
Data link control protocol(1)Data link control protocol(1)
Data link control protocol(1)
 
HDLC and Point to point protocol
HDLC and Point to point protocolHDLC and Point to point protocol
HDLC and Point to point protocol
 
CSMA /CD PPT ON SLIDESHARE
CSMA /CD PPT ON SLIDESHARECSMA /CD PPT ON SLIDESHARE
CSMA /CD PPT ON SLIDESHARE
 
Stop-and-Wait ARQ Protocol
Stop-and-Wait ARQ ProtocolStop-and-Wait ARQ Protocol
Stop-and-Wait ARQ Protocol
 
Data link control & protocol concepts
Data link control & protocol conceptsData link control & protocol concepts
Data link control & protocol concepts
 
Data Link Control
Data Link ControlData Link Control
Data Link Control
 
Network Layer,Computer Networks
Network Layer,Computer NetworksNetwork Layer,Computer Networks
Network Layer,Computer Networks
 

Ähnlich wie Token bus

Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESSComputer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESSDr. SELVAGANESAN S
 
unit2-210710110327.pdf
unit2-210710110327.pdfunit2-210710110327.pdf
unit2-210710110327.pdfssuser3aa461
 
Lan switching technologies
Lan switching technologiesLan switching technologies
Lan switching technologiesMohammedseleim
 
Introduction to the OSI 7 layer model and Data Link Layer
Introduction to the OSI 7 layer model and Data Link LayerIntroduction to the OSI 7 layer model and Data Link Layer
Introduction to the OSI 7 layer model and Data Link LayerVNIT-ACM Student Chapter
 
Jaimin chp-3 - data-link layer- 2011 batch
Jaimin   chp-3 - data-link layer- 2011 batchJaimin   chp-3 - data-link layer- 2011 batch
Jaimin chp-3 - data-link layer- 2011 batchJaimin Jani
 
IEEE standards and Data Link Layer Protocol
IEEE standards and Data Link Layer ProtocolIEEE standards and Data Link Layer Protocol
IEEE standards and Data Link Layer ProtocolSajith Ekanayaka
 
Computer networks lan
Computer networks lanComputer networks lan
Computer networks lanDeepak John
 
datalinklayer-200201062315 (1).pptx
datalinklayer-200201062315 (1).pptxdatalinklayer-200201062315 (1).pptx
datalinklayer-200201062315 (1).pptxMeenaAnusha1
 
The osi model layers
The osi model layersThe osi model layers
The osi model layersINFitunes
 
Ethernet and token ring
Ethernet and token ringEthernet and token ring
Ethernet and token ringAbhijeet Shah
 

Ähnlich wie Token bus (20)

Unit 3 - Data Link Layer - Part A
Unit 3 - Data Link Layer - Part AUnit 3 - Data Link Layer - Part A
Unit 3 - Data Link Layer - Part A
 
Mac protocols
Mac protocolsMac protocols
Mac protocols
 
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESSComputer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
 
unit2-210710110327.pdf
unit2-210710110327.pdfunit2-210710110327.pdf
unit2-210710110327.pdf
 
Lan switching technologies
Lan switching technologiesLan switching technologies
Lan switching technologies
 
Introduction to the OSI 7 layer model and Data Link Layer
Introduction to the OSI 7 layer model and Data Link LayerIntroduction to the OSI 7 layer model and Data Link Layer
Introduction to the OSI 7 layer model and Data Link Layer
 
Computer networking
Computer networkingComputer networking
Computer networking
 
Ethernet
EthernetEthernet
Ethernet
 
Expt no.3
Expt no.3Expt no.3
Expt no.3
 
80211
8021180211
80211
 
802.11 Computer Networks
802.11 Computer Networks802.11 Computer Networks
802.11 Computer Networks
 
Jaimin chp-3 - data-link layer- 2011 batch
Jaimin   chp-3 - data-link layer- 2011 batchJaimin   chp-3 - data-link layer- 2011 batch
Jaimin chp-3 - data-link layer- 2011 batch
 
IEEE standards and Data Link Layer Protocol
IEEE standards and Data Link Layer ProtocolIEEE standards and Data Link Layer Protocol
IEEE standards and Data Link Layer Protocol
 
Computer networks lan
Computer networks lanComputer networks lan
Computer networks lan
 
Chapter#14
Chapter#14Chapter#14
Chapter#14
 
DLL
DLLDLL
DLL
 
Role of CAN BUS in automotives
Role of CAN BUS in automotivesRole of CAN BUS in automotives
Role of CAN BUS in automotives
 
datalinklayer-200201062315 (1).pptx
datalinklayer-200201062315 (1).pptxdatalinklayer-200201062315 (1).pptx
datalinklayer-200201062315 (1).pptx
 
The osi model layers
The osi model layersThe osi model layers
The osi model layers
 
Ethernet and token ring
Ethernet and token ringEthernet and token ring
Ethernet and token ring
 

Kürzlich hochgeladen

Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 

Kürzlich hochgeladen (20)

Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 

Token bus

  • 1. Token Bus (IEEE 802.4) : Definition  Token bus is a physical bus that operates as a logical ring using tokens. (From: Local Area Networks - Fourzan)
  • 2. Introduction to Token Bus  Token Bus (IEEE 802.4) combines features of Ethernet (a bus topology) and Token ring.  Stations are logically organized into a ring. A token is passed among the stations. If a station wants to send data, it must wait and capture the token.  Token Bus is limited to factory automation and process control and has no commercial applications in data communication.
  • 3. Token Bus: Introduction  The logical ring is formed based on the MAC address of the station in descending order.  Each station considers the immediate lower address as next station and the station with immediate higher as the previous station.  Eg: 20 44 65 90
  • 4. Token Ring (IEEE 802.5)  Token ring requires that stations take turns sending data.  Each station may transmit only during its turn and may send only one frame during each turn.  The mechanism that coordinates this rotation is called token passing.
  • 12. Ring Management: Removing Stations 1. Voluntary Leaving:
  • 13. Ring Management: Removing Stations 2. Unexpected Leaving:
  • 14. Ring Management: Adding Stations  CASE 1
  • 15. Ring Management: Adding Stations  CASE 1 (Contd….)
  • 16. Ring Management: Adding Stations  CASE 2
  • 17. Ring Management  Token Recovery
  • 18. Ring Management  Removing Duplicate Tokens
  • 19. Ring Management  Ring Initialization
  • 20. Token Bus Layers  The Token Bus protocol operates in the :- a) Data Link Layer: 1. LLC Sublayer 2. MAC Sublayer b) Physical Layer  The logical link control (LLC) is the upper part sublayer of the data link layer (logical addresses, control information, and data)  Media Access Control (MAC) sublayer resolves the contention for the shared media.
  • 21. Token Bus Layers LLC Data Link MAC Layer Physical Layer Transmission Medium MAC Sublayer It uses the token passing access method over a physical bus topology.
  • 22. Mac Sublayer  Frame Format – general format of fields in the frame at the MAC layer 1. Preamble: Consists of one or more bytes of a pre-defined pattern to synchronize the sender and receiver. 2. Start delimiter: Its 1 byte long and is used to alert the receiving station when a frame is arriving. 3. Frame control: Its 1 byte long and defines the type of the frame: if the 1st 2 bits are 00 - MAC control frame if 01 – data frame from LLC layer. if 10 – Data from other protocols.
  • 23. Mac Sublayer (Frame Control Field)  A MAC control frame can be: 000000 – Claim token 000001 – Solicit successor- 1 000010 – Solicit successor- 2 000011 – Who- follows FC for control 000100 – Resolve contention frames 001000 – Token 001100 – Set-successor 000 – request – with -no- response FC for 001 – request – with response Data frames 010 - response
  • 24. Mac Sublayer 4. Destination address: Contains the physical address of the frame’s next destination. The DA may or may not be valid based on the type of frame. FRAME Destination Address Claim token IGNORED Solicit successor- 1 ADDRESS OF SUCCESSOR Solicit successor- 2 ADDRESS OF SUCCESSOR Who- follows IGNORED Resolve contention IGNORED Token ADDRESS OF SUCCESSOR Set-successor ADDRESS OF STATION THAT SENT SOLICIT-SUCCESSOR FRAME Data ADDRESS OF RECEPIENT OF DATA
  • 25. 5. Source Address: Its 2 to 6 bytes long and contains the physical address of the sending station. Its PRESENT in all types of frames 6. Data: It contains data coming from the LLC layer for a data frame or extra information required for some control frames 7. FCS: Its 4 bytes long and contains a CRC-32 error detection sequence 8. End delimiter: Its 1 byte long and is used to alert the receiving station to the termination of a frame. It serves as a flag. The field may be 1 or N (non-data) bit.
  • 26. DATA FIELD CONTENTS: FRAME DATA Claim token Length of frame Solicit successor- 1 Missing Solicit successor- 2 Missing Who- follows Missing Resolve contention Missing Token Missing Set-successor New address of successor Data Data coming from LLC level ED FIELD FORMAT: N N 1 N 1 1 1 1