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?

1개 답변
0
수락된 답변

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
전문가
답변함 4년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