Computer Network Tutorial

Introduction of Computer Network Types of Computer Network Network Topology Computer Networking Architecture Transmission Modes (Data Flow) Basic Networking Devices Integrate Services Digital Network (ISDN)

Model

OSI Model TCP/IP Model

Physical Layer

Digital Transmission Analog Transmission Transmission Media Switching

Data Link Layer

Error detection and Error correction Data Link Control Multiple Access Aloha

Network Layer

Network Layer - Logical Address Address Mapping Unicast Routing Protocol

Transport Layer

Process to Process Delivery User Datagram Protocol Transmission Control Protocol Stream Control Transmission Protocol Session Layer and Presentation Layer

Application Layer

Domain Name System Application Protocol E-mail Cryptography

Misc

Classes of Routing Protocols Classification of Routing Algorithms Controlled Access Protocols in Computer Networks Differences between IPv4 and IPv6 Fixed and Flooding Routing Algorithms Advantages and Disadvantages of Fibre Optics Cable APIPA Difference between Active and Passive FTP Fiber Optics and its Types Method of Joining and Fusion of Fiber Optic Cable Define Framing in Computer Network Disadvantages of Computer Network Mesh Topology Diagram in Computer Network Ring Topology in Computer Network Star Topology in Computer Networks 4G Mobile Communication Technology Advantages and Disadvantages of LAN Advantages and Disadvantages of MAN Advantages and Disadvantages of WAN Application Layer in OSI Model Cyclic Redundancy Check Example Data link layer in OSI model Difference between Transport and Network Layer Hamming Code Example Network Layer in OSI Model Session Layer in OSI Model Transport Layer in OSI Model Two Port Network in Computer Networks Uses of Computer Networks What is Computer Network What is Framing in a Computer Network Advantages and Disadvantages of Bus Topology Difference between Star Topology and Bus Topology Subnetting in Computer Network Subnetting Questions and Answers What is Bus Topology What is Network Topology and Types in Computer Networks Access Control in Networking Basic Characteristics of Computer Network Benefits of SOCKS5 Proxy in Computer Networks Computer Network viva Questions Difference between BOOTP and RARP Difference Between Network Topologies and Network Protocols Difference between NFC and RFID Difference Between Point-to-Point Link and star Topology Network Differences Between MSS and MTU Differences Between Trunk Port and Access Port Different Modes of Communication in Computer Networks MIME Protocol in Computer Networks Modes of Communication in Computer Networks Network Attack in Computer Network Port Address in Networking Simplest Protocol in Computer Network Sliding Window Protocol in Computer Network Stop And Wait Protocol in Computer Networks TCP 3-Way Handshake Process in Computer Networks What is a Proxy Server What is APPN What is ICMP Protocol What is Point-to-Point Protocol What is Port Address in Networking What is the HDLC Protocol What is VRRP Protocol Difference Between Analog and Digital Signals Difference Between Hub and Repeater Difference between Repeater and Switch Difference Between Transparent Bridge and Source Routing Bridge Source Routing Bridge in Computer Networks Transparent Bridge in Computer Networks Transport Protocol in Computer Networks Types of CSMA in Computer Networks What is Wired and Wireless Networking Network Security in Computer Network Disadvantages of Extranet Difference Between TELNET and FTP Define Protocol in Computer Networks Guided Transmission Media in Computer Network What is a Gateway in a Computer Network IGMP in Computer Networks LAN Protocols in Computer Networks MAN Meaning in Computer Modulation Techniques in Computer Networks Switching in DCN TCP/IP Applications What is IGMP? What is Modem in Networking What is Non-Persistent CSMA Difference between Cell Splitting and Cell Sectoring Forouzen Computer Network Open Loop and Closed Loop Congestion Control Types of Cluster Computing WAP-Wireless Access Point What are the elements of the Transport Protocol Difference between Gateway and Switch Flow Control in Data Link Layer Body Area Network Flooding in Computer Network Token Ring in Computer Networks VoIP in Computer Networks What is Infrared Transmission Congestion Control Techniques Forward Error Correction (FEC) Switching Techniques What is Telnet in Computer Network What are the Types of IPv4 Addresses IEEE 802.6 (DQDB) IEEE 802.15.4 Technology What is HDLC (High-level Data Link Control)? What is SMS Hubbing in Telecom? Circuit Switching in Computer Networks Communication Satellites in Computer Networks Features of HTTP Protocol IMAP4 (Internet Message Access Protocol) Internet Services How to Set up a Wireless Router Internetwork Routing in Computer Networks Distributed Computing System Features of GSM The 802.11 MAC Sublayer Protocol What is IEEE 802.3? What are Hubs and Switches in Computer Networks? What is Modem in a Computer Network? What is multicasting in Computer Networks? GSM -The Mobile Station What is Network Server? Slotted Aloha in Computer Network What is Ethernet in Computer Networks What is Arpanet? Radio Access Network (RAN) TCP 3-Way Handshake Process PING SWEEP (ICMP SWEEP) Print Server Private IP Address Security Services in Computer Networks Protocol Data Unit (PDU) CSMA with Collision Avoidance (CSMA/CA) What is Gateway in Computer Network? Advantages of Networking Data Link Layer Design Issues DHCP in Computer Networks Internet Security Association and Key Management Protocol (ISAKMP) What is Switch Hub? Telnet Full form in Networking Multimedia Systems Quality of Service in Computer Networks What is Carrier Sense Multiple Access (CSMA)? What is Circuit Switching What is Duplex Network? What is Web Protocol Network LAN Technologies Classes in Computer Network Low-Density Parity Check (LDPC) Wireless Internet Service Providers(Wisps) What is Handshaking? Cache Server What Is WSN Network? Check Sum Error Detection Linear Bus Topology Functions of the Transport Layer Infrared Transmission in Computer Networks Digital Signal in Computer Network Digital Data Transmission in Computer Networks Define Checksum with Example Computer Network Security Requirements Brust Errors in Computer Network Back Side Bus (BSB) 2-Dimension Parity Check in Computer Network Router and Brouter Microwave Transmission in Computer Networks Magnetic Media in Computer Network A One-Bit Sliding Window Protocol CDMA-Near-Far Problem Reference Models in Computer Networks Uni-cast, Broadcast, and Multicast in Computer Networks Uses Of Bridges in Computer Networks What are Gateways in Computer Network? How to Set Up a Home Network – A 7-Step Guide GSM in Computer Networks Multicast Routing Protocols in Computer Networks Network Components Types of Ethernet in Computer Networks BGP vs.EIGRP-What's the difference? Green Cloud Computing and its Strategies Packet Switching Router in Computer Network Advantages and Disadvantages of Routers ATM Network Automatic Repeat ReQuest (ARQ) Static Routing Algorithms in Computer Network TDMA – Technology Data Link Layer services provided to the Network Layer Transmission Impairments in Computer Networks Types of Modems What are Elementary Data Link Layer Protocols What is an Ad-hoc Network? What is the IEEE 802.11 Wireless LAN Standards? What Is Tunneling in Computer Networks? What is Twisted Pair Cable Advantages of Unguided Media Ethernet Topology in Computer Network Optical Fiber Modes and Configurations Optical Sources in Optical Fiber Communication 4 Layers of TCP/IP Hierarchical Routing Algorithm in Computer Networks Meaning of Data Communication Metropolitan Area Network Responsibilities of Transport Layer The Functions of Hub in Networking Tree Topology in Computer Network Types of Connections in Computer Network Authentication in Computer Network Buffering in Computer Networks MAC Protocol and its Classification Difference between Circuit Switching and Packet Switching Difference between Session and Cookies Broadcasting in Computer Networks CDMA in Computer Networks CDMA-Technology Components of Computer Network CRC in Data Communication CSMA-CA Protocol in Computer Network Difference between LAN and VLAN DIFFERENCE BETWEEN PHYSICAL AND LOGICAL TOPOLOGY Difference between TDM and FDM Differences Between URL and IP Address Differentiate between Synchronous TDM and Asynchronous TDM in Computer Network Diffеrеntiate Bеtwееn Datagram Approach and Virtual Circuit in Computer Network FDDI in Computer Network Functions of Bridge IEEE 802.11 in Computer Networks Internetworking in Computer Networks MAC in Data Link Layer Mac Sub Layer in Computer Networks MAN Meaning in Computer Radio Wave Transmission Single Sign-On (SSO) Token Passing in Computer Network Types of Data Transmission Types of Transmission Media in Computer Networks Advantagеs and Disadvantagеs of Li-Fi Benefits of Client Server Computing Bus and its Types Characteristics of Analog Signals Characteristics of NOS Choke Packet in Congestion Control Congestion Control Policy CSMA/CA in Computer Network Data Communication and Transmission Techniques Data Compression in Computer Networks Diffеrеncе bеtwееn SSH and Tеlnеt Diffеrеncе bеtwееn Static IP Addrеss and Dynamic IP Addrеssa Fiber Distributed Data Interface Network Time Protocol(NTP) Routing in Adhoc Networks Working of DNS Time Division Multiplexing (TDM) Types of Packet Switching Types of Protocols Types of Transmission Technology Use of Bluetooth in Computer Networks What is BBS? What is Code Correction? IEEE 802.11 Wireless LAN What is Stateless Protocol? Advantages of Networking in Computers DHCP Protocol in Computer Networks Difference between UTP and STP Cable Explain FTP in Computer Network Explain Hierarchical Model Explain HTTP in Computer Network Explain Nested Structure with Example Open Systems Interconnection Model Parallel Database System SMTP in Computer Network Space Division Switching Transmission Control Protocol (TCP) Types of IP Address Types of Routing in Computer Networks What is Duplex Transmission Data Link Layer Protocols Network Layer Protocols Session Layer Protocols

