Vro and vswitch

Source: Internet
Author: User

Vro and vswitch

  • Vro has a firewall Function

A vro is primarily used for WAN-to-WAN connections and acts on the network layer to resolve forwarding groups between different networks. A vro receives an input group from one line and forwards the group to another line. The two lines may use different protocols and belong to different networks.
The switch is used for the LAN-WAN connection, it is the data link layer equipment, the switch belongs to the bridge, some switches can also realize the third layer of the exchange. Compared with the two, layer-3 vswitches have both good control functions of routers and the ability to forward packets at the same speed. vro features more powerful than switches, but the speed is relatively slow, vswitches are widely used because they are expensive.
Vro does not support packet transmission in the routing protocol or transmission of unknown destination network data packets. It only forwards data packets of specific addresses. Therefore, the vro can prevent broadcast storms and act as a firewall.

The two work layers are different.

The router works on the layer 3 network layer of OSI. More protocol information can be obtained, so that the router can make more intelligent forwarding decisions. The switch works on the Layer 2 data link layer of OSI.
Because the router was designed to work at the OSI model's network layer from the very beginning, and the original switch was working at the data link layer of the OSI/RM open architecture, that is, the second layer.

Can broadcast domains be separated?

Vswitches above Layer 3 Have VLAN functions and can also be divided into broadcast domains. However, subbroadcast domains cannot communicate with each other and communication between them still requires routers. The CIDR blocks connected to the vro are allocated to different broadcast domains, and the broadcast data does not pass through the vro.
In some cases, a vswitch may cause communication congestion and security vulnerabilities. Because the CIDR Block connected by the vswitch still belongs to the same broadcast domain, broadcast packets are transmitted across all the CIDR blocks connected to the vswitch.

Different objects

A vro uses different network ID numbers (IP addresses) to determine the data forwarding address. A vswitch uses the physical address or MAC address to determine the destination data forwarding address.
The MAC address is usually provided by the hardware and allocated by the NIC manufacturer, and has been fixed to the NIC. Generally, it cannot be changed.
IP addresses are implemented in software and describe the network where the device is located.

Differences in working methods

Vrouters and vswitches are not of the same nature and are incomparable. vrouters are more intelligent than vswitches.
Currently, hubs are rarely used and are basically replaced by switches. Because the switch is a car, everyone can run it without worrying about car accidents. Therefore, vswitches are more advanced than hubs.
The vswitch has independent bandwidth, and the bandwidth of each port is independent from each other, so that it can carry large traffic.
The Hub is shared bandwidth and bus. When the data communication volume is large, communication congestion may occur.

Features

Both hubs and switches are used for port expansion, that is, to expand the access point of the LAN (usually Ethernet), that is, to allow the LAN to connect more computers.
A vro is used to connect networks, that is, to connect different networks.


This article from the "xy low-key development" blog, please be sure to keep this source http://qq7887174.blog.51cto.com/7898352/1303994

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.