Files
doc-exports/docs/elb/umn/en-us_topic_0118147668.html
zhoumeng 3275979377 ELB_UMN_IPV6_1218
Reviewed-by: Hajba, László Antal <laszlo-antal.hajba@t-systems.com>
Co-authored-by: zhoumeng <zhoumeng35@huawei.com>
Co-committed-by: zhoumeng <zhoumeng35@huawei.com>
2024-02-09 10:31:35 +00:00

4.8 KiB

Transferring the Load Balancer EIP to Backend Servers

Scenarios

ELB allows the EIPs of the load balancers to be passed to backend servers. You can enable the function when you add HTTPS or HTTP listeners.

Load balancer EIPs are placed in the X-Forwarded-ELB-IP field in the HTTPS or HTTP header in the format of XX.XXX.XX.XXX, as shown below:

X-Forwarded-ELB-IP: XX.XXX.XX.XXX

Enabling the Function

  1. Log in to the management console.
  2. In the upper left corner of the page, click and select the desired region and project.
  3. Hover on in the upper left corner to display Service List and choose Network > Elastic Load Balancing.
  4. Locate the load balancer and click its name.
  5. Under Listeners, click Add Listener.
  6. In the Add Listener dialog box, expand Advanced Settings and enable the function.
  7. Click OK.

    This function can be enabled only for HTTPS or HTTP listeners.

Disabling the Function

  1. Log in to the management console.
  2. In the upper left corner of the page, click and select the desired region and project.
  3. Hover on in the upper left corner to display Service List and choose Network > Elastic Load Balancing.
  4. Locate the load balancer and click its name.
  5. On the Listeners tab page, locate the listener, click next to the listener name, and select Modify Listener.
  6. In the Modify Listener dialog box, expand Advanced Settings and disable the function.