IPS in use in a subnet

0

Hello, i need to know which IPs are currently in use in each subnet and what they are assigned to. How can i see this info in GUI or CLI? thanks

已提問 1 年前檢視次數 246 次
3 個答案
0

IPAM as @Gary Mclean suggested is recommended (albeit expensive!) for ongoing management of IPs but are you wanting just to query current state? If so, have a look in the EC2 Console under "Network Interfaces". Similar information is available via the CLI with aws ec2 describe-network-interfaces - see https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-network-interfaces.html.

專家
已回答 1 年前
  • @skinsman thanks for that. what i am trying to do is to find out which ips are currently assigned in each subnet. something like sh IP interface for a router. is that do able?

0

I believe the recommended solution would be to use IPAM

https://docs.aws.amazon.com/vpc/latest/ipam/what-it-is-ipam.html

profile picture
專家
已回答 1 年前
0

You can go to EC2--> Network interface section in AWS Console . It will list Network ENI ID and IP Address for complete VPC

已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南