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)


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


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?

What are Hubs and Switches in Computer Networks?


Devices are used to connect networks through hubs and switches. Hardware devices, known as network devices, are used to link computers, printers, and other devices to a network. They are also known as network devices or network hardware. These gadgets provide safe, efficient, and accurate data flow across one or more networks. Every one of these gadgets serves a distinct function. Any system needs a network interface card, often known as a wifi card, to link to the network. Several other names exist for a network interface card, including a LAN card, network card, network connection card, network input unit, and terminal access point. Computers connect to and interact with other equipment on the local area network (LAN) via this physical info link layer device. Any device can be connected electronically to the nearby network using a wifi card.


What are Hubs and Switches in Computer Networks?

A hub's primary function is to link all currently installed network equipment to a pre-established internal network. A hub has several ports that take network devices' ether connections. As a hub only understands when a device is truly connected to one of its ports, it is not considered intelligent because it does not filter any data that exists or can infer where the data is supposed to be transmitted. Thus, an information packet is replicated to every other port when it reaches one of the ports. Thus, the information in the packet is visible to every device on that port. Thus, once more, the hub will simply rebroadcast data to each interface with equipment attached as soon as a data packet arrives at a single port.

What are Hubs and Switches in Computer Networks?

Therefore, even if only two of the computers in the group choose to interact, the data will still reach the other computers even though it was not meant for them. Thus, whenever this occurs, it consumes capacity and raises security issues, generating needless traffic on the network.

A network hub that joins multiple PCs onto a single network system. Linking parts of a LAN is done with it. A packet is copied to numerous additional ports when it enters a hub since it has many connections. A hub acts as the hub connecting all of the network's devices.

Types of hub

  • Active Hub: One kind of hub with a distinctive power source is an active hub. It may also transmit, improve, and clean the signal in addition to the network's functions. It performs the roles of a provision hub and a repeater. Moreover, they are employed to connect multiple local nodes.
  • Passive Hub: This hub gets cables from nodes and electricity from an active hub. Passive hubs do not filter or enhance signals before sending them to the Internet. It can't be employed to close the distance between nodes.


  • Ability to use a variety of tangible gadgets to establish a network connection.
  • Less expensive than other devices.
  • Results in a minimal wait.
  • Has no impact on the efficiency of the network.


  • It wastes bandwidth because the data is not filtered.
  • It shares data with every connected device, rendering the network unsafe.
  • It involves an information flood.
  • Unable to link the token ring.


  • In compact home networks.
  • Utilized for different monitoring of networks.
  • Used for networking in computer laboratories.
  • Aids in maintaining peripheral visibility.


Now, a hub and a switch are extremely similar. Additionally, it features several ports that take Ethernet connections from various network equipment that are in use. However, a switch is savvy, not our hub. The switch can detect the IP addresses of the gadgets it connects to, and it records these addresses also known as MAC addresses in its table. Therefore, when a data packet is transmitted to a change, it only gets delivered onto the port for which it is intended, as opposed to a hub, which is a device that just rebroadcasts the information to all of the ports.

What are Hubs and Switches in Computer Networks?

For instance, when the two machines here wish to talk to one another, the data packet first reaches the switching device. From there, the router looks up the appropriate port in its table of MAC address information and matches to send the data. The data payload then travels to the needed machine.

What are Hubs and Switches in Computer Networks?

Switches are significantly more favoured than bridges as they lessen extraneous network activity.

 Types of Switch:

  • Manageable Switches: A console connection and an assignable and controllable internet protocol (IP) address are features of managed switches.
  • Unmanageable Switches: It is impossible to configure an unmanaged switch. An IP address cannot be provided as there is no terminal interface.


  • Expands the network's bandwidth.
  • Secure.
  • Reduce the likelihood of crashes.
  • Able to share the info at the same time.
  • Varies the speed of information transfer.
  • Send out the information.


  • expensive.
  • Some problems could arise when transmitting data.
  • Streaming could be problematic.
  • Susceptible to cyberattacks.
  • The ability design ought to be used.


  • Utilized to establish links with several hosts.
  • Utilized when building data centres.
  • Used to control both the command-line interface and the internet user interface.
  • Utilized when configuring a VLAN.


Within a local area network, hubs and switches exchange data. They are not utilized for data exchange over networks other than their own, like the Internet. The switch does not read IP addresses, so to transfer or route data from one network to another, a device must be able to access IP addresses and hubs. Thus, a wireless router is used in this situation. The wire used in hubs is half-duplex. Using full-duplex connections, the switch, while the hub is a passive device, the switch is an active device. The switch uses frame and packet switching to communicate, while the hub uses electrical signal circling. A hub and switch serve same purpose in a local area network.