Differences between relay, Hub, switch, and Router

Source: Internet
Author: User

 

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.