Disable Multi-Gateway

After you disable multi-gateway for a VM instance, the instance will use the gateway of the default NIC. To disable multi-gateway, follow these steps:
  1. Check the multi-gateway tag status of a VM instance.
    Run the following command to get the tag information of the VM instance that has been enabled with multi-gateway. You can get the tag UUID from the returned value uuid:
    admin >>>QuerySystemTag resourceType=VmInstanceVO tag='vmMultipleGateway::true' resourceUuid=32127778d053473f97498dbef8189fb2 {     "inventories": [         {             "createDate": "Nov 18, 2019 9:14:58 PM",             "inherent": false,             "lastOpDate": "Nov 18, 2019 9:14:58 PM",             "resourceType": "VmInstanceVO",             "resourceUuid": "32127778d053473f97498dbef8189fb2",             "tag": "vmMultipleGateway::true",             "type": "System",             "uuid": "5834b0d5fd484a1b94809e27558baf9a"         }     ],     "success": true }
    • resourceType: The resource type of the VM instance. Use resourceType=VmInstanceVO.
    • tag: The system tag. Use tag='vmMultipleGateway::true' to get the tag information.
    • resourceUuid: The VM instance UUID.
  2. Disable multi-gateway.
    Run the following command to disable multi-gateway:
    admin >>>UpdateSystemTag tag="vmMultipleGateway::false" uuid=5834b0d5fd484a1b94809e27558baf9a
    • tag: The system tag. Use tag='vmMultipleGateway::true'.
    • uuid: The multi-gateway tag UUID. Use the returned uuid from step 1.
    Note: The above configuration only takes effect after you restart the VM instance.
  3. Verify the multi-gateway status.

    After the VM instance restarts, launch the console of the VM instance and log in. Run the route -n command to check the gateway configuration.

    Figure 1. Check the Gateway Configuration


Archives

Download Document Archives

Back to Top

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.

同意 不同意

I have read and concur with the Site TermsPrivacy PolicyRules and Conventions on User Management of ZStack Cloud

Download

Not filled the basic info yet? Click here.

Invalid email address or mobile number.
同意 不同意

I have read and concur with the Site TermsPrivacy PolicyRules and Conventions on User Management of ZStack Cloud

Email Us

contact@zstack.io
ZStack Training and Certification
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)

同意 不同意

I have read and concur with the Site TermsPrivacy PolicyRules and Conventions on User Management of ZStack Cloud

Email Us

contact@zstack.io
Request Trial
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)

同意 不同意

I have read and concur with the Site TermsPrivacy PolicyRules and Conventions on User Management of ZStack Cloud

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 using ZStack products and services.