Network

Before you create new VM instances in the vCenter managed by ZStack, you need to create a vRouter network or a flat network in the vCenter in advance.


vRouter Network

To create vCenter a vRouter network, make sure in advance that a ZStack management node and a vCenter host can communicate with each other.

This topic describes how to create a vCenter vRouter network.

  1. Create a public network in the vCenter, including a public L2 network and a public L3 network.
    In the navigation pane of the ZStack Private Cloud UI, choose vCenter > Network. On the Network page, click Create Network. On the displayed Create Network page, set the following parameters:
    • Public network: Select public network.
    • Name: Enter a name for the vCenter public network.
    • Description: Optional. Enter a description for the vCenter public network.
    • Type: Select a public L2 network type as needed.
      • Supported types: L2NoVlanNetwork and L2VlanNetwork.
      • If you select L2VlanNetwork, enter a VLAN ID.
    • Switch: Enter the dvSwitch name or vSwitch name of the vCenter as needed.
    • Cluster: Select a vCenter cluster.
    • Stop DHCP server: By default, this checkbox is grey, indicating that you are not allowed to make any configuration for this checkbox.
      Note: vCenter public networks do not support the DHCP service. The DHCP service defaults to be disabled so that you need to manually configure an IP address for a VM instance.
    • Add IP Range: Select IP Range or CIDR.
      • IP Range

        If you use an IP range, enter a start IP address and an end IP address, respectively, for example, 172.20.58.200 and 172.20.58.220. For the netmask, enter 255.255.0.0. For the gateway, enter 172.20.0.1.

      • CIDR

        If you use CIDR, enter a CIDR such as 192.168.1.1/24.

    • Add DNS: Add a DNS server. You can specify 8.8.8.8 or 114.114.114.114.
    As shown in Create vCenter Public Network. Click OK. Then, the vCenter public network is created.
    Figure 1. Create vCenter Public Network


  2. To create a vCenter vRouter network, prepare a vRouter image and a vRouter offering in advance on the Network Resource page of the Cloud.
    1. Add a vCenter vRouter image.
      In the navigation pane of the ZStack Private Cloud UI, choose Network Resource > vRouter Resource > vRouter Image. On the vRouter Image page, click Add vRouter Image. On the displayed Add vRouter Image page, set the following parameters:
      • Name: Enter a name for the vRouter image.
      • Description: Optional. Enter a description for the vRouter image.
      • Backup Storage: Select a vCenter backup storage.
      • Image URL: Currently, you can upload a vCenter vRouter image by enter a URL.
        Note:
        ZStack Private Cloud provides users with specific vCenter vRouter images. You can find the download address of the latest vRouter image on ZStack Official Website.
        • File name: zstack-vRouter-3.10.0.vmdk
        • Download address: Click here
      As shown in Add vCenter vRouter Image.
      Figure 2. Add vCenter vRouter Image


    2. Add a vCenter vRouter offering.
      In the navigation pane of the ZStack Private Cloud UI, choose Network Resource > vRouter Resource > vRouter Offering. On the vRouter Offering page, click Create vRouter Offering. On the displayed Create vRouter Offering page, set the following parameters:
      • Name: Enter a name for the vRouter offering.
      • Description: Optional. Enter a description for the vRouter offering.
      • CPU: Set a CPU count for the vRouter offering.
      • Memory: Set the memory size for the vRouter offering. Unit: M | G | T.
      • Image: Select a vCenter vRouter image that you added before.
      • Management L3 Network: Select a management network as needed. In the following sample, the management network and the public network are the same network.
      • L3 Network: Select a vCenter public network that you created before.
      As shown in Create vCenter vRouter Offering.
      Figure 3. Create vCenter vRouter Offering


  3. Create a vCenter vRouter network.
    In the navigation pane of the ZStack Private Cloud UI, choose vCenter > Network. On the Network page, click Create Network. On the displayed Create Network page, set the following parameters:
    • Private network: Select private network.
    • Name: Enter a name for the vCenter vRouter network.
    • Description: Optional. Enter a description for the vCenter vRouter network.
    • Type: Select a public L2 network type as needed.
      • Supported types: L2NoVlanNetwork and L2VlanNetwork.
      • If you select L2VlanNetwork, enter a VLAN ID.
    • Switch: Enter the dvSwitch name or vSwitch name of the vCenter as needed.
    • Cluster: Select a vCenter cluster.
    • vRouter: Select the vRouter network architecture type.
    • vRouter Offering: Select a vCenter vRouter offering that you created before.
    • Add IP Range: Select IP Range or CIDR.
      1. IP Range

        If you use an IP range, enter a start IP address and an end IP address, respectively, for example, 172.20.58.200 and 172.20.58.220. For the netmask, enter 255.255.0.0. For the gateway, enter 172.20.0.1.

      2. CIDR

        If you use CIDR, enter a CIDR such as 192.168.1.1/24.

    • Add DNS: Optional. Add a DNS server. You can specify 8.8.8.8 or 114.114.114.114.
    As shown in Create vCenter vRouter Network. Click OK. Then, a vCenter vRouter network is created.
    Figure 4. Create vCenter vRouter Network



Flat Network

