Vswitches and vrouters are quite common. So I have studied the secrets of networking vswitches and vro devices. I will share them with you here, hoping they will be useful to you. When talking about vswitches and vrouters, you cannot figure out what their respective functions are, and some cannot figure out the differences between them, especially in the context that various media have promoted the "routing" function of layer-3 switches. As a matter of fact, I have to admit that the difference between a vswitch and a vro is getting increasingly blurred, and the functions between them are also beginning to penetrate into each other.
Not only does a layer-3 Switch have some "routing" functions that originally belong to a vro, but also has the "Switch" function for both the broadband and high-end enterprise-level routers. It can be said that it is mutual penetration, so some people predict that in the future, the switch and the router may be combined into one, and I firmly believe this. From the technical point of view, it is not very difficult to achieve this goal, and it is also an urgent demand for users. On the one hand, the network structure can be simplified. On the other hand, users do not have to buy two expensive devices. Why not? However, for the moment, there is still a large area between them. Of course, this is not only reflected in technical theory, but also mainly in application. This article will fully explain the main differences between vswitches and vrouters in applications.
1. Switch star centralized connection
We know that the most basic function and application of a vswitch is to connect network devices in a centralized manner, all network devices (such as servers, workstations, PCs, laptops, switches and routers, firewalls, and network printers ), as long as the vswitch port supports the port type of the corresponding device, it can be directly connected to the vswitch port to form a star network. The basic network structure 1 is shown in. In a star connection, the port connecting devices of the switch are equal to each other and can access each other (unless restricted), instead of like many friends who are just involved in the network management field, the server connected to the vswitch is the highest level.
Ii. vswitch cascade and stack
Only the most basic star Ethernet architecture is shown. The actual star enterprise network is much more complicated than this. This complexity is not only manifested in how high network devices are, but also how complicated the configurations are, but more importantly, the complexity of network switching layers. In Enterprise Networks, only one vswitch and one vro are required, but not only one vswitch (except for a small network with only about 20 users ). If the number of users is large, such as hundreds or even thousands, you must rely on the cascade or stack extension connections of the switch. However, cascade technology and stack technology are also different, and their application scope is also different.
A switch cascade is an extension between a switch and a switch through an exchange port. This solves the problem of insufficient number of ports of a single switch, on the other hand, it also solves the connection between clients and network devices that are far away from the data center. Because the single-segment Switched twisted pair ethernet cable can reach 100 meters, each vswitch can be connected to an extended distance of 100 meters. However, this does not mean that any cascade operation can be performed. Because the line is too long, on the one hand, the signal attenuation on the line is also high. On the other hand, the lower-level switch still shares the available bandwidth of a port of the higher-level switch, the more layers, the lower the client's available bandwidth (although you may use a MB switch), which has a great impact on the network connection performance. From a real perspective, we recommend that you deploy a maximum of three levels of switches, that is, the core switch-Level 2 switch-Level 3 switch.
The Level 3 here is not to say that you can only allow up to three vswitches, but only three levels at a level. Vswitches connected to different ports on the same vswitch belong to the same layer. Therefore, several or even dozens of vswitches can be connected to each layer. The ports used for hierarchical connections can be dedicated UpLink ports or common exchange ports. Some vswitches have dedicated UpLink ports, but some do not. If a dedicated cascade port is available, it is best to use it because its bandwidth is usually wider than that of a common exchange port, which further ensures the bandwidth of a lower-level switch. If not, you can only cascade through common switching ports. Note that not only the ports used are different, but the cables used are different: the cascade ports must be used for common direct connections; the cascade cable using a common port is a crossover cable, just like a pair of two hosts.
As for the stack of A vswitch, not all vswitches are allowed, but the stack module is required. The stack of A vswitch is connected through a dedicated stack cable instead of a switching port. Note that because the switch stack is usually placed in the same position and the connection cable is short, the stack of the switch is mainly used to expand the switch port, rather than to expand the distance.
At the same time, the switch stack can also increase the available bandwidth of each actually used switch port, because it aggregates the bandwidth of the backboard of the switch that is stacked together, in this way, the total backplane of the switch stack is the sum of the bandwidth of several stack switches. After the increase in the bandwidth of the backboard, if every port of the switch is used, this advantage is not very obvious (it is also effective because it is impossible to communicate with every port at the same time ), however, if a vswitch port is idle, the effect will be more obvious because it can take full advantage of all the bandwidth of the vswitch. Shows the stack connection. The stack connection ports of a switch are usually arranged in the D-Jack format. A switch has two such ports marked with "UP" and "DOWN", as shown in ), it indicates that it is used to connect up and up the stack, and cannot be connected to an error.