# Subnet

## **What is a subnet?**

A subnet is a range of IP addresses in your VPC.

Subnets speed up your virtual network to direct traffic more efficiently. By creating subnets, you can stay organized while giving you an extra layer of security by minimizing your network’s attack surface.

You can launch your resources into a specific subnet to protect your applications from the failure of a single zone. When you create a subnet, you specify the IPv4 CIDR block for the subnet, which is a subset of the VPC CIDR block.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.console.zenlayer.com/welcome/bare-metal/overview/private-network/subnet.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
