-
The concept is different: hub: is a multi-port ** device, when the hub is the central device, even if a line in the network fails, it does not affect the work of other lines.
Therefore, HUB has been widely used in local area networks. Router: Also known as a gateway device, a gateway device is used to connect multiple logically separated networks, and the so-called logical network represents a single network or a subnet.
When data is transferred from one subnet to another, it can be done through the router's routing function.
Different classifications: HUB: Most of the time it is used in star and tree network topologies, with RJ45 interfaces connected to each host (there are also BNC interfaces), and there are many types of hubs according to different terms.
According to the processing method of the input signal, the hub can be divided into passive hub, active hub, and intelligent hub. Router: Structurally divided into "modular router" and "non-modular router"; According to the network division, routers are usually divided into "border routers" and "intermediate node routers". In terms of function, routers can be divided into "level routers", "enterprise routers" and "access routers".
The physical layer defines the electrical signals, symbols, wire status and clock requirements, data encoding and connectors for data transmission. Because the hub only shapes and amplifies the signal and then retransmits it, it does not encode it, so it is a device at the physical layer. The 10M hub has 4 standard interfaces available at the physical layer, and that is:
10Base Base Base-T, the 10BASE-5 (AUI) port of the hub is used to connect Layer 1 to Layer 2. Routers: Routers are divided into local routers and remote routers, and local routers are used to connect network transmission media, such as optical fiber, coaxial cable, and twisted pair; The remote router is used to connect the remote transmission medium, and requires the corresponding equipment, such as the ** line to be equipped with a modem, and the wireless mega to be late through the non-family Li line receiver and transmitter.
-
1. The hub is a hub and a data link layer device; A router is a network-layer device;
2. From the perspective of building a LAN, the router is faster than the hub;
3. The data link layer is the bridge or bridge, and the hub shares the bandwidth; The network layer relay system is the router, and the router transmits the data to the correct network, including the first of the IP datagram, the subnet isolation, the maintenance of the filial piety and the obstruction routing table, the Bi Shen Lu error handling of the IP datagram and the simple congestion control, so as to realize the filtering and accounting of the IP datagram of the opponent.
-
1. Differences in OSI levels.
HUB (hub) belongs to the first layer of OSI physical layer equipment, HUB only plays the role of synchronization, amplification and shaping of data transmission, can not effectively process short frames and short fragments in data transmission, can not ensure integrity and correctness in the process of processing data transmission.
Routers belong to OSI's Layer 2 data link layer devices, which means that routers can not only synchronize, amplify and reshape data transmission, but also filter short frames and fragments, which can ensure integrity and correctness in the process of processing data transmission.
2. Differences in network performance.
Hub (hub) is a broadcast mode, that is, when one port of the hub is working, all other ports can receive and hear information, it is easy to produce broadcast storms, when the network is large, the network performance will be greatly affected.
The router network performance is more stable. When the router is working, only the request port and the destination port communicate with each other, and the other ports are not affected, so the router can isolate conflicts and effectively suppress the generation of broadcast storms.
3. Differences in bandwidth work.
Hub (hub) no matter how many ports there are, all ports share the same bandwidth, only two ports can transmit data at the same time, the other ports can only wait, and the hub can only work in half-duplex mode.
Each port of the router has an exclusive bandwidth, and when two ports work, it does not affect the work of the other ports. At the same time, the router can work not only in half-duplex mode, but also in full-duplex mode.
Fourth, the difference between intelligence and non-intelligence.
A hub is just a network device that connects multiple computers, and it can only play the role of signal amplification and transmission, and cannot deal with the fragmentation in the signal, so it is easy to make mistakes during transmission.
A router can be seen as a smart hub that, in addition to all the features of a hub, also has functions such as automatic addressing, switching, processing, and more. In the process of data transmission, the sender and receiver work independently and have no relationship with other ports, thus preventing data loss and improving throughput.
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
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
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
Use of networked devices.
The difference between industrial grade and civilian grade is that different levels are selected in the selection of chips and components, and there will be a lot of differences in **, and of course, there will be a lot of differences in performance. It is mainly reflected in the tolerance of the environment. For example, the industrial grade requires an operating temperature range of -40 85, while the civilian grade only requires 0 55. >>>More