Looking for a Tutor Near You?

Post Learning Requirement » x
Ask a Question
x
x

Direction

x

Ask a Question

x

Hire a Tutor

Hub And Switch Difference

Published in: Coding & Programming
1,527 Views

Notes on Hub and Switch Difference

Mohammad I / Abu Dhabi

8 years of teaching experience

Qualification: B.Sc Computer System Engineer

Teaches: Computer Science, CCNA Certification, Cisco Certification, CSS Training, HTML, English Language

Contact this Tutor
  1. Switch As per the OSI model, network switches are classified as Data Link Layer devices, i.e. they operate at Layer 2. However, certain multi- layer switches can operate at higher layers as well. A switch is a more sophisticated network device and is more expensive than a hub. A switch is an intelligent device, it transmits the data packets from the source computer to only those network computers to which the data packets are originally intended. There is optimum utilization of network bandwidth in case of switches, and bandwidth wastage is minimal. Switches are full-duplex devices, i.e. both, data transmission and reception can take place simultaneously. Network security is much better with the use of a switch, as compared to a hub. Router Basically, a router is used to connect computers belonging to one network with those belonging to another or other networks. Thus, a router connects two or more different networks. As per the OSI model, a router is a Network Layer device, i.e. it operates at Layer 3. Routers are much more sophisticated and intelligent network devices, as compared to switches. A router works on the principle of IP addresses. A router's inbuilt hardware makes use of routing algorithms to compute the best possible path for routing data packets across different computer networks. Routers have their own inbuilt operating systems and they need to be configured before use. Hub As per the OSI model, a hub is a Physical Layer device, i.e. it operates at Layer 1. A hub is a very primitive device and is comparatively much cheaper. A hub is a 'dumb' device to say the least. It broadcasts (floading) the data packets to each and every networked computer, and not just the target computer or set of computers to which the data packets were originally intended to be sent. Due to their broadcast mechanism of data transmission, there is unnecessary wastage of network bandwidth which results in slow operation and data transfer speeds. Hubs are half-duplex devices, i.e. both, data transmission and reception cannot take place simultaneously. Thanks to its broadcast mechanism, network security becomes a big issue and a loophole in the case of a hub. Switch A switch on the other hand, connects different computers within one network. Unless it is a multi-layer switch, a network switch operates at Layer 2 (Data Link Layer). In comparison with routers, switches are less sophisticated and less intelligent. A switch works on the basis of MAC addresses. A switch does not perform any such activities. Most switches do not require any prior configuration and are usually 'ready-to-use'.