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

Packet Switching

Using a variety of network equipment, packet switching divides data into blocks or packets for more efficient transmission across digital networks. When a device transmits a file to another, it splits the file up into packets so that it can figure out the fastest way to deliver the data across the network at that particular moment. The packets may then be sent via the network devices to the recipient device, which reassembles them before using them.                                               

Packet Switching

What is Packet Switching?

Small data packets are sent across different networks via packet switching. Data transport is made quicker and more effective by these data pieces, or "packets."

A file is often sent across a network in smaller data packets rather than all at once by the user. A 3MB file, for instance, will be split up into packets, each of which will include a packet header with the sequence number, origin IP address, destination IP address, and total number of packets in the data file.

Types of Packet Switching

There are two major types of packet switching:

Packet switching without a connection

This traditional form of packet switching includes multiple packets, each with its own routing. This indicates that every packet has all the necessary routing information. Still, it also implies that contingent on the varying loads on the network's nodes (adapters, switches, and routers) at any one time, multiple transmission pathways and out-of-order delivery are feasible. Datagram switching is another name for this kind of packet switching.

In connectionless packet switching, the header part of every packet contains the following data:

  • Destination
  • Source address address
  • Total number of packets
  • Sequence number (Seq#) for reassembly

The receiving devices rearranged the packets to create the original message after they had traveled different paths to reach their destination.

Packet switching oriented towards connections

Data packets are first formed and then numbered in connection-oriented packet switching, also known as virtual circuit switching or circuit switching. Next, they proceed consecutively along a predetermined course. Since packets are transmitted in sequence during circuit switching, address information is not required.

What is Packet Loss?

Sometimes, packets may bounce a lot between routers before arriving at their intended IP address. If there are too many of these "lost" data packets in the network, it will get clogged and function poorly. If a data packet traverses the network too often, it might be lost.

By establishing a maximum number of bounce times per packet, the hop count solves this issue. The term "bouncing" describes the process of moving from one router to another as a consequence of not being able to discover the ultimate destination IP address. The router from which a packet is bouncing deletes it if it exceeds its maximum hop count or the maximum number of hops it is allowed to make before reaching its destination. Packet loss results from this.

Circuit Switching Vs Packet Switching

  • Enterprise network connections are primarily facilitated by packet switching and circuit switching. Depending on the situation and the demands of the user, each style has a place.
  • Voice and video calling systems, communications systems that need users to create a dedicated circuit or channel before they may connect—are the most common applications for circuit switching. A circuit switching channel is only used when users are interacting; it is always reserved.
  • One or two communication channels may be allotted for circuit-switching connections. One channel is referred to as half-duplex, while two-channel devices operate in full duplex mode.
  • Circuit switching establishes a physical route between the source and destination, which differs from packet switching. Packet switching transmits packets via a number of paths rather than a single path.

Advantages of Packet Switching over Circuit Switching

  • Effectiveness: Reducing inefficiencies results in reduced waste of network capacity. The system is more efficient when there is no need to reserve the circuit, even when it is not in use. Packet switching tends to boost network efficiency because it eliminates wasted bandwidth caused by continually reserved circuits.
  • Quickness: Minimum delay and maximum transmission speed.
  • Enhanced resistance to errors: Packets may be diverted and take various pathways when there are partial outages or other network issues. A single failure may shut down the communications channel assigned to a circuit switching network.
  • Spending plan: Comparatively inexpensive and easy to use. While circuit switching fees on both connection length and distance, packet switching usually bills simply on connectivity duration.
  • Digital: For data transmission, packet switching is effective because it sends digital data straight to the intended recipient. A packet-switched network uses error detection and distribution checks to ensure error-free transmissions, which leads to typically high-quality data transfers.

Disadvantages of Packet Switching over Circuit Switching

  • Variable Delays: Due to network congestion or routing changes, packets from the same transmission may travel various paths and experience variable delays during packet switching. Jitter, the term for this variation in latency, may impact real-time applications where precise timing is essential, such as audio and video.
  • Packet Loss: Hardware malfunctions, network congestion, or transmission problems may all cause packet loss in packet-switching networks. Even though retransmission allows protocols like TCP to reduce packet loss, it may still affect service quality, particularly for real-time applications.
  • Overhead: Packet switching adds overhead by appending header data, such as destination addresses, error-checking codes, and sequencing information, to every packet. When compared to circuit switching, where the overhead is negligible after the circuit is created, this overhead lowers the effective bandwidth available for user data transfer.
  • Complexity: Compared to circuit-switched networks, packet-switching networks are usually more difficult to design, install, and maintain. To provide effective and dependable data transmission, they need complex routing algorithms, congestion management systems, and error recovery procedures.
  • Difficulties with Quality of Service (QoS): Maintaining a constant quality of service in packet switching networks may be difficult, especially for real-time applications that have strict latency and jitter requirements. Although methods such as prioritizing quality of service (QoS) might be beneficial, they can also introduce complications and may only sometimes provide the required performance levels.
  • Security Concerns: A variety of security risks, such as packet snooping, spoofing, and denial-of-service assaults, may affect packet-switching networks. Implementing strong encryption, authentication, and access control techniques is necessary to secure packet-switched networks, which adds overhead and complexity.
  • Resource Allocation: In packet switching networks, resources and bandwidth are dynamically assigned depending on demand. This may result in contention problems and wasteful resource use, particularly in busy networks. Circuit switching sets aside specific resources for every communication session, guaranteeing consistent performance, but perhaps resulting in underutilization during idle times.
  • Head-of-Line Blocking: When a packet in packet switching experiences congestion or a bottleneck on its path, it may result in head-of-line blocking, which delays succeeding packets that might have been sent without any delays at all. This may cause a decline in throughput and overall network performance, particularly in situations when traffic is sporadic.
  • Complex Quality of Service Management: Complex Quality of Service (QoS) management methods are needed in packet-switched networks to provide varying degrees of service quality to different kinds of traffic (such as audio, video, and data). It may be difficult to configure and manage QoS factors, including bandwidth allotment, packet prioritization, and traffic shaping; this may need constant optimization.
  • Network Overhead and Fragmentation: Because packet headers include error-checking codes, routing information, and other control information, packet switching results in extra overhead. This overhead may result in the wasteful use of network bandwidth when the amount of data being transferred is minimal in comparison to the size of the packet header. Furthermore, packet fragmentation, which increases communication cost and complexity, may happen when big packets are split up into smaller packets for transmission across networks with lesser Maximum Transmission Unit (MTU) sizes.

Cell Switching vs Packet Switching

With characteristics of circuit switching, cell switching, also known as cell relay, operates on a circuit switching network. The main distinction is that whereas packets in cell switching have a set length of 53 bytes with a 5-byte header, packets in packet switching technology has variable lengths.

Cell switching has many benefits, such as high performance, scalability, dynamic bandwidth, and multimedia capabilities using a shared LAN/WAN architecture. High performance is achieved via cell switching using hardware switches. Since virtual rather than physical circuits are used in computer networks, there is no need to reserve resources for a connection. Additionally, by minimizing switching time after creating a virtual circuit, you may get greater network throughputs.

What is a Packet Switched Network?

Following networking standards, a packet-switched network splits messages into packets before transmitting them. The majority of contemporary Wide Area Network (WAN) protocols, such as Frame Relay, X.25, and TCP/IP, are based in part on packet-switching technology.

In contrast, traditional landline telephone network service uses circuit switching technology. While packet switching networks are more effective and efficient for data that can withstand certain transmission delays, such as site data and email messages, circuit switching networks are best for most real-time data delivery.