SlideShare una empresa de Scribd logo
1 de 26
Descargar para leer sin conexión
COMPILED BY:
PANKAJ SHARMA

1
CONTENTS





WHAT IS PROJECT 802 ?
TOKEN PROTOCOL
OVERVIEW OF TOKEN BUS
TOKEN RING
TOKEN RING OPERATIONS
TOKEN RING FRAME FORMAT
MAINTENANCE

 COMPARISON OF TOKEN RING AND TOKEN BUS
 APPLICATIONS AND REASONS FOR WHY IT IS NOT IN

USE THESE DAYS.

2
PROJECT 802
Project 802 defined network standards for the
physical components of a network. It got started in the
month February of the year 1980 , that is why the
project name 802.

3
TOKEN PASSING PROTOCOLS
 Before workstation can transmit it must possess the one and

only token.
 Two types:
 Token ring
 Token bus

4
TOKEN BUS : IEEE STANDARD 802.4
 This standard 802.4(Dirvin and Miller and IEEE, 1986)





described a LAN called a token bus.
A simple system in which stations takes turns sending a frame
was introduced know as a TOKEN BUS SYSTEM.
The token bus is linear tree shaped cable onto which stations
are attached.
Logically stations are organized into a ring with each station
knowing the address of the station to its left and right.
During logical ring initialization the highest number station
may send the first frame.
5
 It passes permission to its immediate neighbor by sending the

neighbor a special control frame called a TOKEN.
 Only the token holder is permitted to transmit frames.
 Only one station at a time holds the token therefore no collision
occurs.
 It uses a broadcast medium for each station to receive frames .

6
TOKEN RING
IBM created TOKEN RINGS to compete with DIX
(DEC/Intel/Xerox) standard of Ethernet to improve upon its
previous token bus technology.

7
IEEE 802.5 TOKEN RING
Proposed in 1969 and initially referred to as a Newhall ring.
Token ring :: a number of stations connected by transmission
links in a ring topology. Information flows in one direction
along the ring from source to destination and back to
source. Can both be implemented using star as well as ring
topologies but basically it uses ring topology logically and
star topology physically.
Medium access control :: is provided by a small frame, the
token, that circulates around the ring when all stations are
idle. Only the station possessing the token is allowed to
transmit at any given time.
8
IEEE 802.5 TOKEN RING
 There is a point to point link

between stations that form a ring.
 Physical Layer Topology: Ring
 Stations connected in a loop
 Signals go in only one direction,

station-to-station

 In a token ring a special bit

format called a token circulated
around all the stations.

9
TOKEN RING OPERATION
 When a station wishes to transmit, it must wait for
the token to pass by and seize the token.
 One approach: change one bit in token which transforms it into a

normal data frame and appends frame for transmission.
 Second approach: station claims token by removing it from the
ring.

 The data frame circles the ring and is removed by the
transmitting station.
 Each station interrogates passing frame. If destined
for station, it copies the frame into local buffer.

10
 Ring interfaces have three operating modes.
 Repeater
 Insert

 Copy

Repeater: the input bits are simply copied to output with a delay
of 1 bit time.
Insert: the interface breaks the connection b/w the input &output
entering its own data onto the ring.
Copy: the interface or the station simply copies data into its local
buffer as it is the destined station.
As bits have propagated around the ring & they come back, they
are removed from the ring by the sender.
11
TOKEN RING NETWORK
WITH STAR TOPOLOGY
A

Wiring center Or the multistation attachment unit
E

B

C

D

12
Multistation Attachment Unit
Earlier there was problem of segmentation using just
by - pass relays , but that problem got easily solved
using multistation attachment unit because there were
many stations attached to this single unit . Also the
problem of going down of stations got corrected.

13
Token Frame Format
S

AC

(1 Byte)

E

(1 Byte)

(1 Byte)

Start Frame Delimiter

End Frame Delimiter

P

Priority Bits
000 – lowest
111 - highest

Access Control

P

P

Token Bit
0 – Token frame
1 – nontoken
frame

T

M

R

R

R

Monitor Bit
0 = “clean” frame
1 = “orphaned" frame

