Hub vs Switch)

Source: Internet
Author: User

The Hub vs. Switch Ethernet uses the Hub or Switch to transmit frames from the origin to the destination. A hub or switch has multiple ports, each of which can be connected to a computer (or other devices ). A hub is like a broadcast station. A computer sends frames to the hub, and the hub forwards the frames to all other ports. Each computer checks whether its MAC address conforms to DST. If not, keep silence. A hub is an earlier Ethernet device. It has obvious drawbacks: 1) communication between any two computers is made public on the same Ethernet. It is unsafe for all devices connected to the same hub to hear what others are transmitting. You can improve security by encrypting information. 2) Multi-Channel simultaneous communication is not allowed. If the two computers send messages to the hub at the same time, the hub sends a "Conflict" message to all devices to remind them of a conflict. You can add a conflict detection algorithm (collision detection) on the device: Once a device finds a conflict, it will wait for a period of time and resend it. The switch overcomes the defects of the hub. The switch records the MAC addresses of each device. When a frame is sent to the switch, the switch checks DST and only sends the frame to the corresponding port. The switch allows multi-channel communication at the same time. Due to the superiority of the switch, the switch basically replaces the hub. However, the old Ethernet may still be using a hub.

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.