This topic describes how to create a vCenter flat network.

  1. Create a vCenter flat network.
    In the navigation pane of the ZStack Private Cloud UI, choose vCenter > Network. On the Network page, click Create Network. On the displayed Create Network page, set the following parameters:
    • Private network: Select private network.
    • Name: Enter a name for the vCenter flat network.
    • Description: Optional. Enter a description for the vCenter flat network.
    • Type: Select a private L2 network type as needed.
      • Supported types: L2NoVlanNetwork and L2VlanNetwork.
      • If you select L2VlanNetwork, enter a VLAN ID.
    • Switch: Enter the dvSwitch name or vSwitch name of the vCenter as needed.
    • Cluster: Select a vCenter cluster.
    • Flat Network: Select the flat network architecture type.
      • By default, the Stop DHCP server checkbox is grey, indicating that you are not allowed to make any configuration for this checkbox.
      • vCenter flat networks do not support the DHCP service. The DHCP service defaults to be disabled so that you need to manually configure an IP address for a VM instance.
    • Add IP Range: Select IP Range or CIDR.
      1. IP Range

        If you use an IP range, enter a start IP address and an end IP address, respectively, for example, 172.20.58.200 and 172.20.58.220. For the netmask, enter 255.255.0.0. For the gateway, enter 172.20.0.1

      2. CIDR

        If you use CIDR, enter a CIDR such as 192.168.1.1/24.

    • Add DNS: Add a DNS server. You can specify 8.8.8.8 or 114.114.114.114.
  2. Click OK. Then, a vCenter flat network is created.
    As shown in Create vCenter Flat Network.
    Figure 1. Create vCenter Flat Network


You can perform the following operations on a vCenter network:
  • vCenter public network: Add an IP range, add a DNS, share a public network globally, recall a public network globally, delete a public network, change the name and description for the public network, attach a cluster, delete an IP range, delete a DNS, share a public network to the specified accounts or projects, and recall a public network from the specified accounts or projects.
  • vCenter flat network: Add an IP range, add DNS, share a flat network globally, recall a flat network globally, delete a flat network, change name and description for the flat network, attach a cluster, delete an IP range, delete a DNS, share a flat network to the specified accounts or projects, and recall the flat network from the specified accounts or projects.
  • vCenter vRouter network: Add an IP range, add DNS, attach a vRouter offering, detach the vRouter offering, share a vRouter network globally, recall a vRouter network globally, delete a vRouter network, change the name and description for a vRouter network, attach a cluster, delete an IP range, delete a DNS, share a vRouter network to the specified accounts or projects, and recall a vRouter network from the specified accounts or projects.
Note:
  • ZStack supports multi-tenant management in the managed vCenter. Normal accounts and project members can use the vCenter networks shared by an administrator.
  • If you delete vCenter network resources, the local records will be deleted as well without affecting your actual network resources in your remote vCenter. When you delete an L3 network in your vCenter, the vCenter VM instances that are attached to the L3 network will be detached from the L3 network.

Network Service

vCenter network services currently support the vRouter network architecture model.

A vCenter vRouter network provides network services such as DNS, SNAT, Elastic IP (EIP), port forwarding, load balancing, IPsec tunnel, and Netflow.
  • DNS:
    • A vCenter vRouter can act as a DNS server to provide DNS services.
    • By default, the DNS address that you see in a vCenter VM instance is the IP address of the corresponding vCenter vRouter. The DNS address set by a user is forwarded and configured by the vCenter vRouter.
  • SNAT:
    • A vCenter vRouter provides the source network address translation (SNAT) service to vCenter VM instances.
    • vCenter VM instances can directly access the Internet by using SNAT.
  • EIP: Allows a vCenter vRouter to access the private network of a vCenter VM instance through a public network.
  • Port forwarding: Forwards the port traffics of a specified public IP address to the port of a corresponding vCenter VM IP address.
  • Load balancing: Distributes inbound traffics from a public IP address to a group of backend vCenter VM instances, and then automatically detects and isolates unavailable vCenter VM instances.
  • IPsec tunnel: Uses the IPsec tunnel protocol to provide site-to-site VPN connections.
Note:

ZStack supports multi-tenant management in a managed vCenter. Normal accounts and project members can use vCenter network services, including EIP, port forwarding, and load balancing.






Download

Already filled the basic info? Click here.

Enter at least 2 characters.
Invalid mobile number.
Enter at least 4 characters.
Invalid email address.
Wrong code. Try again. Send Code Resend Code (60s)

An email with a verification code will be sent to you. Make sure the address you provided is valid and correct.

Download

Not filled the basic info yet? Click here.

Invalid email address or mobile number.

Email Us

contact@zstack.io
ZStack certification training consulting
Enter at least 2 characters.
Invalid mobile number.
Enter at least 4 characters.
Invalid email address.
Wrong code. Try again. Send Code Resend Code (60s)

Email Us

contact@zstack.io

The download link is sent to your email address.

If you don't see it, check your spam folder, subscription folder, or AD folder. After receiving the email, click the URL to download the documentation.

The download link is sent to your email address.

If you don't see it, check your spam folder, subscription folder, or AD folder.
Or click on the URL below. (For Internet Explorer, right-click the URL and save it.)

Thank you for using ZStack products and services.

Submit successfully.

We'll connect soon.

Thank you for choosing ZStack products and services.

Back to Top