---
title: "Creating a Resource Network in a NIOS Appliance"
canonical: "https://docs.infoblox.com/space/ipamdriverterraform/53154189/Creating%20a%20Resource%20Network%20in%20a%20NIOS%20Appliance"
format: markdown
---
You can create a resource network in a NIOS appliance using the `infoblox_network` resource block.

The following table describes the mandatory and optional parameters used to create a network.

| **Sr No.** | **Parameter** | **Mandatory/**  
**Optional** | **Description** |
| --- | --- | --- | --- |
| 1 | network_view_name | Optional | Specifies the network view name available in the NIOS appliance.<br>> ⚠️ **Note**
> ⚠️ 
> ⚠️ If you do not specify the `network_view_name` parameter, the network is created in the default network view. |
| 2 | network_name | Mandatory | Specifies the name of your network block. |
| 3 | cidr | Mandatory | Specifies the network block in `cidr` format. |
| 4 | tenant_id | Mandatory | Specifies the unique identifier of the tenant in the cloud.<br>The tenant ID is the name of the cloud provider you would like to integrate. However, if there is no cloud provider, you can specify any dummy value.<br>The tenant ID differentiates the cloud providers in NIOS. For more information, see <u>*[Viewing All Tenants](https://infoblox-docs.atlassian.net/wiki/spaces/nios85/pages/35386136)*</u>. |
| 5 | reserve_ip | Optional | Specifies the number of IP addresses to reserve. |
| 6 | gateway | Optional | Specifies the gateway IP address of your network block. By default, the first IPv4 address is set as the gateway address. |

> ⚠️ **Note**
> ⚠️ 
> ⚠️ When deploying the Azure instance using the Terraform plugin, a new network will be created. You have to reserve the first four IP addresses, and since you already reserved one IP by default while creating a new network view, you need to set the `reserve_ip` value to three in the `infoblox_network` resource.

## Example

To create a resource network in NIOS appliance for a fixed address, host record, and multiple, see the following:

`resource "infoblox_network" "demo_network"`

`{`

`network_view_name="demo1"`

`network_name="ex1"`

`cidr=10.10.20.0/24`

`tenant_id="test"`

}