gcpug / nouhau

Google Cloud Platformのノウハウを共有するRepository
https://gcpug.jp
MIT License
653 stars 23 forks source link

CIDRがクラスB(172.16.0.0/12)のVMからMemoryStoreへ接続できない #86

Open dkuji opened 5 years ago

dkuji commented 5 years ago

Problem

VPC作成時に自動サブネット作成を無効にし、さらにサブネットのCIDRをクラスB(172.16.0.0/12)で作成した場合、そのネットワーク上に作成したVMからMemoryStoreへ接続できない。

Why

一部のネットワーク事業者ではクラスBに対して172/8でフィルタリングしている場合があり、MemoryStoreも同様にフィルタリングしていると思われる。

ref: https://stackoverflow.com/questions/54528482/can-not-connect-memorystore-from-the-vm?answertab=active#tab-top https://www.arin.net/knowledge/address_filters.html

Workaround