Difference between Hub Bridge Switch and Router

Hub 

Hubs create one collision domain and one broadcast domain.

A Hub is the simplest of these devices. In general, a hub is the central part of a wheel where the spokes come together. Hubs cannot filter data so data packets are sent to all connected devices/computers and do not have intelligence to find out best path for data packets. This leads to inefficiencies and wastage.

As a network product, a hub may include a group of modem cards for dial-in users, a gateway card for connections to a local area network (for example, an Ethernet or a token ring), and a connection to a line. Hubs are used on small networks where data transmission is not very high.

Bridge

Bridges break up collision domains but create one large broadcast domain. They use hardware addresses to filter the network.

In telecommunication networks, a bridge is a product that connects a local area network (LAN) to another local area network that uses the same protocol. Having a single incoming and outgoing port and filters traffic on the LAN by looking at the MAC address, bridge is more complex than hub.

Bridge looks at the destination of the packet before forwarding unlike a hub. It restricts transmission on other LAN segment if destination is not found.

A bridge works at the data-link (physical network) level of a network, copying a data frame from one network to the next network along the communications path.


Switch

Switches are really just multiple-port bridges with more intelligence. They break up collision domains but create one large broadcast domain by default. Switches use hardware addresses to filter the network.

A switch when compared to bridge has multiple ports. Switches can perform error checking before forwarding data, which are very efficient by not forwarding packets that error-end out or forwarding good packets selectively to correct devices only.

Switches can support both layer 2 (based on MAC Address) and layer 3 (Based on IP address) depending on the type of switch. Usually large networks use switches instead of hubs to connect computers within the same subnet.



Adding a switch to a network will increase the size of the broadcast domain.

Router
Routers break up broadcast domains (and collision domains) and use logical addressing to filter the network.

A router, like a switch forwards packets based on address. Usually, routers use the IP address to forward packets, which allows the network to go across different protocols. Routers forward packets based on software while a switch (Layer 3 for example) forwards using hardware called ASIC (Application Specific Integrated Circuits). Routers support different WAN technologies but switches do not.

Besides, wireless routers have access point built in. The most common home use for routers is to share a broadband internet connection. As the router has a public IP address which is shared with the network, when data comes through the router, it is forwarded to the correct computer.


Difference between Bridge and Switch

  • Packet forwarding in Bridges are performed using software. Packet forwarding in Switches are performed using ASICs (Application Specific Integrated Circuits).
  • Switches operate comparatively higher speeds that Bridges.
     
  • Method of switching of a Bridge is store and forward. Method of switching of a Switch can be store and forward, cut-through or fragment-free.
     
  • Bridges can operate only in half duplex mode, but a Switch can operate both in half duplex or full duplex mode.
     
  • Both Bridge and Switch has one collision domain per port, but switches have one broadcast domain per VLAN.
     
  • Normally a Switch has more ports than a Bridge.

2 comments:

  1. I believe there are many more pleasurable opportunities ahead for individuals that looked at your site.dental clinics in chennai

    ReplyDelete
  2. Smart business suits for men online are suitable for many authors, such as weddings, daily activities, business meetings, fashion parties, special holidays, etc. men’s 3 piece suits are also true for young people preparing to return home. Business Suits For Men

    ReplyDelete