Differences between relay, Hub, switch, and Router
1. layer-7 structure of OSI network protocol (only available for non-IT professionals)
From low to high:
1. Physical Layer-hub and repeater
2. data link layer-Switch
3. Network Layer-vro
4. Transport Layer
5. Session Layer
6. Presentation Layer
7. Application Layer
Ii. Their respective purposes
In the past, local area networks used hubs, local area networks used switches, and routers used more functions.
1. vswitch: generally used for LAN and WAN connection.
Advantages:
1) fast
2) enhanced overall network performance
3) Centralized Control
Disadvantage: higher cost than Hub
2. Hub: it is actually a type of repeater, but it can provide multi-port service, which is generally used to forward data in this segment.
Advantages:
1) failure of a line or node does not affect the normal operation of other nodes
2) It is relatively easy to change the wiring.
3) Easy network expansion
4) Centralized Management
5) provides the repeater Function
Disadvantages:
1) easy to cause faults
2) low communication efficiency
3) Poor confidentiality
3. router: the connection objects include LAN and WAN, which are more powerful than switches.
Advantages:
1) interconnection between different networks
2) configurable to allow multiple routing paths
3) allow Network Data Flow Control
4) allow access to large networks such as the Internet
5) strong confidentiality
Disadvantages:
1) Slow speed
2) higher cost than repeater and hub
4. Repeater: generally used in a single building, connected to two local networks, used to reduce signal loss and prolong the transmission distance.
Advantages:
1) Easy to operate
2) fast
3) low price
4) extended communication distance
Disadvantages:
1) Limited Functions
2) limited management capability in some cases
3. Lan component selection
The Intranet LAN is better than the hub, the vswitch is better for the same protocol, and the Intranet and Internet are better connected to the vro.
Therefore, it is more reasonable to select a router to set up a local area network. You can also use a wireless router to connect to the Internet.