Vswitch knowledge summary Basics

Source: Internet
Author: User

Vswitch Definition

Switch switching) refers to the technology that sends the information to be transmitted to the corresponding route that meets the requirements according to the needs of transmitting information at both ends of the communication. Generally, a switch is a device that implements information exchange in a communication system.

In the computer network system, the concept of switching improves the shared working mode. The HUBHubIt is A shared device. The HUB itself cannot identify the destination address. When host A in the same LAN transmits data to host B, data packets are transmitted in a HUB-based network in broadcast mode. Each terminal verifies the address information of the data packet header to determine whether to receive the data packets. That is to say, in this way, only a group of data frames can be transmitted over the network at the same time. If a collision occurs, retry. This method is shared network bandwidth.

How a vswitch works

Work on the data link layer. The vswitch has a high-bandwidth back bus and an internal switching matrix. All the ports of the vswitch are attached to the back bus. After the control circuit receives the data packet, the processing port will look for the NIC in the memory address table to determine the hardware address of the target mac nic) the port on which the packets are mounted. the packets are quickly transmitted to the destination port through the internal switching matrix. If the destination MAC does not exist, the packets are broadcast to all ports, after receiving the port response, the switch "learns" the new address and adds it to the internal MAC address table.

You can also use a vswitch to segment the network. By comparing the MAC address table, the vswitch only allows necessary network traffic to pass through the vswitch. Through the filtering and forwarding of vswitches, You can effectively reduce the number of conflicting domains, but it cannot divide network-layer broadcast, that is, broadcast domains.

A vswitch can transmit data between multiple port pairs at the same time. Each port can be considered as an independent network segment, and the network devices connected to it enjoy all the bandwidth alone, so they do not need to compete with other devices. When node A sends data to node D, Node B can send data to node C at the same time, and both transmission enjoy all the bandwidth of the network and all have their own virtual connections. If a 10 Mbps Ethernet switch is used here, the total traffic of the switch is 2*10 Mbps = 20 Mbps. When a 10 Mbps shared HUB is used, the total traffic of a HUB does not exceed 10 Mbps. In short, a vswitch is a network device that can encapsulate and forward data packets based on MAC address recognition. The switch can "Learn" the MAC address and store it in the internal address table. By creating a temporary exchange path between the initiator of the data frame and the Target receiver, the data frame can directly reach the destination address from the source address.

Vswitch category

The transmission mode of the switch is full-duplex, half-duplex, full-duplex/half-duplex adaptive.

The full duplex of a switch means that the switch can receive data while sending data. The two are synchronized, as if we call each other and can hear the other party's voice while talking. All current vswitches support full duplex. The advantage of full duplex is low latency and high speed.

When talking about full duplex, we can't help but mention another concept closely related to it, that is, "Half Duplex". The so-called half duplex refers to only one action in a period of time. For example, a narrow road can only have one vehicle passing through. When two vehicles are currently on the road, in this case, only one vehicle is allowed to pass first, and the other is allowed to drive again after the first vehicle, this example illustrates the concept of half duplex. Early walkie talkie and early hub devices are half duplex products. With the continuous advancement of technology, half duplex will gradually exit the stage of history.

In a broad sense, there are two types of network switches: WAN switches and LAN switches. WAN switches are mainly used in the telecom field to provide basic communication platforms. LAN switches are used in local networks to connect terminal devices, such as PCs and network printers. The transmission media and transmission speed can be divided into Ethernet switches, Fast Ethernet switches, Gigabit Ethernet switches, FDDI switches, ATM switches, and wildcard ring switches.

Large-scale applications can be divided into enterprise-level switches, department-level switches, and working group switches. Generally, enterprise-level switches are rack-mounted, and department-level switches can have fewer rack-mounted slots) or fixed configurations, the working group-level switch is relatively simple with fixed configurations ). On the other hand, from the perspective of application scale, enterprise-level switches support large enterprise applications with more than 500 information points as enterprise-level switches, and department-level switches support Switches of medium enterprises with less than 300 information points, switches that support less than 100 information points are working group-level switches. The vswitch mentioned in this Article refers to a LAN switch.

Vswitch Functions

The main functions of a vswitch include physical addressing, network topology, error verification, frame sequence, and traffic control. At present, the switch also has some new functions, such as support for VLAN Virtual LAN), support for Link aggregation, and even some also have firewall functions.

Learning: the Ethernet switch understands the MAC address of each port connected device, and maps the address with the corresponding port and stores it in the MAC address table in the switch cache.

Forwarding/filtering: when the destination address of a data frame is mapped to a MAC address table, it is forwarded to the port connecting to the target node instead of all ports. If the data frame is broadcast or multicast frame, it is forwarded to all ports ).

Eliminate loop: When a vswitch includes a redundant loop, the Ethernet switch avoids loop generation through the Spanning Tree Protocol and allows a backup path.

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.

Generally, each port of a vswitch is used to connect to an independent network segment. However, to provide faster access speed, we can directly connect some important network computers to the port of the vswitch. In this way, the key servers and important users of the network have a faster access speed and support greater information traffic.

Finally, let's briefly summarize the basic functions of the vswitch:

1. Like a hub, a switch provides a large number of ports that can be connected to a cable, so that you can use a star topology for cabling.

2. As with a repeater, Hub, or bridge, when it forwards frames, the switch will generate a square electrical signal that is not lost.

3. Like a bridge, the switch uses the same forwarding or filtering logic on each port.

4. Like a bridge, a switch divides a LAN into multiple conflicting domains, each of which has independent bandwidth, greatly increasing the bandwidth of the LAN.

5. In addition to the functions of bridges, hubs, and reconnections, the switch also provides more advanced functions, such as virtual lan vlan) and higher performance.

Main use of vswitches

1. vswitches are mainly used to control other computers. For example, in school, teachers use vswitches to control the students' computers that have been logged on.

2. The role of a user switch can be understood as an exchange board, which can be used for call processing or even long-distance and special service calls. It can be seen as a fixed outbound call flow. A user switch is a dedicated switch for internal telephone exchanges between industrial and mining enterprises and other organizations. Its basic function is to complete mutual calls between users within the Organization, however, there are also incoming and outgoing trunk lines that can be connected to the Intranet of the public telephone network and user calls in the network (including intra-city calls, domestic long-distance calls, and international long calls ).

There are many other vswitches. Here we only introduce two of them. You can read more information to learn more.

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.