Token Passing in Computer Network

In computer networking, efficient data transmission is a paramount concern. Token passing is a fundamental concept crucial in ensuring orderly and efficient communication within a network.

What is Token Passing?

Token passing is a medium access control method used in computer networks to regulate and manage data flow among multiple devices on a shared communication medium, such as a local area network (LAN). It is a deterministic access control technique that helps prevent data collisions and ensures fair and orderly access to the communication medium.

At its core, token passing relies on the concept of a "token," a special control packet circulating through the network. Devices on the network take turns transmitting data by waiting for the token to arrive at their location. When a device possesses the token, it gains the exclusive right to send data over the network. This ensures that only one device can transmit simultaneously, eliminating the risk of data collisions and congestion.

Working of Token Passing

Token passing operates based on a well-defined set of rules and procedures. Here's a step-by-step breakdown of how token passing works:

  • Token Creation: In a token-passing network, a token is initially created and placed onto the communication medium. This token is typically an empty data frame with a unique identifier indicating it is the token.
  • Token Circulation: The token continuously circulates the network, passing from one device to another. Devices on the network monitor the medium to detect the presence of the token.
  • Data Transmission Request: When a device has data to transmit, it must wait for the token to arrive at its location. Upon receiving the token, the device becomes the "token holder" and gains the right to transmit data.
  • Data Transmission: The token holder can now attach its data to the token and send it over the network. Other devices on the network receive and process the data as it passes through.
  • Token Relinquishment: After transmitting its data, the token holder removes its data from the token and sends an empty token back onto the network. This signifies that the token is now available for another device to use.
  • Token Reservation: If a device has no data to transmit, it simply relays the empty token to the next device. However, if a device has data to transmit, it reserves the token temporarily until its transmission is complete.
  • Token Timeout: In some token-passing systems, tokens have a timeout period. If a device holds the token for an extended duration without transmitting data, it releases it back into circulation to prevent network congestion.
  • Repeat the Cycle: The token continues circulating through the network, and devices take turns transmitting data as they become token holders. This cycle repeats as long as there is data to transmit.

