---
title: "exo networking vpc subnet create"
description: "Create a VPC Subnet"
url: https://community.exoscale.com/reference/cli/exo/networking/vpc/subnet/create/
section: reference
last_updated: 2026-10-14
---
> For AI agents: the documentation index is at https://community.exoscale.com/llms.txt. Every page is available as markdown at `<page URL>index.md` or with `Accept: text/markdown`.

# exo networking vpc subnet create

### Description

This command creates a Subnet in a Virtual Private Cloud.

--address-family and --address-space are required.

Supported output template annotations: .ID, .Name, .Description, .Zone, .CreatedAt, .AddressFamily, .AddressSpace, .IPv4Block, .Labels, .Instances

```
exo networking vpc subnet create VPC-NAME|ID NAME [flags]
```

### Options

| Option | Description |
| --------- | ------------ |
| `--address-family` | Subnet address family (currently only &#34;inet4&#34; is supported) |
| `--address-space` | Subnet address space (currently only &#34;private&#34; is supported) |
| `--description` | Subnet description |
| `--help, -h` | help for create |
| `--ipv4-block` | Subnet IPv4 CIDR (e.g. 10.0.0.0/24) |
| `--label` | Subnet label (format: key=value) |
| `--zone, -z` | VPC zone |


### Options inherited from parent commands

| Option | Description |
| --------- | ------------ |
| `--config, -C` | Specify an alternate config file [env EXOSCALE_CONFIG] |
| `--output-format, -O` | Output format (table\|json\|text), see &#34;exo output --help&#34; for more information |
| `--output-template` | Template to use if output format is &#34;text&#34; |
| `--quiet, -Q` | Quiet mode (disable non-essential command output) |
| `--timeout` | Per-zone timeout for list operations; -1s disables timeout [env EXOSCALE_TIMEOUT] |
| `--use-account, -A` | Account to use in config file [env EXOSCALE_ACCOUNT] |


### Related Commands

* [subnet](https://community.exoscale.com/reference/cli/exo/networking/vpc/subnet/index.md)	 - Manage VPC Subnets


