Switching | Computer Networks Last Updated : 26 Sep, 2025 Comments Improve Suggest changes 17 Likes Like Report Switching is the process of transferring data packets from one device to another within the same network or across networks using switches. It happens at the Data Link Layer (Layer 2) of the OSI Model, right after the Network Layer generates data packets.A switch is a device that connects multiple devices in a network.It ensures data from different devices does not interfere.Works like a traffic controller by sending data packets to the correct port.Sends data directly to connected devices (e.g., computer, phone).For other networks, it forwards data to a router for delivery.Example: When you open a website, your request is broken into packets and forwarded through various switches before reaching the server.Network SwitchingNetwork Switching is a specific type of switching, used in computer networks. It is about transferring data packets from one device (node) to another across a network.It involves the following steps:Frame Reception: Switch receives a frame from a device.MAC Address Extraction: Reads the destination MAC address from the frame.Lookup: Searches its switching table for the destination MAC address.Forwarding: If found, sends the frame to the correct port. If not found, uses flooding (sends to all ports except incoming one).Table Update: Learns new MAC addresses and updates the table for future forwarding.Frame Transition: Forwards the frame to the correct device/network.Types of SwitchingThere are three types of switching methods:Message SwitchingCircuit SwitchingPacket SwitchingMessage Switching: This is an older switching technique that has become obsolete. In message switching technique, the entire data block/message is forwarded across the entire network thus, making it highly inefficient. Circuit Switching: In this type of switching, a dedicated connection is established between sender and receiver before communication starts. This connection receives the complete bandwidth of the network until the data is transferred completely.Packet Switching: In packet switching, data is divided into small packets that travel independently through the network using available paths. Each packet carries its destination address, so switches and routers know where to send it. At the destination, packets are reassembled into the original message. This is the method used in modern networks and the Internet because it is fast and efficient.Comparison of Switching TypesFeatureMessage SwitchingCircuit SwitchingPacket SwitchingPathNonePredefinedDynamic / VirtualEfficiencyVery lowLow (idle wastage)HighDelayHigh (Store & Forward)Low after setupVariableReliabilityLowHighHighExampleTelegraphLandline CallsInternet Switching in Computer Network Visit Course Comment O owl0223 Follow 17 Improve O owl0223 Follow 17 Improve Article Tags : Computer Networks Explore Computer Network BasicsBasics of Computer Networking4 min readTypes of Computer Networks6 min readIntroduction to Internet10 min readNetwork Devices3 min readWhat is OSI Model? - Layers of OSI Model11 min readTCP/IP Model6 min readDifference Between OSI Model and TCP/IP Model2 min readPhysical LayerPhysical Layer in OSI Model3 min readTypes of Network Topology9 min readTransmission Modes in Computer Networks (Simplex, Half-Duplex and Full-Duplex)3 min readTransmission Media in Computer Networks7 min readData Link LayerData Link Layer in OSI Model4 min readSwitching | Computer Networks2 min readVirtual LAN (VLAN)3 min readFraming in Data Link Layer3 min readError Control in Data Link Layer3 min readFlow Control4 min readPiggybacking in Computer Networks2 min readNetwork LayerNetwork Layer in OSI Model3 min readIntroduction of Classful IP Addressing7 min readClassless Addressing in IP Addressing7 min readWhat is an IP Address?11 min readIPv4 Datagram Header4 min readDifference Between IPv4 and IPv63 min readPublic and Private IP addresses4 min readIntroduction To Subnetting5 min readWhat is Routing?10 min readNetwork Layer Protocols9 min readTransport LayerTransport Layer in OSI Model4 min readTransport Layer Protocols9 min readTransmission Control Protocol - TCP4 min readUser Datagram Protocol - UDP3 min readSession Layer & Presentation LayerSession Layer in OSI model2 min readPresentation Layer in OSI model2 min readSecure Socket Layer (SSL)10 min readPPTP Full Form - Point-to-Point Tunneling Protocol5 min readMultipurpose Internet Mail Extension (MIME) Protocol4 min readApplication LayerApplication Layer in OSI Model5 min readClient-Server Model3 min readWorld Wide Web (WWW)6 min readIntroduction to Electronic Mail4 min readWhat is a Content Distribution Network and how does it work?4 min readProtocols in Application Layer4 min readAdvanced TopicsWhat is Network Security?7 min readComputer Network | Quality of Service and Multimedia5 min readAuthentication in Computer Network3 min readEncryption, Its Algorithms And Its Future10 min readIntroduction of Firewall in Computer Network7 min readMAC Filtering in Computer Network4 min readWi-Fi Standards Explained2 min readWhat is Bluetooth?6 min readGenerations of wireless communication2 min readCloud Networking4 min readPracticeTop 50 Plus Networking Interview Questions and Answers for 202415+ min readTop 50 TCP/IP Interview Questions and Answers 202515+ min readNetwork Fundamentals Interview Questions - Computer Networks15+ min readLast Minute Notes for Computer Networks14 min readComputer Network - Cheat Sheet15+ min read Like