Technology

Difference Between Hub and Router

Main difference

Hub and router are two types of electronic devices used in the networking system, but each has different capabilities. The main difference between hub and router is that the hub is a device used to connect multiple Ethernet devices together and make them act as a single network segment. On the other hand, router is a device that allows computers to communicate pass-through information between two networks. It stands for network device that packets data between computer networks.

What is Hub?

Hub, Ethernet hub, repeater hub, or simply hub is a network device used to connect multiple Ethernet devices together and treat them as a single network segment. It contains several input/output (I/O) ports, in which a signal inputted into an input and the reaming is used as an output. It works at the physical layer (layer 1) of the OSI model (Open Systems Interconnection model). Repeater hubs are also used in networks to send a jamming signal to all ports if it detects a collision. In addition to the standard 8P8C ports (8 position and 8 contact),

What is the router?

Router refers to a network device that forwards data packets between computer networks. It is connected to two or more data lines of different networks. When a data packet arrives on one of the lines, the router reads the address information in the packet to determine its final destination. Then, using the information in its routing table, it routes the packet to the next job in its journey. This creates an overlapping internetwork. Routers perform the functions of “directing traffic” on the Internet. Typically, a data packet is forwarded from one router to another through the networks that make up the internetwork until it reaches its destination node. The most common type of routers are home and small office routers that simply pass data such as web pages,

Key differences

  1. Hubs are classified as Layer 1 devices based on the OSI model, while the router layer is the network layer (Layer 3 devices).
  2. The hub contains 4/12 ports while the router has 2, 4 or 8 ports.
  3. Hub is a passive device without software while router is a network device.
  4. The form of data transmission in the hub is in electrical signal or bits, while in the router it is in the form of a packet.
  5. The function of the hub is to connect a network of PCs together so that they can all be linked through a central hub. The role of the router is to direct data on a network. It transfers data between home computers and between the computer and the modem.
  6. A network hub cannot learn or store the MAC address while the router stores the IP address in the Routing Table and maintains the address itself.
  7. The transmission mode in the hub is half duplex and it is full duplex in the case of the router.
  8. Hub is used in LAN. The router is used in both LAN and WAN.

Leave a Reply

Your email address will not be published.

CAPTCHA


Back to top button