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

asked a year ago233 views
3 Answers
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.

EXPERT
answered a year ago
  • @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
EXPERT
answered a year ago
0

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

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions