Network configuration and IP resource requirements
Stay organized with collections
Save and categorize content based on your preferences.
This page discusses network configuration and IP resource requirements for
Filestore.
Connectivity support
Filestore connects to your VPC network using
either VPC Network Peering or
private services access.
The following chart shows which connection method supports which scenarios:
SCENARIO
VPC Network Peering
Private services access
Create an instance with a standalone VPC network.
✓
✓
Create an instance on a Shared VPC network from the host project.
✓
✓
Create an instance on a Shared VPC network from a service project.
✓
Use centralized IP range management for multiple Google services.
✓
Access an instance from on-premises networks using Cloud VPN or Cloud Interconnect.
✓
✓
Filestore supports the following connectivity scenarios:
Most any Compute Engine VM or GKE cluster can access any
Filestore instance that's on the same VPC
network. All internal IP addresses in the selected VPC
network can connect to the Filestore instance unless access is
restricted using IP-based access control.
Clients with an IP address in the 172.17.0.0/16 range can't connect to
Filestore instances. For more information, see
Known issues.
You can connect Filestore instances to clients in remote networks
using Cloud VPN or Cloud Interconnect, including clients
from another project or your on-premises clients.
You can connect
non-RFC 1918
clients to Filestore. In this case, you must explicitly grant them
access to the Filestore instance using
IP-based access control.
Filestore doesn't support transitive peering.
For example, if VPC network N1 is peered to Filestore's
internal network, and another VPC network, N2, is peered to N1,
N2 won't have connectivity to the Filestore instance. Only
clients on N1 can access the Filestore instance.
Firewall rules
You may need to create firewall rules in the following scenarios:
To enable NFS file locking, you may need to open up the ports used by the
statd and nlockmgr daemons. For more information, see
Configuring firewall rules.
In the Shared VPC scenario, NFS access is not restricted to the
service project by default. You can set firewall rules or use
IP-based access control
to restrict access, but these solutions don't specifically enforce project
boundaries.
Each Filestore instance must have an IP address range associated
with it. Both RFC 1918 and non-RFC 1918 IP address ranges (GA) are supported.
During instance creation, Filestore can automatically allocate an IP address range and assign IP addresses from that range to the instance. You can also manually provide a specific IP address range for your instance.
After you create the instance, you can't change the assigned IP addresses. If you want to introduce changes, delete and recreate the instance with a new IP address range.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eFilestore connects to your VPC network using either VPC Network Peering or private services access, supporting various scenarios including standalone VPC networks, Shared VPC networks, and on-premises network access via Cloud VPN or Cloud Interconnect.\u003c/p\u003e\n"],["\u003cp\u003eMost Compute Engine VMs or GKE clusters on the same VPC network can access Filestore instances, but clients with IP addresses in the \u003ccode\u003e172.17.0.0/16\u003c/code\u003e range are an exception.\u003c/p\u003e\n"],["\u003cp\u003eFilestore does not support transitive peering, meaning if one VPC network is peered to another which is then peered to Filestore's internal network, the initial VPC network will not have connectivity.\u003c/p\u003e\n"],["\u003cp\u003eEach Filestore instance requires an IP address range, and while both RFC 1918 and non-RFC 1918 IP ranges are supported, it's recommended to let Filestore automatically determine and assign the free range.\u003c/p\u003e\n"],["\u003cp\u003eFirewall rules may be necessary to enable NFS file locking or to restrict access in Shared VPC scenarios, although the provided solutions do not specifically enforce project boundaries.\u003c/p\u003e\n"]]],[],null,["# Network configuration and IP resource requirements\n\nThis page discusses network configuration and IP resource requirements for\nFilestore.\n\nConnectivity support\n--------------------\n\nFilestore connects to your VPC network using\neither [VPC Network Peering](/vpc/docs/vpc-peering) or\n[private services access](/vpc/docs/private-services-access).\nThe following chart shows which connection method supports which scenarios:\n\nFilestore supports the following connectivity scenarios:\n\n- Most any Compute Engine VM or GKE cluster can access any Filestore instance that's on the same VPC network. All internal IP addresses in the selected VPC network can connect to the Filestore instance unless access is restricted using IP-based access control.\n - Clients with an IP address in the `172.17.0.0/16` range can't connect to Filestore instances. For more information, see [Known issues](/filestore/docs/known-issues#clients_cant_have_an_ip_address_from_the_172170016_range).\n- You can connect Filestore instances to clients in remote networks using Cloud VPN or Cloud Interconnect, including clients from another project or your on-premises clients.\n- You can connect non-[RFC 1918](https://tools.ietf.org/html/rfc1918) clients to Filestore. In this case, you must explicitly grant them access to the Filestore instance using [IP-based access control](/filestore/docs/creating-instances#configure_ip-based_access_control).\n\nFilestore doesn't support [transitive peering](/vpc/docs/vpc-peering#transit-network).\nFor example, if VPC network N1 is peered to Filestore's\ninternal network, and another VPC network, N2, is peered to N1,\nN2 won't have connectivity to the Filestore instance. Only\nclients on N1 can access the Filestore instance.\n\nFirewall rules\n--------------\n\nYou may need to create firewall rules in the following scenarios:\n\n- To enable NFS file locking, you may need to open up the ports used by the `statd` and `nlockmgr` daemons. For more information, see [Configuring firewall rules](/filestore/docs/configuring-firewall).\n- In the Shared VPC scenario, NFS access is not restricted to the service project by default. You can set firewall rules or use [IP-based access control](/filestore/docs/creating-instances#configure_ip-based_access_control) to restrict access, but these solutions don't specifically enforce project boundaries.\n\nLegacy network support\n----------------------\n\nYou can't use a legacy network with Filestore instances. If\nnecessary, create a new VPC network to use by following the\ninstructions at\n[Creating a new VPC network with custom subnets](/vpc/docs/create-modify-vpc-networks#create-custom-network).\n\nIP resource requirements\n------------------------\n\nEach Filestore instance must have an IP address range associated\nwith it. Both [RFC 1918](https://tools.ietf.org/html/rfc1918) and non-RFC 1918 IP address ranges ([GA](/products#product-launch-stages)) are supported.\n\nDuring instance creation, Filestore can automatically allocate an IP address range and assign IP addresses from that range to the instance. You can also manually provide a specific IP address range for your instance.\n\nAfter you create the instance, you can't change the assigned IP addresses. If you want to introduce changes, delete and recreate the instance with a new IP address range.\n\nFor more information, see [Configure a reserved IP address range](/filestore/docs/creating-instances#configure_a_reserved_ip_address_range).\n\nWhat's next\n-----------\n\n- [Acquire the Identity and Access Management roles and permissions](/filestore/docs/iam) needed to use Filestore.\n- Try one of the Filestore quickstarts:\n - Using the [Google Cloud console](/filestore/docs/quickstart-console)\n - Using the [Google Cloud CLI](/filestore/docs/quickstart-gcloud)\n- Learn more about [Virtual Private Cloud (VPC) networks and subnets](/vpc/docs/subnets#valid-ranges).\n- Troubleshoot [common Filestore networking issues](/filestore/docs/troubleshooting).\n- [Create a Filestore instance on a Shared VPC network in service projects](/filestore/docs/shared-vpc)."]]