Reservation Bits
3-bit field used for
reserving a token
at a prescribed
priority level

14
IEEE 802.5 Data Frame Structure
Data Frame Format
1
SD

1

1

AC

FC

Starting
delimiter

2 or 6

Ending
delimiter
Frame
status

4

Destination Source Information FCS
Address
Address
J

Access
control
Frame
control

2 or 6

K

0

J

M

PPP T

FF
J

A

K

C

Z
1

K 0

Z

Z

A

0

Z

C

J, K

1

ED

FS

non-data symbols

PPP Priority; T Token bit
M Monitor bit; RRR Reservation

RRR

J K1 I

xx

0

1

Z
E

x x

Z

FF
ZZZZZZ
I
E

frame type
control bit

intermediate-frame bit
error-detection bit

A addressrecognized bit
xx undefined
C frame-copied bit
15
Frame
control

FC

00000000 = duplicate address
test; used if two
lobes have the same
address.
00000010 = beacon; used to
locate breaks in the
ring
00000011 = claim token; used to
recover from an
inactive monitor
00000100 = purge; used to
reinitialize the ring.
00000101 = active monitor
present;used by the
active monitor to
inform all lobes that
it is alive.
00000110 = standby monitor
present; used to
notify all lobes that
a standby
monitor is present.

Frame
Status

FS

00xx00xx = address not
recognized;
nothing copied.
10xx10xx = address
recognized;
nothing copied
01xx01xx = address not
recognized; data
copied(major
error)
11xx11xx = address
recognized; data
copied (implies
transmission was
successful).

16
 Starting delimiter and ending delimiter mark the
beginning & ending of the frame.
 Access control consist of token bit, monitor bit,
priority bit.
 Destination address & source address fields gives the
address.
 Checksum field is used to detect transmission errors.

17
Frame status field
 When a frame arrives at the interface A bit is turned on.
 If the interface copies the frame to the station the C bit is

turned on.
 3 combinations:
A=0 C=0 : Destination not present or not
powered.
A=1 C=0 : destination present but frame not
accepted.
A=1 C=1 : Destination present and frame copied.

This increases reliability and acts as automatic
acknowledgement.
18
STAR TOPOLOGY OR WIRE CENTER
• Physically each station is connected to the Multistation

Attachment Unit by a cable. While logically it is still a ring.
• A bypass relay that are energized by the current from the
station are inside the Multistation Attachment Unit.
• When station goes down the station is bypassed from the rest
of the ring.
• Multistation Attachment Unit improves the reliability and
maintainability.

19
MAINTANAINCE
Here we use a MONITER STATION that oversees the
ring.
Active Monitor Station Selection takes place using MAC
addresses.
Active Monitor Station Observes the ring for its correct
functioning.

20
Tasks Performed by Active Monitor
Station
•
•
•
•
•
•

