---
title: "infoblox_ipv6_network Resource"
canonical: "https://docs.infoblox.com/space/ipamdriverterraform/53154205/infoblox_ipv6_network%20Resource"
format: markdown
---
> Macro (excerpt-include)



Additionally, <span style="color: #000000">define the following parameter for the</span><span style="color: #000000"> </span>`infoblox_ipv6_network`<span style="color: #000000"> resource:</span>

| **<span style="color: #000000">Parameter</span>** | **<span style="color: #000000">Required/Optional</span>** | **<span style="color: #000000">Description</span>** |
| --- | --- | --- |
| `reserve_ipv6` | <span style="color: #000000">Optional</span> | Specifies the number of IPv6 addresses that you want to reserve in the IPv6 network. The default value is `0`. |


> ⚠️ **Note**
> ⚠️ 
> ⚠️ - Either `cidr,` the combination of `parent_cidr` and `allocate_prefix_len`, or the combination of `filter_params` and `allocate_prefix_len` is required. The rest of the parameters are optional.
> ⚠️ - When creating an IPv6 network using the `reserve_ipv6` flag, the DUIDs assigned to the reserved IPv6 addresses that you choose, may not be in standard format.
> ⚠️ - Tenant ID does not display in the IPv6 network container in NIOS.
> ⚠️ - Once the network object is created, the `reserve_ipv6`, `gateway`, and `filter_params` parameter values cannot be changed by performing an update operation.
> ⚠️ - IPv6 addresses that are reserved by setting the `reserve_ipv6` field are used for network maintenance by the cloud providers. Therefore, Infoblox does not recommend using these IP addresses for other purposes.

## Examples of the Network Block

`// ``minimal set of parameters for ``statically allocated IPv6 network`  
`resource "infoblox_ipv6_network" "net1" {`  
`    cidr = 2002:1f93:0:3::/96`  
`}`


`// full set of parameters for statically allocated IPv6 network`  
`resource "infoblox_ipv6_network" "net2" {`  
`    cidr = 2002:1f93:0:4::/96`  
`    network_view = "nondefault_netview"`  
`    reserve_ipv6 = 10`  
`    gateway = "2002:1f93:0:4::1"`  
`    comment = "let's try IPv6"`  
`    ext_attrs = jsonencode({`  
`      "Site" = "somewhere in Antarctica"`  
`    })`  
`}`


`// full set of parameters for dynamically allocated IPv6 network`  
`resource "infoblox_ipv6_network" "net3" {`  
`    parent_cidr = infoblox_ipv6_network_container.v6net_c1.cidr // reference to the resource from another example`  
`    allocate_prefix_len = 100 // 96 (existing network container) + 4 (new network), prefix`  
`    network_view = "default" // optional parameter`  
`    reserve_ipv6 = 20`  
`    gateway = "none" // no gateway defined for this network`  
`    comment = "the network for the Test Lab"`  
`    ext_attrs = jsonencode({`  
`      "Site" = "small inner cluster"`  
`    })`  
`}`  



`//full set of parameters for dynamically allocated IPv6 network using next-available ``network ``based on extensible attributes tag`  
`resource "infoblox_ipv6_network" "ipv6network1" {`  
`  allocate_prefix_len = 67`  
`  network_view = "nondefault_netview"`  
`  comment = "IPV6 NW within a NW container"`  
`  filter_params = jsonencode({`


`    "*Site": "Blr"`  
`  })`  
`  ext_attrs = jsonencode({`  
`    "Site" = "UK"`  
`  })``  `  
`  object = "networkcontainer"`


`  })`  
`}`