What is the difference between a hub and a switch, and a router, it s really confusing, please solve

Updated on technology 2024-03-24
5 answers
  1. Anonymous users2024-02-07

    The hub does not have a switch** function, the information received from one port is broadcast from all other ports, and the hub only acts as a signal amplification.

    Strictly speaking, a switch has only Layer 2 functions, which are based on MAC address packets. After receiving packets from a port, query the port corresponding to the destination MAC address and send the packet from that port. At the same time, write the source MAC address of the packet to the MAC address of the port where the packet is received.

    This is because it already knows that the host corresponding to the source MAC is connected to the port where the packet was received. In the future, when receiving packets destined for MAC address, only the port that receives the packets is sent.

    The router looks up the routing table based on the IP address ** packet and sends it from the lookup to the outbound interface of the router. The routing table is calculated by routing protocols such as OSPF.

    Many of today's switches also have routing functions, so such switches are called routing switches. To put it simply, a routing switch is a simple collection of routers and switches that can use both MAC address packets and IP packets.

    For more information, please refer to it.

  2. Anonymous users2024-02-06

    Hubs --- act like power strips to provide multiple network cables in series.

    The switch --- includes the functions of a hub and can optimize network data transmission to achieve the fastest and shortest path through. (For example, if multiple switches are connected in parallel and the network structure is complex, the switch will choose the optimal (shortest, or smoothest) path to transmit data according to the situation.) )

    The router --- includes hub functions and switch functions, and provides software features such as DHCP firewall PPPoE to make it more powerful and useful.

  3. Anonymous users2024-02-05

    A hub is a first-tier device that cannot divide the collision domain and the broadcast domain, while a router is a layer-3 device that can divide the collision domain and the broadcast domain.

  4. Anonymous users2024-02-04

    Hub: No chips, few ports.

    Switches: There are chips, and there are a lot of ports.

    Router: There is a chip, and the number of ports is average.

  5. Anonymous users2024-02-03

    Hubs have been eliminated for many years and have been completely replaced by switches;

    The router has a switch inside it, which is much more powerful than the switch

    Router = network dial-up + shared Internet + switch.

    At a glance, three sentences are done.

Related questions
5 answers2024-03-24

The hub does not have a switch** function, the information received from one port is broadcast from all other ports, and the hub only acts as a signal amplification. >>>More

6 answers2024-03-24

The hub does not have a switch** function, the information received from one port is broadcast from all other ports, and the hub only acts as a signal amplification. >>>More

4 answers2024-03-24

When two different types of networks are connected to each other, a router must be used. For example, LAN A is a token ring network, and LAN B is an Ethernet, so you can use a router to connect the two LANs together. >>>More

3 answers2024-03-24

Use of networked devices.

4 answers2024-03-24

These things all work differently in nature. The OSI stratification is different. >>>More