Advantages of Token Passing

Token passing offers several advantages in network communication:

  • Deterministic Access: Token passing provides deterministic access to the communication medium. Each device is guaranteed the opportunity to transmit, ensuring fair access and eliminating the risk of data collisions.
  • Efficiency: Since only one device can transmit at a time, there is minimal contention for the communication medium. This leads to efficient utilization of network resources.
  • Fairness: Token passing enforces fairness by preventing any device from monopolizing the network. All devices have an equal opportunity to transmit data.
  • Low Collision Rate: Token passing networks experience fewer data collisions than contention-based access methods like Carrier Sense Multiple Access with Collision Detection (CSMA/CD).
  • Low Latency: Token passing networks generally have lower latency as devices can transmit as soon as they possess the token without waiting for contention periods.

Applications of Token Passing

Token passing has found applications in various networking technologies and protocols. Some notable use cases include:

  • Token Ring LANs: Token passing was a fundamental feature of Token Ring LANs, a popular networking technology in the past. In Token Ring networks, devices were connected in a physical ring, and the token circulated through the ring.
  • Fiber Distributed Data Interface (FDDI): FDDI networks, often used for high-speed data transmission, employ token passing to regulate access to the network medium.
  • Manufacturing and Industrial Networks: Token passing is well-suited for deterministic and real-time applications, making it a preferred choice in manufacturing and industrial automation networks.
  • Residential and Campus Networks: While less common today, token passing has been used in residential and campus network environments to ensure orderly data transmission.

