Help Center/ Virtual Private Network/ FAQs/ Popular Questions/ How Do I Determine Which EIP Is Used for Transmitting Service Traffic That Leaves the Cloud?
Updated on 2024-07-23 GMT+08:00

How Do I Determine Which EIP Is Used for Transmitting Service Traffic That Leaves the Cloud?

  • If the HA mode of a VPN gateway is active/standby:

    The outgoing traffic from the VPN gateway to the customer subnet is preferentially transmitted through the VPN connection set up between the customer subnet and the active EIP.

  • If the HA mode of a VPN gateway is active-active:
    • When Associate With is set to Enterprise Router, the outgoing traffic from the VPN gateway to the customer subnet is load balanced among all VPN connections set up with the customer subnet.
    • When Associate With is set to VPC, the outgoing traffic from the VPN gateway to the customer subnet is preferentially forwarded through the VPN connection that is first set up between the customer subnet and an EIP.
  • You can perform the following operations to check the VPN connection through which traffic leaves the cloud:
    1. Log in to the management console.
    2. Click in the upper left corner of the page, select a region, and choose Management & Governance > Cloud Eye.
    3. Choose Cloud Service Monitoring from the navigation tree. The Cloud Service Dashboards page is displayed.
    4. Click Virtual Private Network VPN in the Dashboard column. The Details page is displayed.
    5. Choose S2C VPN Connection, click the Resource Details tab, and click View Metric in the Operation column of the target VPN connection.

      Check the metrics of the VPN connection. If the value of the Traffic Send Rate metric is not 0, the traffic is transmitted through this connection.