# Networking - Is it ok to use a network range for my VPC that does not fall into the reserved private ranges?

**URL:** <https://awshq.com/t/networking-is-it-ok-to-use-a-network-range-for-my-vpc-that-does-not-fall-into-the-reserved-private-ranges/15270>\
**Category:** AWS Networking\
**Tags:** vpc\
**Created:** [July 19, 2022, 10:08pm UTC](https://awshq.com/t/networking-is-it-ok-to-use-a-network-range-for-my-vpc-that-does-not-fall-into-the-reserved-private-ranges/15270 "2022-07-19T22:08:25Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![stupid\_aws\_qs](https://awshq.com/letter_avatar_proxy/v4/letter/s/ac91a4/32.png) [@stupid\_aws\_qs](https://awshq.com/u/stupid_aws_qs)\
**Post date:** [July 19, 2022, 10:08pm UTC](https://awshq.com/t/networking-is-it-ok-to-use-a-network-range-for-my-vpc-that-does-not-fall-into-the-reserved-private-ranges/15270/1 "2022-07-19T22:08:25Z")

</div>

This is probably a stupid question, but please forgive me.

I am reading up on networking and I see that the 172.16.0.0/32 to 172.31.0.0/16 ranges are reserved for private networks. Yes there’s 10.x.x.x and 192.x.x.x ones too. But what if I made my VPC 172.10.0.0/16. Will that break anything or cause potential issues? Or is it fine given the fact that it’s private.

Correct me if I’m wrong, but this will cause issues. If the IP of some service on the public internet is 172.10.x.x, my router will look at my local network to try and find that resource. It won’t ever route that traffic out to the world. Or am I Wrong on this?

Thanks!

---

<div class="post-metadata">

**Author:** ![bfreis](https://awshq.com/letter_avatar_proxy/v4/letter/b/9fc348/32.png) [@bfreis](https://awshq.com/u/bfreis)\
**Post date:** [July 20, 2022, 12:08am UTC](https://awshq.com/t/networking-is-it-ok-to-use-a-network-range-for-my-vpc-that-does-not-fall-into-the-reserved-private-ranges/15270/2 "2022-07-20T00:08:10Z")

</div>

You’re right 100%.

---

<div class="post-metadata">

**Author:** ![MarmadukeTheHamster](https://awshq.com/letter_avatar_proxy/v4/letter/m/e36b37/32.png) [@MarmadukeTheHamster](https://awshq.com/u/MarmadukeTheHamster)\
**Post date:** [July 20, 2022, 12:16am UTC](https://awshq.com/t/networking-is-it-ok-to-use-a-network-range-for-my-vpc-that-does-not-fall-into-the-reserved-private-ranges/15270/3 "2022-07-20T00:16:49Z")

</div>

Correct, private IP ranges are reserved as private for this reason. If an IP address is not a part of a reserved private range, you could encounter it on the internet, and you will not be able to reach it if your network is configured to treat the address as internal.

---

<div class="post-metadata">

**Author:** ![abakedcarrot](https://awshq.com/letter_avatar_proxy/v4/letter/a/aeb1de/32.png) [@abakedcarrot](https://awshq.com/u/abakedcarrot)\
**Post date:** [July 20, 2022, 12:44am UTC](https://awshq.com/t/networking-is-it-ok-to-use-a-network-range-for-my-vpc-that-does-not-fall-into-the-reserved-private-ranges/15270/4 "2022-07-20T00:44:04Z")

</div>

only for things that have routes to that VPC. So the vpc itself and anything peered with it. Anything not peered with it wouldn’t be affected as the traffic should take the default route out to the public internet.

---

<div class="post-metadata">

**Author:** ![quiet0n3](https://awshq.com/letter_avatar_proxy/v4/letter/q/13edae/32.png) [@quiet0n3](https://awshq.com/u/quiet0n3)\
**Post date:** [July 20, 2022, 2:55am UTC](https://awshq.com/t/networking-is-it-ok-to-use-a-network-range-for-my-vpc-that-does-not-fall-into-the-reserved-private-ranges/15270/5 "2022-07-20T02:55:53Z")

</div>

> [@MarmadukeTheHamster](#):
>
> Correct, private IP ranges are reserved as private for this reason. If an IP address is not a part of a reserved private range, you could encounter it on the internet, and you will not be able to reach it if your …

You could also find issues were it sends requests to the internet for a local IP and thus exposes internal data to the internet’s.

All comes down to how the router is setup and what routes are set in what priority.

---

<div class="post-metadata">

**Author:** ![JustSquirrel335](https://awshq.com/letter_avatar_proxy/v4/letter/j/ed8c4c/32.png) [@JustSquirrel335](https://awshq.com/u/JustSquirrel335)\
**Post date:** [July 20, 2022, 3:25am UTC](https://awshq.com/t/networking-is-it-ok-to-use-a-network-range-for-my-vpc-that-does-not-fall-into-the-reserved-private-ranges/15270/6 "2022-07-20T03:25:58Z")

</div>

I’ve done the same mistake..and on the last 10 years this problem above happened once for me…I couldn’t reach the target endpoint because of that. My solution was to create a “lambda forwarder” of the original request and the lambda outside vpc could reach the destination

---

<div class="post-metadata">

**Author:** ![greenlakejohnny](https://awshq.com/letter_avatar_proxy/v4/letter/g/cc9497/32.png) [@greenlakejohnny](https://awshq.com/u/greenlakejohnny)\
**Post date:** [July 20, 2022, 6:33am UTC](https://awshq.com/t/networking-is-it-ok-to-use-a-network-range-for-my-vpc-that-does-not-fall-into-the-reserved-private-ranges/15270/7 "2022-07-20T06:33:56Z")

</div>

> [@abakedcarrot](#):
>
> only for things that have routes to that VPC. So the vpc itself and anything peered with it. Anything not peered with it wouldn’t be affected as the traffic should take the default route out to the public internet.

Yeah, but if the VPC local route conflicts with something on the Internet, you won’t be able to access that thing on the Internet

---

<div class="post-metadata">

**Author:** ![greenlakejohnny](https://awshq.com/letter_avatar_proxy/v4/letter/g/cc9497/32.png) [@greenlakejohnny](https://awshq.com/u/greenlakejohnny)\
**Post date:** [July 20, 2022, 6:36am UTC](https://awshq.com/t/networking-is-it-ok-to-use-a-network-range-for-my-vpc-that-does-not-fall-into-the-reserved-private-ranges/15270/8 "2022-07-20T06:36:11Z")

</div>

Yes, this is why the RFC 1918 range is generally used

There’s a couple other private IP ranges as well, namely carrier grade NAT (100.64.0.0/10) and router benchmark (198.18.0.0/15)

---

<div class="post-metadata">

**Author:** ![abakedcarrot](https://awshq.com/letter_avatar_proxy/v4/letter/a/aeb1de/32.png) [@abakedcarrot](https://awshq.com/u/abakedcarrot)\
**Post date:** [July 20, 2022, 2:47pm UTC](https://awshq.com/t/networking-is-it-ok-to-use-a-network-range-for-my-vpc-that-does-not-fall-into-the-reserved-private-ranges/15270/9 "2022-07-20T14:47:57Z")

</div>

> [@greenlakejohnny](#):
>
> Yeah, but if the VPC local route conflicts with something on the Internet, you won’t be able to access that thing on the Internet

obviously

---

<div class="post-metadata">

**Author:** ![MuForceShoelace](https://awshq.com/letter_avatar_proxy/v4/letter/m/dec6dc/32.png) [@MuForceShoelace](https://awshq.com/u/MuForceShoelace)\
**Post date:** [July 20, 2022, 6:02pm UTC](https://awshq.com/t/networking-is-it-ok-to-use-a-network-range-for-my-vpc-that-does-not-fall-into-the-reserved-private-ranges/15270/10 "2022-07-20T18:02:29Z")

</div>

I mean, what if you gave all your internal company phones full real phone numbers? As long as it never touched the real phone network it technically would work, but it literally has no benefit and only will cause endless potential trouble and confusion. if you make your bosses phone the same number internally as the local pizza place, like yeah, you could do some sort of weird internal routing so that technically functions, but like, why? what if you are in the building and do need to call the pizza place? or they call you? or any of the million other issues.

---

<div class="post-metadata">

**Author:** ![nvanmtb](https://awshq.com/letter_avatar_proxy/v4/letter/n/898d66/32.png) [@nvanmtb](https://awshq.com/u/nvanmtb)\
**Post date:** [July 22, 2022, 3:46pm UTC](https://awshq.com/t/networking-is-it-ok-to-use-a-network-range-for-my-vpc-that-does-not-fall-into-the-reserved-private-ranges/15270/11 "2022-07-22T15:46:45Z")

</div>

If you don’t use the private range for your VPC then whoever owns/uses that public range will be inaccessible to your network. For some unknown reason HSBC does this and uses a public range in their internal networks and as a result their entire network is unable to access anything related to British Airways.
