Help Center/ Virtual Private Cloud/ FAQs/ Connectivity/ What Are the Priorities of the Custom Route and EIP If Both Are Configured for an ECS to Enable the ECS to Access the Internet?
Updated on 2026-03-26 GMT+08:00
What Are the Priorities of the Custom Route and EIP If Both Are Configured for an ECS to Enable the ECS to Access the Internet?
In a VPC route table, routes are matched in descending order of priority: Local route > specific route > EIP route > default route.
- If the destination of a custom route is a specific IP address (not 0.0.0.0/0), it takes priority over the EIP route.
- If the destination of a custom route is 0.0.0.0/0, it can match any traffic. In this case, the EIP route has a higher priority.
For more information about route priorities, see Route Priority.
Parent topic: Connectivity
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.