Dear Alibaba Cloud customers, to continuously improve the security of our cloud network environment, we are planning to implement security hardening for access policies of Elastic IP Addresses (EIPs) in cut-through mode. Thank you for your understanding and cooperation. We will continue to enhance our product security capabilities to provide you with a more reliable cloud service experience. If you have any questions, please contact us through your account manager.
Change details
Starting from April 23, 2026, 00:00 (UTC+8), EIPs with the association mode set to Cut-through Mode will no longer be allowed to access the Alibaba Cloud reserved CIDR block 100.64.0.0/10. This CIDR block is reserved for Alibaba Cloud services and is only applicable to private network access. This change aims to prevent unintended access behavior and further safeguard your business security.
Scope of impact
If you are currently using EIPs with the association mode set to Cut-through Mode to access cloud services within the 100.64.0.0/10 CIDR block, you will not be able to continue accessing them after April 23, 2026.
Instructions
To ensure smooth business operations, please configure the route for 100.64.0.0/10 to point to the primary elastic network interface (ENI) of your ECS instance before April 23, 2026.
-
Bind the ENI associated with the EIP to an ECS instance:
Go to the VPC console - Elastic IP Addresses page. In the top menu bar, select the region of the EIP.
-
Find the target EIP whose association mode is Cut-through Mode, and click the elastic network interface ID in the Associated Instance Type/ID column.
-
On the elastic network interface details page, click Associated Instance, and select the target ECS instance.
Log on to the ECS instance using the associated EIP, and run the
ifconfigoripconfigcommand to check the network configuration of the instance.Each instance type supports a different number of ENIs that can be bound.
After a secondary ENI is bound to an ECS instance, some images cannot automatically detect the IP address of the secondary ENI and add routes. In this case, you need to configure the secondary ENI.
After the binding, the ECS instance automatically generates a route with the secondary ENI as the outbound interface. The priority of this route is lower than that of the route with the primary ENI as the outbound interface. Please adjust the route priority based on your business requirements.
-
After completing the binding and route configuration, create the
set_cloud_service_default_route.shscript to route the Alibaba Cloud service address100.64.0.0/10to the primary ENI.primary_ip=$(curl -s http://100.100.100.200/latest/meta-data/private-ipv4) if [ -z "$primary_ip" ]; then echo "ERROR: Failed to get the primary IP address." >&2 exit 1 fi echo "Primary IP address: $primary_ip" primary_device=$(ip -4 -o addr | grep $primary_ip| awk '{print $2}') if [ -z "$primary_device" ]; then echo "ERROR: Failed to get the primary network interface." >&2 exit 1 fi echo "Primary network interface: $primary_device" gateway=$(ip route show default | grep $primary_device | grep -oP 'via\s+\K[0-9.]+') if [ -z "$gateway" ]; then echo "ERROR: Failed to get the default gateway." >&2 exit 1 fi echo "Default gateway: $gateway" cmd="ip route replace 100.64.0.0/10 via $gateway dev $primary_device" sudo $cmd if [ $? -ne 0 ]; then echo "ERROR: The 'ip route' command failed." >&2 fi result=$(ip route | grep "100.64.0.0") echo "Configuration applied. Current route: $result" if [ -z "$result" ]; then echo "ERROR: The route for 100.64.0.0/10 was not added successfully." >&2 exit 1 fi result=$(grep "100.64.0.0/10" /etc/rc.local) if [ -z "$result" ]; then echo $cmd | sudo tee -a /etc/rc.local echo "Adding route to /etc/rc.local to ensure persistence." fi echo "Script completed successfully." -
Run the
sh set_cloud_service_default_route.shcommand. IfSuccessis displayed, the configuration is successful.get primary_ip=192.168.0.244 primary device is eth0 default gateway is 192.168.0.253 config finish, 100.64.0.0/10 via 192.168.0.253 dev eth0 ip route replace 100.64.0.0/10 via 192.168.0.253 dev eth0 add default route to rc.local Success After the configuration is complete, run the following commands to verify. If the commands return output and the ENI shown in the output is the primary ENI, the configuration is as expected.
ip route show | grep "100.64.0.0" grep "100.64.0.0" /etc/rc.local