Create a VPC vRouter
On the main menu of ZStack Cloud, choose . On the VPC vRouter page, click Create VPC vRouter. Then, the Create VPC vRouter page is displayed.
On the displayed page, set the following parameters:
- Name: Enter a name for the VPC vRouter.
- Description: Optional. Enter a description for the VPC vRouter.
- Host: Optional. Select a host on which the VPC vRouter is started.
- vRouter Offering: Select a vRouter offering you created before.
- Default IPv4/IPv6 Address: Optional. Specify a default IP address for the VPC vRouter. If not specified, the Cloud allocates one automatically.
- DNS: Optional. Set the DNS service for the VPC vRouter.
If not specified, 223.5.5.5 will be used.
Note:
- You can set an IPv4 DNS or IPv6 DNS as needed. For example, you can set the IPv4 DNS to 223.5.5.5 or IPv6 DNS to 240C::6644.
- Services in the VPC vRouter can access the public network services via DNS. You can also specify the other DNS address if necessary.
- For VM instances created by using a VPC network, the DNS is the gateway of the VPC network. The VM traffics are forwarded by a VPC vRouter.

Considerations
When you use a VPC vRouter, note the following:
- VPC networks under different VPC vRouters are isolated from each other by default at Layer 2.
- The IP address segments of different VPC networks under the same VPC vRouter cannot overlap. In addition, the gateways of any two VPC networks cannot be the same.
- Before an ordinary account can create a VPC vRouter, the admin needs to share the vRouter offering. Otherwise, the ordinary account could not create a VPC vRouter or VPC network.
- Before you use a VPC vRouter to provide network services, make sure that the VPC vRouter is in the running or connected state. If the VPC vRouter is in other states, check whether exceptions occur on the related resources.
- You can login to a VPC vRouter by using a password or SSH key:
- SSH login using password: By default, SSH login by using a password
is disabled. To enable the login method, you can go to Global
Setting to modify the related setting.
Note: If you modify the setting, reconnect the VPC vRouter to make the modification take effect.
- SSH login using key: The SSH key is stored in the path: $ZSTACK_HOME/WEB-INF/classes/ansible/rsaKeys/id_rsa.
- SSH login using password: By default, SSH login by using a password
is disabled. To enable the login method, you can go to Global
Setting to modify the related setting.