In daily life, the Internet access will certainly involve wireless switches, which provide users with exclusive point-to-point connections. data packets are only sent to the destination, so as to avoid a significant reduction in the bandwidth of all ports when the data volume is large, therefore, selecting a high-performance wireless switch saves a lot of trouble for future work.
When used for a star structure, it acts as the center node to enlarge the signal. The port does not share the bandwidth. If it is a 10 M switch, the bandwidth of each port is 10 M, each port has its own MAC address. The main functions of the switch include physical addressing, network topology, error verification, frame sequence, and traffic control.
At present, some high-end switches also have some new functions, such as support for VLAN Virtual LAN), support for Link aggregation, and even some have routing and firewall functions. In addition to connecting to the same type of network, a vswitch can also interconnect different types of networks, such as Ethernet and Fast Ethernet.
Nowadays, many vswitches can provide high-speed connection ports that support fast Ethernet or FDDI. These ports are used to connect other vswitches in the network or provide additional bandwidth for key servers with high bandwidth usage. It is a network device and has a part of the router function. It can decide where the received data is sent, and its speed is faster than that of the router.
Major differences between a wireless switch and a hub
From the above analysis, we can know that the main differences between a vswitch and a hub are divided into four aspects: OSI architecture, data transmission mode, bandwidth occupation mode, and transmission mode. The difference between the OSI architecture is that the hub belongs to the first layer of the OSI physical layer device, and the switch belongs to the second layer of the OSI data link layer device.
This means that the hub only synchronizes, scales up, and shaping data transmission, and cannot effectively process short frames and fragments in data transmission, the integrity and correctness of data transmission cannot be guaranteed. The switch can not only synchronize, zoom in, and shaping data transmission, but also filter short frames and fragments.
Differences in data transmission methods currently, 80% of LAN) is an Ethernet device that uses a HUB or Switch in a large amount. The LAN connected by a hub is called a shared LAN, and the LAN connected by a switch is called a switched LAN.
Different ways of working. Let's talk about the sharing and exchange concepts in the network. For example, if a road with 10 lanes is not marked with a traffic route, a vehicle can only snatch or occupy a road in a disordered state, A vehicle that is prone to traffic jams and reverse driving will crash, reducing the traffic capacity.
In order to avoid the above situation, we need to mark the vehicle lines on the road to ensure that each vehicle does its own way and does not interfere with each other. A shared-bandwidth network is equivalent to an unordered state. When the number of data and users exceeds a certain limit, a collision or conflict will occur, leading to a decline in network performance.
The exchange network avoids the deficiency of the shared network. The exchange technology is to independently send each information packet from the port to the destination port based on the destination address of the transmitted information packet, it avoids collision with other ports and increases the actual throughput of the network.
The main problem with shared Ethernet is that all users share bandwidth. The actual available bandwidth of each user decreases with the increase of the number of users. This is because when the information is busy, multiple users may compete for one channel, while one channel only occupies one user at a certain time, therefore, a large number of monitoring waits often, resulting in jitters, stagnation, or distortion during signal transmission, seriously affecting network performance.
In switched Ethernet, the switch provides a dedicated information channel for each user, unless two source ports attempt to send information to the same destination port at the same time, otherwise, the source port and the target port can communicate at the same time without conflict.
Working mechanism the working mechanism of different hubs is broadcast. No matter which port receives a packet, the packet is sent to all other ports in the form of broadcast, the NIC connected to these ports determines whether to process the information and leave the information for processing. Otherwise, the information is discarded, which may cause a broadcast storm, when the network is large, the network performance will be greatly affected.
According to its working status, the execution efficiency of the HUB is relatively low and the packet is sent to all ports.) poor security, all NICs can receive the packet, but the non-destination Nic discards the packet ). In addition, only one packet can be processed at a time, and a collision occurs when multiple ports appear at the same time. The packet is processed in serial mode and is not suitable for large network trunk.
The operations of a vswitch are completely different. It analyzes the packet header information of the Ethernet package, including the original MAC address, target MAC address, and information length.) After obtaining the target MAC address, find the port corresponding to the MAC address in the Address Table stored in the vswitch), confirm the port on which the NIC with this MAC address is connected, and then only send the packet to the corresponding port, effectively suppress the generation of broadcast storms.
This is the biggest difference between a Switch and a HUB. The backboard bandwidth of the Switch internal conversion packet is much larger than the port bandwidth. Therefore, the packet is in parallel state and the efficiency is high, which can meet the parallel processing requirements of a large network environment for a large amount of data.
The difference in the bandwidth usage mode: no matter how many ports the hub has, all ports share a bandwidth. At the same time, only two ports can be used to transmit data, and other ports can only wait, at the same time, the hub can only work in half duplex mode. For a wireless switch, each port has an exclusive bandwidth, which guarantees the speed of each port.
When two ports work, the switch can not only work in half duplex mode but also in full duplex mode. The difference in transmission mode: the hub can only transmit data in half duplex mode, because the hub is a shared transport medium. In this way, the hub can only transmit one task at a time on the uplink channel, or receive data, or send data.
The switch is different. It uses full duplex mode to transmit data. Therefore, data can be received and sent at the same time, which not only speeds up data transmission, in addition, the throughput of the entire system is at least twice faster than that of the hub, because it can receive and send at the same time, in fact it is far more than doubled, because the port bandwidth is generally many times wider than the hub.
For example, if two groups of people transfer a file to each other at the same time, the transfer time from one person to the other is one minute. If a hub is used, it takes 4 minutes. Data is first transmitted from one person to the other, and then from the other. Then another group can do the same job, which is counted as four minutes. However, if a vswitch is used, the speed is much faster. In the same case, it only takes one minute.