Reserved CIDR range in a Subnet

0

Customer wants to reserve a CIDR range from the CIDR of a subnet. They want to keep the CIDR for private use, and the IPs in the CIDR can't be auto assigned when running instances with auto assigned private IPs.

An example, there is a subnet with CIDR 10.85.0.0/18, the customer wants keep 10.85.1.0/24 for other use, that means when running run-instances in this subnet, the EC2 instances shouldn't auto get a private IP from the reserved CIDR 10.85.1.0/24.

Do we have this feature or workaround for this requirement?

AWS
demandé il y a 4 ans1591 vues
1 réponse
0
Réponse acceptée

Although it's a little ugly, one option would be to create ENIs with specific IP addresses that should be in their reserved range. They can automate this using the "create-network-interface" EC2 API so it wouldn't be difficult. They should tag the ENIs that are "holding" IP addresses so that it is obvious what they are doing.

profile pictureAWS
EXPERT
répondu il y a 4 ans

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