aws private ip address Archives - Anuj Varma, Hands-On Technology Architect, Clean Air Activist https://www.anujvarma.com/tag/aws-private-ip-address/ Production Grade Technical Solutions | Data Encryption and Public Cloud Expert Wed, 07 Oct 2020 15:45:37 +0000 en-US hourly 1 https://wordpress.org/?v=7.0.2 https://www.anujvarma.com/wp-content/uploads/anujtech.png aws private ip address Archives - Anuj Varma, Hands-On Technology Architect, Clean Air Activist https://www.anujvarma.com/tag/aws-private-ip-address/ 32 32 Overlapping Private Address Spaces – AWS and On Premises https://www.anujvarma.com/overlapping-private-address-spaces-aws-and-on-premises/ https://www.anujvarma.com/overlapping-private-address-spaces-aws-and-on-premises/#respond Wed, 07 Oct 2020 15:23:24 +0000 https://www.anujvarma.com/?p=7866 What happens if my on premises (data center)) private address space overlaps with the private address space on AWS? On the public cloud, private address space overlaps may occur for […]

The post Overlapping Private Address Spaces – AWS and On Premises appeared first on Anuj Varma, Hands-On Technology Architect, Clean Air Activist.

]]>
What happens if my on premises (data center)) private address space overlaps with the private address space on AWS?

On the public cloud, private address space overlaps may occur for different use cases:

  1. Multiple AWS VPCs – each with the default 10.0.0.0/16 address space. That’s a common scenario – and it most commonly comes into play when you have multiple cloud VPCs (e.g. two peered VPCs on AWS).
  2. Your cloud hosted EC2 instances (or PaaS services) need to privately connect to a partner (or customer) IP address / range. You have no control over your partner’s private address space.

Network Address Translation (NAT) can be used to connect two networks with overlapping private address spaces. However:

  • a) Not all networks do automatic NATting
  • b) Even with NATing, you may end up with a scenario where you have the same private IP address on both sides of a VPN Tunnel.

What about using 172.X.X.X on AWS and 10.X.X.X on premises?

Yes – that solves the private address space overlap issue. Since your CIDR blocks are totally different, there’s no potential overlap.

Helpful Links

10.X and 172.X and 192.X address spacesĀ 

The post Overlapping Private Address Spaces – AWS and On Premises appeared first on Anuj Varma, Hands-On Technology Architect, Clean Air Activist.

]]>
https://www.anujvarma.com/overlapping-private-address-spaces-aws-and-on-premises/feed/ 0