Hetzner Cloud icon

Hetzner Cloud

Manage servers, volumes, networks and more in Hetzner Cloud

Network → Add Subnet

AI-generated

Summary

Add a subnet to a selected Hetzner Cloud network by sending its subnet type, network zone, and CIDR IP range to the network’s add-subnet action. The operation returns the action object from Hetzner Cloud’s response.

Inputs

  • Network (required) — Select a network from the searchable list or enter its ID.
  • Type — Subnet type: Cloud, Server, or vSwitch. Defaults to Cloud.
  • Network Zone — Zone where the subnet resides. Defaults to eu-central.
  • IP Range — Subnet IP range in CIDR notation, such as 10.0.1.0/24.
  • Request Options — Optional request settings include batching, accepting invalid SSL certificates, an HTTP proxy, and a timeout.

Output shape

A single action object

The node unwraps the action property from the API response. The subnet fields are sent in the request body as type, network_zone, and ip_range.

Links

Discussion