---
id: "oci-subnet"
type: "component"
kind: "network-fabric"
provider: "oci"
category: "ops"
docs: "https://docs.oracle.com/en-us/iaas/Content/Network/Tasks/create_subnet.htm"
url: "https://localhost:3000/catalogue/components/oci-subnet"
---

# Subnet

Regional or availability-domain slice of a VCN that hosts VNICs.

| | |
|---|---|
| Provider | [oci](https://localhost:3000/catalogue?provider=oci) |
| Kind | [Network fabric](https://localhost:3000/catalogue/kinds/network-fabric) |
| Category | Operations |
| Official docs | [https://docs.oracle.com/en-us/iaas/Content/Network/Tasks/create_subnet.htm](https://docs.oracle.com/en-us/iaas/Content/Network/Tasks/create_subnet.htm) |

## Properties

| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| `access` | enum | `public`, `private` | no | — | inherited |
| `dnsHostnames` | boolean | — | no | false | inherited |
| `interconnect` | enum | `public`, `private`, `cloud-backbone` | no | "public" | **"private"** |
| `ipv6Enabled` | boolean | — | no | false | inherited |
| `kernelBypass` | boolean | — | no | false | inherited |
| `managed` | boolean | — | no | false | **true** |
| `multicast` | boolean | — | no | false | **false** |
| `overlay` | boolean | — | no | false | **true** |
| `scope` | enum | `regional`, `availability-domain` | no | "regional" | inherited |

Bold values are the ones this component pins.

## Rules that apply · 0

No rule selects this kind or its category.

## Other products of the same kind · 69

- [Anycast Elastic IP Address](https://localhost:3000/catalogue/components/alibaba-anycast-eip.md) `alibaba-anycast-eip` — alibabacloud
- [Cloud Enterprise Network](https://localhost:3000/catalogue/components/alibaba-cen.md) `alibaba-cen` — alibabacloud
- [Elastic IP Address](https://localhost:3000/catalogue/components/alibaba-eip.md) `alibaba-eip` — alibabacloud
- [Express Connect](https://localhost:3000/catalogue/components/alibaba-express-connect.md) `alibaba-express-connect` — alibabacloud
- [Global Accelerator](https://localhost:3000/catalogue/components/alibaba-ga.md) `alibaba-ga` — alibabacloud
- [Virtual Private Cloud](https://localhost:3000/catalogue/components/alibaba-vpc.md) `alibaba-vpc` — alibabacloud
- [vSwitch](https://localhost:3000/catalogue/components/alibaba-vswitch.md) `alibaba-vswitch` — alibabacloud
- [AWS Cloud WAN](https://localhost:3000/catalogue/components/aws-cloud-wan.md) `aws-cloud-wan` — aws
- [AWS Direct Connect](https://localhost:3000/catalogue/components/aws-direct-connect.md) `aws-direct-connect` — aws
- [Direct Connect gateway](https://localhost:3000/catalogue/components/aws-direct-connect-gateway.md) `aws-direct-connect-gateway` — aws
- [Elastic IP address](https://localhost:3000/catalogue/components/aws-elastic-ip.md) `aws-elastic-ip` — aws
- [Elastic network interface](https://localhost:3000/catalogue/components/aws-elastic-network-interface.md) `aws-elastic-network-interface` — aws
- [AWS Interconnect](https://localhost:3000/catalogue/components/aws-interconnect.md) `aws-interconnect` — aws
- [Internet gateway](https://localhost:3000/catalogue/components/aws-internet-gateway.md) `aws-internet-gateway` — aws
- [VPC subnet](https://localhost:3000/catalogue/components/aws-subnet.md) `aws-subnet` — aws
- [AWS Transit Gateway](https://localhost:3000/catalogue/components/aws-transit-gateway.md) `aws-transit-gateway` — aws
- [Amazon VPC](https://localhost:3000/catalogue/components/aws-vpc.md) `aws-vpc` — aws
- [Amazon VPC IP Address Manager](https://localhost:3000/catalogue/components/aws-vpc-ipam.md) `aws-vpc-ipam` — aws
- [VPC peering connection](https://localhost:3000/catalogue/components/aws-vpc-peering.md) `aws-vpc-peering` — aws
- [Azure Enclave](https://localhost:3000/catalogue/components/azure-enclave.md) `azure-enclave` — azure
- [Azure ExpressRoute](https://localhost:3000/catalogue/components/azure-expressroute.md) `azure-expressroute` — azure
- [Azure Multicloud Interconnect](https://localhost:3000/catalogue/components/azure-multicloud-interconnect.md) `azure-multicloud-interconnect` — azure
- [Azure network interface](https://localhost:3000/catalogue/components/azure-network-interface.md) `azure-network-interface` — azure
- [Azure Peering Service](https://localhost:3000/catalogue/components/azure-peering-service.md) `azure-peering-service` — azure
- [Public IP address](https://localhost:3000/catalogue/components/azure-public-ip.md) `azure-public-ip` — azure
- [Azure Relay](https://localhost:3000/catalogue/components/azure-relay.md) `azure-relay` — azure
- [Azure Route Server](https://localhost:3000/catalogue/components/azure-route-server.md) `azure-route-server` — azure
- [Azure subnet](https://localhost:3000/catalogue/components/azure-subnet.md) `azure-subnet` — azure
- [Azure Virtual Network](https://localhost:3000/catalogue/components/azure-virtual-network.md) `azure-virtual-network` — azure
- [Azure Virtual WAN](https://localhost:3000/catalogue/components/azure-virtual-wan.md) `azure-virtual-wan` — azure
- [Cloudflare Bring Your Own IP](https://localhost:3000/catalogue/components/cloudflare-byoip.md) `cloudflare-byoip` — cloudflare
- [Cloudflare Mesh](https://localhost:3000/catalogue/components/cloudflare-mesh.md) `cloudflare-mesh` — cloudflare
- [Cloudflare Network Interconnect](https://localhost:3000/catalogue/components/cloudflare-network-interconnect.md) `cloudflare-network-interconnect` — cloudflare
- [Cloudflare WAN](https://localhost:3000/catalogue/components/cloudflare-wan.md) `cloudflare-wan` — cloudflare
- [Antrea](https://localhost:3000/catalogue/components/antrea.md) `antrea` — default
- [Cisco router](https://localhost:3000/catalogue/components/cisco-router.md) `cisco-router` — default
- [Cisco switch](https://localhost:3000/catalogue/components/cisco-switch.md) `cisco-switch` — default
- [Multicast domain](https://localhost:3000/catalogue/components/multicast-domain.md) `multicast-domain` — default
- [Generic network fabric](https://localhost:3000/catalogue/components/network-fabric.md) `network-fabric` — default
- [ngrok](https://localhost:3000/catalogue/components/ngrok.md) `ngrok` — default
- and 29 more: https://localhost:3000/catalogue/kinds/network-fabric.md

## Use it in a design

```yaml
nodes:
  - { id: "oci-subnet", component: "oci-subnet" }
```

## Source (`component` YAML, verbatim)

```yaml
# yaml-language-server: $schema=../../schema/component.schema.json
# Oracle Cloud subnet: subdivision of a VCN, regional or availability-domain scoped ("Creating a
# Subnet"). DNS hostnames are opt-in and IPv6 prefixes are opt-in; a subnet may carry up to five
# security lists (Service Limits: security lists per subnet = 5).
schemaVersion: "1"
type: "component"
id: "oci-subnet"
kind: "network-fabric"
provider: "oci"
docs: "https://docs.oracle.com/en-us/iaas/Content/Network/Tasks/create_subnet.htm"
defaults:
  managed: true
  overlay: true
  interconnect: "private"
  multicast: false
properties:
  scope:
    type: "enum"
    values: ["regional", "availability-domain"]
    default: "regional"
  access:
    type: "enum"
    values: ["public", "private"]
  dnsHostnames:
    type: "boolean"
    default: false
  ipv6Enabled:
    type: "boolean"
    default: false
```

Human page: https://localhost:3000/catalogue/components/oci-subnet