Challenges and Limitations

While token passing offers several advantages, it is not without its challenges and limitations:

  • Complexity: Implementing token-passing networks can be more complex and costly than other access control methods like Ethernet.
  • Single Point of Failure: In a token-passing network, the failure of the device holding the token can disrupt network communication. Redundancy mechanisms are often required to address this issue.
  • Scalability: Token passing networks may face scalability challenges as the number of devices increases, leading to longer token circulation times.
  • Static Topology: Token passing networks typically require a static or predefined network topology, making them less flexible for dynamic environments.

The Future of Token Passing

As technology continues to evolve, the networking protocols and technologies landscape also changes. While token passing may not be at the forefront of modern networking solutions, it is important to consider its legacy and the principles it introduced.

In recent years, there has been a resurgence of interest in deterministic networking protocols, driven by the demands of emerging technologies like the Internet of Things (IoT) and industrial automation. These applications require low latency and predictable communication, making token passing an attractive option.

In addition, networking hardware and software advancements have made it possible to implement token passing in more flexible and scalable ways. For example, software-defined networking (SDN) allows for the dynamic allocation of tokens, enabling efficient token passing in networks of varying sizes and configurations.

As cybersecurity concerns continue to grow, token passing offers some security benefits. Since devices can transmit data only when they possess the token, it becomes more challenging for unauthorized devices to inject data into the network.

While token passing may have lost its dominance in mainstream networking, it remains a relevant and powerful communication protocol for specific use cases. Its deterministic nature, fairness, and security advantages make it a valuable tool, especially in environments where precise control and predictable performance are essential.

The Role of Token Passing in Networking Education

Token passing isn't just a relic of the past; it's also a valuable educational tool. Understanding the principles of token passing can provide students and network professionals with a deeper insight into network protocols and how they function. Here are a few ways in which token passing can benefit networking education:

  • Fundamental Networking Understanding: Token passing is an excellent example of how network protocols work at a fundamental level. By studying token passing, students can grasp core concepts such as access control, collision avoidance, and fair sharing of network resources.
  • Problem-Solving Skills: Learning about token passing can help students develop problem-solving skills. They must understand the protocol's intricacies and troubleshoot issues that may arise in a token-passing network.
  • Historical Context: Learning about token passing provides historical context for the evolution of networking protocols. It allows students to appreciate how far networking technology has come and why certain protocols are used in specific scenarios today.
  • Security Awareness: Token passing's built-in access control mechanisms can raise awareness about network security. Students can see how the protocol inherently reduces the risk of unauthorized data transmission.
  • Adaptability: While token passing is no longer the primary choice for most networks, understanding its principles can help professionals adapt and troubleshoot legacy systems. It's a valuable skill when dealing with older network installations.

Conclusion

Token passing is a fundamental concept in computer networking that regulates and manages data transmission within a network. Using a circulating token ensures deterministic and orderly access to the communication medium, minimizing data collisions and congestion.

While token passing has seen significant use, it has become less common with the widespread adoption of Ethernet and other contention-based access methods. Nevertheless, it remains valuable in specific applications, especially those requiring deterministic and real-time communication.

Understanding token passing provides valuable insights into the history and principles of network communication, making it a valuable topic for anyone interested in computer networking.