Upstream Neighbour Determination
Sending purge-frame in the ring
Loss of token (no token circulating.
Garbled frames appears.
Orphan frames.
Length of the ring.
Monitor cannot handle breaks in the ring.

21
GARBLED AND ORPHAN FRAMES
Both actually refers to the corrupted frames. For e.g.
sometimes what happens that in case a station after
sending data got corrupted. Now as it is the duty of the
sending station to release the token so as there is no
sending station so this frame becomes orphaned
frame. And that needs to be removed by the monitor
station . Similar is the case with garbled frame .
Monitor Station changes monitor bit to 1 and when it
again receives it , it removes it from the ring.

22
802.4 Vs 802.5









802.4 does not use any monitor like 802.5.
Which is more reliable ? (depends upon the situation)
Token ring & token bus both have priorities but not 802.3.
Adding new station to token bus was difficult as compared to
the addition in token ring.
In token bus there is no relation between the physical location
of a station on the bus to its address whereas it was not so in
token ring.
Both uses broadcasting addresing technique.
Basically token ring is primarily used for control of industrial
and factory automation processes.
Main problem : No active Monitor Station.
23
Applications :
 Used in large Local Area Networks.
 Provides security and save time as there was no packet

collision.

Why It Got Down:
 Single point of Failure.

 Very High Cost.
 The era of Switching technique gave ETHERNET an

edge over it.

24
REFERENCE
 A.S. Tanenbaum, “Computer Networks”.

 en.wikipedia.org/wiki/token_bus_network.
 www.ustudy.in/node/6513
 www.fags.org/rfcs/rfc1230

 ntrg.cs.tcd.ie/meplirce/dce/98/token/compare7.htm

25
THANK YOU

26

Más contenido relacionado

La actualidad más candente (20)

Ethernet
EthernetEthernet
Ethernet
 
Token bus standard
Token bus standardToken bus standard
Token bus standard
 
Data Link Layer| Error Detection
Data Link Layer| Error DetectionData Link Layer| Error Detection
Data Link Layer| Error Detection
 
Physical Layer
Physical LayerPhysical Layer
Physical Layer
 
Introduction to Data-Link Layer
Introduction to Data-Link LayerIntroduction to Data-Link Layer
Introduction to Data-Link Layer
 
Media Access Control
Media Access ControlMedia Access Control
Media Access Control
 
Unit 1 introduction to computer networks
Unit 1  introduction to computer networksUnit 1  introduction to computer networks
Unit 1 introduction to computer networks
 
FDDI
FDDIFDDI
FDDI
 
QOS (Quality of Services) - Computer Networks
 QOS (Quality of Services) - Computer Networks QOS (Quality of Services) - Computer Networks
QOS (Quality of Services) - Computer Networks
 
IEEE 802.11
IEEE 802.11IEEE 802.11
IEEE 802.11
 
Ethernet
EthernetEthernet
Ethernet
 
SPINS: Security Protocols for Sensor Networks
SPINS: Security Protocols for Sensor NetworksSPINS: Security Protocols for Sensor Networks
SPINS: Security Protocols for Sensor Networks
 
Issues in Data Link Layer
Issues in Data Link LayerIssues in Data Link Layer
Issues in Data Link Layer
 
Chapter 4 data link layer
Chapter 4 data link layerChapter 4 data link layer
Chapter 4 data link layer
 
Transport layer protocol
Transport layer protocolTransport layer protocol
Transport layer protocol
 
Ethernet technology
Ethernet technologyEthernet technology
Ethernet technology
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
Ethernet
EthernetEthernet
Ethernet
 
Handoff
HandoffHandoff
Handoff
 
Framing in data link layer
Framing in data link layerFraming in data link layer
Framing in data link layer
 

Destacado

ALOHA Protocol (in detail)
ALOHA Protocol (in detail)ALOHA Protocol (in detail)
ALOHA Protocol (in detail)Hinal Lunagariya
 
Pure Aloha and Slotted Aloha
Pure Aloha and Slotted AlohaPure Aloha and Slotted Aloha
Pure Aloha and Slotted AlohaChun-Kang Luo
 
Multiple Access Protocal
Multiple Access ProtocalMultiple Access Protocal
Multiple Access Protocaltes31
 
Multiple access control protocol
Multiple access control protocol Multiple access control protocol
Multiple access control protocol meenamunesh
 

Destacado (6)

FDDI
FDDIFDDI
FDDI
 
Fddi
FddiFddi
Fddi
 
ALOHA Protocol (in detail)
ALOHA Protocol (in detail)ALOHA Protocol (in detail)
ALOHA Protocol (in detail)
 
Pure Aloha and Slotted Aloha
Pure Aloha and Slotted AlohaPure Aloha and Slotted Aloha
Pure Aloha and Slotted Aloha
 
Multiple Access Protocal
Multiple Access ProtocalMultiple Access Protocal
Multiple Access Protocal
 
Multiple access control protocol
Multiple access control protocol Multiple access control protocol
Multiple access control protocol
 

Similar a Token Ring : 802.5 (20)

TOKEN BUS & TOKEN RING.ppt
TOKEN BUS & TOKEN RING.pptTOKEN BUS & TOKEN RING.ppt
TOKEN BUS & TOKEN RING.ppt
 
Token Ring Basic Concepts
Token Ring Basic ConceptsToken Ring Basic Concepts
Token Ring Basic Concepts
 
ieee 802.4
ieee 802.4ieee 802.4
ieee 802.4
 
ieeeeeee802.ppt
ieeeeeee802.pptieeeeeee802.ppt
ieeeeeee802.ppt
 
Token_Ring.pdf
Token_Ring.pdfToken_Ring.pdf
Token_Ring.pdf
 
Mac protocols
Mac protocolsMac protocols
Mac protocols
 
Computer Networks
Computer NetworksComputer Networks
Computer Networks
 
Controlled Access Protocols
Controlled Access ProtocolsControlled Access Protocols
Controlled Access Protocols
 
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
 
Ieee 802 standard
Ieee 802 standardIeee 802 standard
Ieee 802 standard
 
Synchronous optical networking (SONET)
Synchronous optical networking (SONET) Synchronous optical networking (SONET)
Synchronous optical networking (SONET)
 
Data link layer
Data link layerData link layer
Data link layer
 
Sonet
SonetSonet
Sonet
 
chapter 5.1.pptx
chapter 5.1.pptxchapter 5.1.pptx
chapter 5.1.pptx
 
Intro to Ethernet
Intro to EthernetIntro to Ethernet
Intro to Ethernet
 
Synchronization
SynchronizationSynchronization
Synchronization
 
C C N A Day4
C C N A  Day4C C N A  Day4
C C N A Day4
 
module 2 cn new.pptx
module 2 cn new.pptxmodule 2 cn new.pptx
module 2 cn new.pptx
 
Token ring
Token ringToken ring
Token ring
 
Networking report
Networking reportNetworking report
Networking report
 

Último

AUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptxAUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptxiammrhaywood
 
How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17Celine George
 
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptxClinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptxraviapr7
 
Quality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICEQuality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICESayali Powar
 
Education and training program in the hospital APR.pptx
Education and training program in the hospital APR.pptxEducation and training program in the hospital APR.pptx
Education and training program in the hospital APR.pptxraviapr7
 
How to Add a New Field in Existing Kanban View in Odoo 17
How to Add a New Field in Existing Kanban View in Odoo 17How to Add a New Field in Existing Kanban View in Odoo 17
How to Add a New Field in Existing Kanban View in Odoo 17Celine George
 
How to Use api.constrains ( ) in Odoo 17
How to Use api.constrains ( ) in Odoo 17How to Use api.constrains ( ) in Odoo 17
How to Use api.constrains ( ) in Odoo 17Celine George
 
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdfP4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdfYu Kanazawa / Osaka University
 
PISA-VET launch_El Iza Mohamedou_19 March 2024.pptx
PISA-VET launch_El Iza Mohamedou_19 March 2024.pptxPISA-VET launch_El Iza Mohamedou_19 March 2024.pptx
PISA-VET launch_El Iza Mohamedou_19 March 2024.pptxEduSkills OECD
 
Benefits & Challenges of Inclusive Education
Benefits & Challenges of Inclusive EducationBenefits & Challenges of Inclusive Education
Benefits & Challenges of Inclusive EducationMJDuyan
 
How to Solve Singleton Error in the Odoo 17
How to Solve Singleton Error in the  Odoo 17How to Solve Singleton Error in the  Odoo 17
How to Solve Singleton Error in the Odoo 17Celine George
 
Philosophy of Education and Educational Philosophy
Philosophy of Education  and Educational PhilosophyPhilosophy of Education  and Educational Philosophy
Philosophy of Education and Educational PhilosophyShuvankar Madhu
 
HED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdfHED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdfMohonDas
 
Presentation on the Basics of Writing. Writing a Paragraph
Presentation on the Basics of Writing. Writing a ParagraphPresentation on the Basics of Writing. Writing a Paragraph
Presentation on the Basics of Writing. Writing a ParagraphNetziValdelomar1
 
Diploma in Nursing Admission Test Question Solution 2023.pdf
Diploma in Nursing Admission Test Question Solution 2023.pdfDiploma in Nursing Admission Test Question Solution 2023.pdf
Diploma in Nursing Admission Test Question Solution 2023.pdfMohonDas
 
3.21.24 The Origins of Black Power.pptx
3.21.24  The Origins of Black Power.pptx3.21.24  The Origins of Black Power.pptx
3.21.24 The Origins of Black Power.pptxmary850239
 
Human-AI Co-Creation of Worked Examples for Programming Classes
Human-AI Co-Creation of Worked Examples for Programming ClassesHuman-AI Co-Creation of Worked Examples for Programming Classes
Human-AI Co-Creation of Worked Examples for Programming ClassesMohammad Hassany
 
Patterns of Written Texts Across Disciplines.pptx
Patterns of Written Texts Across Disciplines.pptxPatterns of Written Texts Across Disciplines.pptx
Patterns of Written Texts Across Disciplines.pptxMYDA ANGELICA SUAN
 

Último (20)

AUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptxAUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptx
 
How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17
 
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptxClinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptx
 
Quality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICEQuality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICE
 
Education and training program in the hospital APR.pptx
Education and training program in the hospital APR.pptxEducation and training program in the hospital APR.pptx
Education and training program in the hospital APR.pptx
 
Personal Resilience in Project Management 2 - TV Edit 1a.pdf
Personal Resilience in Project Management 2 - TV Edit 1a.pdfPersonal Resilience in Project Management 2 - TV Edit 1a.pdf
Personal Resilience in Project Management 2 - TV Edit 1a.pdf
 
How to Add a New Field in Existing Kanban View in Odoo 17
How to Add a New Field in Existing Kanban View in Odoo 17How to Add a New Field in Existing Kanban View in Odoo 17
How to Add a New Field in Existing Kanban View in Odoo 17
 
How to Use api.constrains ( ) in Odoo 17
How to Use api.constrains ( ) in Odoo 17How to Use api.constrains ( ) in Odoo 17
How to Use api.constrains ( ) in Odoo 17
 
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdfP4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
 
PISA-VET launch_El Iza Mohamedou_19 March 2024.pptx
PISA-VET launch_El Iza Mohamedou_19 March 2024.pptxPISA-VET launch_El Iza Mohamedou_19 March 2024.pptx
PISA-VET launch_El Iza Mohamedou_19 March 2024.pptx
 
Benefits & Challenges of Inclusive Education
Benefits & Challenges of Inclusive EducationBenefits & Challenges of Inclusive Education
Benefits & Challenges of Inclusive Education
 
How to Solve Singleton Error in the Odoo 17
How to Solve Singleton Error in the  Odoo 17How to Solve Singleton Error in the  Odoo 17
How to Solve Singleton Error in the Odoo 17
 
Philosophy of Education and Educational Philosophy
Philosophy of Education  and Educational PhilosophyPhilosophy of Education  and Educational Philosophy
Philosophy of Education and Educational Philosophy
 
HED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdfHED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdf
 
Presentation on the Basics of Writing. Writing a Paragraph
Presentation on the Basics of Writing. Writing a ParagraphPresentation on the Basics of Writing. Writing a Paragraph
Presentation on the Basics of Writing. Writing a Paragraph
 
Diploma in Nursing Admission Test Question Solution 2023.pdf
Diploma in Nursing Admission Test Question Solution 2023.pdfDiploma in Nursing Admission Test Question Solution 2023.pdf
Diploma in Nursing Admission Test Question Solution 2023.pdf
 
Finals of Kant get Marx 2.0 : a general politics quiz
Finals of Kant get Marx 2.0 : a general politics quizFinals of Kant get Marx 2.0 : a general politics quiz
Finals of Kant get Marx 2.0 : a general politics quiz
 
3.21.24 The Origins of Black Power.pptx
3.21.24  The Origins of Black Power.pptx3.21.24  The Origins of Black Power.pptx
3.21.24 The Origins of Black Power.pptx
 
Human-AI Co-Creation of Worked Examples for Programming Classes
Human-AI Co-Creation of Worked Examples for Programming ClassesHuman-AI Co-Creation of Worked Examples for Programming Classes
Human-AI Co-Creation of Worked Examples for Programming Classes
 
Patterns of Written Texts Across Disciplines.pptx
Patterns of Written Texts Across Disciplines.pptxPatterns of Written Texts Across Disciplines.pptx
Patterns of Written Texts Across Disciplines.pptx
 

Token Ring : 802.5

  • 2. CONTENTS     WHAT IS PROJECT 802 ? TOKEN PROTOCOL OVERVIEW OF TOKEN BUS TOKEN RING TOKEN RING OPERATIONS TOKEN RING FRAME FORMAT MAINTENANCE  COMPARISON OF TOKEN RING AND TOKEN BUS  APPLICATIONS AND REASONS FOR WHY IT IS NOT IN USE THESE DAYS. 2
  • 3. PROJECT 802 Project 802 defined network standards for the physical components of a network. It got started in the month February of the year 1980 , that is why the project name 802. 3
  • 4. TOKEN PASSING PROTOCOLS  Before workstation can transmit it must possess the one and only token.  Two types:  Token ring  Token bus 4
  • 5. TOKEN BUS : IEEE STANDARD 802.4  This standard 802.4(Dirvin and Miller and IEEE, 1986)     described a LAN called a token bus. A simple system in which stations takes turns sending a frame was introduced know as a TOKEN BUS SYSTEM. The token bus is linear tree shaped cable onto which stations are attached. Logically stations are organized into a ring with each station knowing the address of the station to its left and right. During logical ring initialization the highest number station may send the first frame. 5
  • 6.  It passes permission to its immediate neighbor by sending the neighbor a special control frame called a TOKEN.  Only the token holder is permitted to transmit frames.  Only one station at a time holds the token therefore no collision occurs.  It uses a broadcast medium for each station to receive frames . 6
  • 7. TOKEN RING IBM created TOKEN RINGS to compete with DIX (DEC/Intel/Xerox) standard of Ethernet to improve upon its previous token bus technology. 7
  • 8. IEEE 802.5 TOKEN RING Proposed in 1969 and initially referred to as a Newhall ring. Token ring :: a number of stations connected by transmission links in a ring topology. Information flows in one direction along the ring from source to destination and back to source. Can both be implemented using star as well as ring topologies but basically it uses ring topology logically and star topology physically. Medium access control :: is provided by a small frame, the token, that circulates around the ring when all stations are idle. Only the station possessing the token is allowed to transmit at any given time. 8
  • 9. IEEE 802.5 TOKEN RING  There is a point to point link between stations that form a ring.  Physical Layer Topology: Ring  Stations connected in a loop  Signals go in only one direction, station-to-station  In a token ring a special bit format called a token circulated around all the stations. 9
  • 10. TOKEN RING OPERATION  When a station wishes to transmit, it must wait for the token to pass by and seize the token.  One approach: change one bit in token which transforms it into a normal data frame and appends frame for transmission.  Second approach: station claims token by removing it from the ring.  The data frame circles the ring and is removed by the transmitting station.  Each station interrogates passing frame. If destined for station, it copies the frame into local buffer. 10
  • 11.  Ring interfaces have three operating modes.  Repeater  Insert  Copy Repeater: the input bits are simply copied to output with a delay of 1 bit time. Insert: the interface breaks the connection b/w the input &output entering its own data onto the ring. Copy: the interface or the station simply copies data into its local buffer as it is the destined station. As bits have propagated around the ring & they come back, they are removed from the ring by the sender. 11
  • 12. TOKEN RING NETWORK WITH STAR TOPOLOGY A Wiring center Or the multistation attachment unit E B C D 12
  • 13. Multistation Attachment Unit Earlier there was problem of segmentation using just by - pass relays , but that problem got easily solved using multistation attachment unit because there were many stations attached to this single unit . Also the problem of going down of stations got corrected. 13
  • 14. Token Frame Format S AC (1 Byte) E (1 Byte) (1 Byte) Start Frame Delimiter End Frame Delimiter P Priority Bits 000 – lowest 111 - highest Access Control P P Token Bit 0 – Token frame 1 – nontoken frame T M R R R Monitor Bit 0 = “clean” frame 1 = “orphaned" frame Reservation Bits 3-bit field used for reserving a token at a prescribed priority level 14
  • 15. IEEE 802.5 Data Frame Structure Data Frame Format 1 SD 1 1 AC FC Starting delimiter 2 or 6 Ending delimiter Frame status 4 Destination Source Information FCS Address Address J Access control Frame control 2 or 6 K 0 J M PPP T FF J A K C Z 1 K 0 Z Z A 0 Z C J, K 1 ED FS non-data symbols PPP Priority; T Token bit M Monitor bit; RRR Reservation RRR J K1 I xx 0 1 Z E x x Z FF ZZZZZZ I E frame type control bit intermediate-frame bit error-detection bit A addressrecognized bit xx undefined C frame-copied bit 15
  • 16. Frame control FC 00000000 = duplicate address test; used if two lobes have the same address. 00000010 = beacon; used to locate breaks in the ring 00000011 = claim token; used to recover from an inactive monitor 00000100 = purge; used to reinitialize the ring. 00000101 = active monitor present;used by the active monitor to inform all lobes that it is alive. 00000110 = standby monitor present; used to notify all lobes that a standby monitor is present. Frame Status FS 00xx00xx = address not recognized; nothing copied. 10xx10xx = address recognized; nothing copied 01xx01xx = address not recognized; data copied(major error) 11xx11xx = address recognized; data copied (implies transmission was successful). 16
  • 17.  Starting delimiter and ending delimiter mark the beginning & ending of the frame.  Access control consist of token bit, monitor bit, priority bit.  Destination address & source address fields gives the address.  Checksum field is used to detect transmission errors. 17
  • 18. Frame status field  When a frame arrives at the interface A bit is turned on.  If the interface copies the frame to the station the C bit is turned on.  3 combinations: A=0 C=0 : Destination not present or not powered. A=1 C=0 : destination present but frame not accepted. A=1 C=1 : Destination present and frame copied. This increases reliability and acts as automatic acknowledgement. 18
  • 19. STAR TOPOLOGY OR WIRE CENTER • Physically each station is connected to the Multistation Attachment Unit by a cable. While logically it is still a ring. • A bypass relay that are energized by the current from the station are inside the Multistation Attachment Unit. • When station goes down the station is bypassed from the rest of the ring. • Multistation Attachment Unit improves the reliability and maintainability. 19
  • 20. MAINTANAINCE Here we use a MONITER STATION that oversees the ring. Active Monitor Station Selection takes place using MAC addresses. Active Monitor Station Observes the ring for its correct functioning. 20
  • 21. Tasks Performed by Active Monitor Station • • • • • • Upstream Neighbour Determination Sending purge-frame in the ring Loss of token (no token circulating. Garbled frames appears. Orphan frames. Length of the ring. Monitor cannot handle breaks in the ring. 21
  • 22. GARBLED AND ORPHAN FRAMES Both actually refers to the corrupted frames. For e.g. sometimes what happens that in case a station after sending data got corrupted. Now as it is the duty of the sending station to release the token so as there is no sending station so this frame becomes orphaned frame. And that needs to be removed by the monitor station . Similar is the case with garbled frame . Monitor Station changes monitor bit to 1 and when it again receives it , it removes it from the ring. 22
  • 23. 802.4 Vs 802.5         802.4 does not use any monitor like 802.5. Which is more reliable ? (depends upon the situation) Token ring & token bus both have priorities but not 802.3. Adding new station to token bus was difficult as compared to the addition in token ring. In token bus there is no relation between the physical location of a station on the bus to its address whereas it was not so in token ring. Both uses broadcasting addresing technique. Basically token ring is primarily used for control of industrial and factory automation processes. Main problem : No active Monitor Station. 23
  • 24. Applications :  Used in large Local Area Networks.  Provides security and save time as there was no packet collision. Why It Got Down:  Single point of Failure.  Very High Cost.  The era of Switching technique gave ETHERNET an edge over it. 24
  • 25. REFERENCE  A.S. Tanenbaum, “Computer Networks”.  en.wikipedia.org/wiki/token_bus_network.  www.ustudy.in/node/6513  www.fags.org/rfcs/rfc1230  ntrg.cs.tcd.ie/meplirce/dce/98/token/compare7.htm 25