1. Types
2. appliance
3. techpreview
4. networking
5. ipv6

## appliance techpreview networking ipv6: I pv6 config

`I_pv6_config` structure Structure that you can use to configure IPv6 on a particular interface. Because IPv6 permits multiple addresses per interface, addresses can be assigned by DHCP, SLAAC, and can also be statically assigned.

### Representations:

- JSON
- XML

{
"addresses": [
{
"address": "string",
"prefix": 1
},
{
"address": "string",
"prefix": 1
}
],
"autoconf": true,
"default_gateway": "string",
"dhcp": true,
"interface_name": "string"
}
<?xml version="1.0" ?>
<ns0:IPv6Config xmlns:ns0="http://vmware.com/appliance/techpreview/networking/ipv6" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<dhcp>true</dhcp>
<interface_name>string</interface_name>
<default_gateway>string</default_gateway>
<addresses-array>
<array-item>
<address>string</address>
<prefix>1</prefix>
</array-item>
<array-item>
<address>string</address>
<prefix>1</prefix>
</array-item>
</addresses-array>
<autoconf>true</autoconf>
</ns0:IPv6Config>

#### Attributes:

Name | Type | Description
--- | --- | ---
Required
interface_name | string | Network interface, for example, "nic0" to configure.
dhcp | boolean | Address assigned by a DHCP server.
autoconf | boolean | Address is assigned by Stateless Address Autoconfiguration (SLAAC).
addresses | I_pv6_address[] | A list of addresses to be statically assigned.
default_gateway | string | Default gateway for static IP address assignment. This configures the global IPv6 default gateway on the appliance with the specified gateway address and interface. This gateway replaces the existing default gateway configured on the appliance. However, if the gateway address is link-local, then it is added for that interface. This does not support configuration of multiple global default gateways through different interfaces.