Bala krishna
Bala krishna

Reputation: 639

How overlapping AWS VPC CIDRs are managed in AWS?

I am curious about how AWS manages VPC IP address range.

My question is how AWS manages VPC's with same CIDR range in multiple AWS accounts.

Lets say I have:

How come two VPCs will have same CIDR in different AWS accounts -- Shouldn't they be globally unique?

I want to know how this is working in AWS networking.

Please enlighten me on this. Also, please let me know If I am thinking in wrong direction as well.

Thanks in Advance.

Upvotes: 0

Views: 340

Answers (1)

John Rotenstein
John Rotenstein

Reputation: 269490

Amazon VPCs are software-defined networks, or virtual networks.

The CIDRs are not actually used on the networking equipment. Rather, the traffic is encapsulated within other packets and sent between virtual resources attached to the virtual network. It is designed to work like conventional networks, but is implemented differently.

AWS users do not need to 'know' how it is implemented -- they can simply define networks and trust that the traffic will work within each virtual network. This is similar to virtual networks used on VMware virtual networks.

Upvotes: 2

Related Questions