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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