当两个目标具有相同的默认目标0.0.0.0/0路由作为目的地时,VPC子网路由优先级是什么?

0

【以下的问题经过翻译处理】 如果一个公共子网附加了以下路由表的路由信息:

目标目的地
0.0.0.0/0nat-gateway-id
0.0.0.0/0igw-gateway-id

哪一项优先级更高?在这种情况下是否考虑顺序?

profile picture
EXPERT
demandé il y a un an3 vues
1 réponse
0

【以下的回答经过翻译处理】 在VPC路由表中,不能在静态路由中的为同一网络目的地指定两个目标的。例如,子网路由表已经有一个指向<igw-gateway-id>的默认路由0.0.0.0/0,如果您尝试在相同的路由表中添加另一个指向<nat-gateway-id>的默认路由0.0.0.0/0,将导致错误消息:“已经存在0.0.0.0/0标识的路由。”

profile picture
EXPERT
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions