Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - The difference between router and hub
The difference between router and hub
1, different concepts.

HUB: It's a multi-port repeater. When the HUB is the central equipment, even if one line in the network fails, it will not affect the work of other lines. Therefore, hubs have been widely used in local area networks.

Router: Also known as Gateway, it is used to connect multiple logically separated networks. The so-called logical network represents a single network or subnet. When data is transmitted from one subnet to another, it can be done through the routing function of the router.

2, the classification is different

HUB: Most of the time, it is used in star and tree network topologies, and the host computer is connected with RJ45 interface (and BNC interface). According to different statements, there are many kinds of hubs. According to the way of processing input signals, hubs can be divided into passive hubs, active hubs and intelligent hubs.

Router: Structurally, it can be divided into "modular router" and "non-modular router"; Routers are usually divided into "border routers" and "intermediate node routers" according to their networks. Functionally, routers can be divided into class routers, enterprise routers and access routers.

3, the working principle is different

HUB: Hub works in the physical layer of OSI/RM reference model and MAC (Media Access Control) sublayer of data link layer. The physical layer defines electrical signals, symbols, line status and clock requirements, data coding and connectors for data transmission.

Because the hub only shapes and amplifies the signal and then forwards it without coding, it is a physical layer device. 10M hub has four available standard interfaces in the physical layer, namely: 10BASE-5, 10BASE-2, 10BASE-T and10base-f. 10BASE-5(AUI) port of 10M hub is used to connect 1 layer and layer 2.

Routers: Routers are divided into local routers and remote routers. Local routers are used to connect network transmission media, such as optical fiber, coaxial cable and twisted pair. Remote router is used to connect remote transmission media, and it needs corresponding equipment, such as telephone line with modem, wireless through wireless receiver and transmitter.

Baidu encyclopedia: HUB

Baidu Encyclopedia: Router