Both vswitches and vrouters have the routing function.

Source: Internet
Author: User

For a large network, many network components are used, including routers, switches, and hubs. Many of them are not familiar with this and do not know the differences between these devices.

1. Both vswitches and vrouters have the routing function. The main function of the router is the routing function, but its other functions are only its additional functions. A vswitch is still a vswitch product, but it is a vswitch with some basic routing functions. Its main function is data exchange. That is to say, it provides both data exchange and routing, but its main function is data exchange. The router only has the main function of routing forwarding.

2. vswitches are mainly connected to simple lan, while vrouters are connected to various complex networks. The routing function of a vswitch is generally simple, and the routing path is far less complex than that of A vro.

It mainly deals with simple LAN connections. It is mainly used in LAN or provides fast data exchange function to meet the characteristics of frequent LAN data exchange applications.

3. the router is different. It is designed to meet different types of network connections. Its routing functions are more reflected in the interconnection between different types of networks, for example, the connection between the LAN and WAN and the connection between networks of different protocols. Therefore, routers are mainly used between different types of networks.

4. Its main function is route forwarding. The ultimate goal is to solve the connection of various complex routing paths. Therefore, the router's routing function is usually very powerful, not only applies to LAN of the same protocol, but also to LAN and WAN of different protocols.

5. Its advantages include selecting the best route, load balancing, link backup, and switching route information with other networks. In order to connect to various types of networks, vro interfaces are rich in types, while vswitches are generally only LAN interfaces of the same type, which is very simple.

6. Technically speaking, there are significant differences between vrouters and vswitches in Packet Exchange operations. Generally, a vro performs Packet Exchange by a microprocessor-based software routing engine, while a vswitch performs Packet Exchange through hardware. After a vswitch routes the first data stream, it will generate a ing table between the MAC address and the IP address. When the same data stream passes through again, the table will pass through directly from the second layer instead of re-routing, this eliminates the network delay caused by router routing and improves the efficiency of packet forwarding.

VII. vswitch routing lookup is for data streams. It uses the caching technology and ASIC Technology to easily implement it. Therefore, it can greatly save costs and achieve fast forwarding. Vro's forwarding adopts the longest matching method to achieve complicated implementation. It is usually implemented using software, and the forwarding efficiency is low. If the overall performance is compared, the performance of the vswitch is far better than that of the vro, it is very suitable for LAN with frequent data exchanges.

Although a router has powerful routing functions, its packet forwarding efficiency is much lower than that of a vswitch. It is more suitable for interconnection between different types of networks with less frequent data exchanges, such as the interconnection between a LAN and the Internet.

If a router, especially a high-end router, is used in a LAN, it is a waste (in terms of its powerful routing function), and it cannot meet the communication performance of the LAN.

A vswitch is similar to a hub and can connect two LAN segments. It works on the data link layer and can filter frames. The source address and destination address of the SWITCH detection frame. If it is in the same network segment, it is not forwarded.

If not in the same network segment, frames are forwarded to another network segment. The physical layer provides a basic mechanism to encode and decode binary data. The physical layer also defines the physical connection mechanism with the media, but not the media itself.

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.