No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

CLI-based Configuration Guide - Virtualization

AR500, AR510, AR531, AR550, AR1500, and AR2500 V200R009

This document provides the basic concepts, configuration procedures, and configuration examples in different application scenarios of the virtualization feature supported by the device.

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Virtualization

Virtualization

Basic Architecture

Figure 2-1 shows the basic architecture of virtualization.
Figure 2-1  Basic architecture of virtualization
The device has a main control unit (MCU) and an open service platform (OSP) daughter card. The basic architecture of virtualization consists of the following:
  • Router

    The router is a routing system that provides functions of a traditional AR router.

  • Virtual machine (VM)

    A VM in the virtual environment runs the guest operating system (Guest OS) and application software.

  • Virtual environment management platform (VEMP)

    The VEMP provides VM lifecycle management functions such as creating, starting, stopping, and deleting a VM.

  • HostOS

    The HostOS is the basic OS of the device and provides basic system services for other systems.

Communication Mechanism

A VM is accessible only when it can communicate with the external network. Virtual systems on a device include the routing system, VMs, and HostOS. After the virtual systems are connected through virtual interfaces and links, VMs communicate with the external network through the routing system.

Figure 2-2  VM communication mechanism

vSwitch

A virtual switch (vSwitch) is created using virtualization technology and provides functions of a traditional switch. Compared with traditional physical switches, vSwitches have the following advantages:

  • More flexible configuration: You can configure multiple vSwitches on one device and flexibly set the interface quantity.
  • Lower cost: A vSwitch transmits traffic between VMs and connects VMs to the external network.

The device has only one vSwitch br0, which is created by the system by default.

Virtual Interface

A virtual interface is a logical interface that is created inside the system and connects virtual systems. As shown in Figure 2-2, the device supports the following types of virtual interfaces:
  • Routing system virtual interface: It is created by the system by default and connects to a HostOS virtual interface. The interface name is GE0/0/6, which is similar to the name of a common physical GE interface.
  • VM virtual interface: It is created by the system by default and associates with a virtual network adapter. The interface name is in the format of VM name_ + eth + interface number.
  • Dynamic HostOS virtual interface: It is created using a command and connects to a VM virtual interface.
  • Default HostOS virtual interface: It is created by the system by default. The system creates two default HostOS virtual interfaces: veth1 and br0.
    • veth1: It is used to manage the HostOS.
    • br0: It is the management interface used to manage the vSwitch and is added to the vSwitch by default.

Virtual Link

Virtual links connect virtual interfaces of the virtual systems. As shown in Figure 2-2, the device supports the following types of virtual links:
  • Default virtual link between the router and HostOS: It is created by the system by default and is used to manage the HostOS.
  • Dynamic virtual link between the HostOS and VM: It connects the HostOS to a VM and enables the VM to communicate with the routing system through the vSwitch.
  • Dynamic virtual link between two VMs: It connects two VMs.

Communication Between Virtual Systems

Virtual systems (routing system, VMs, and HostOS) on a device must communicate with each other before communicating with the external network through the routing system. The virtual systems communicate through the vSwitch. The interface Eth0/0/0 is added to the vSwitch by default.

As shown in Figure 2-2, a user sends packets to the physical router to access a VM. After receiving the packets, the routing system sends the packets to the VM through physical link 2, vSwitch, and virtual link 3. After the application software on the VM processes the packets, the VM sends response packets to the routing system along the original transmission path. The VM can communicate with another VM through the vSwitch or forward received packets to a connected VM.

Translation
Download
Updated: 2019-05-06

Document ID: EDOC1000177806

Views: 8966

Downloads: 38

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next