Ipv4Info
Ipv4Info
IPv4 settings.
JSON Example
{
"address": "10.20.80.191",
"default_gateway": "string",
"assignment_mode": "string",
"prefix": 0
}
string
address
Optional
IPv4 address, for example, "10.20.80.191". Value not needed when DHCP mode.
string
default_gateway
Optional
IPv4 address of the default gateway. Value not needed when DHCP mode.
string
assignment_mode
Required
Address assignment mode:
- DCHP - IPv4 address is automatically assigned by a DHCP server.
- STATIC - IPv4 address is static.
- UNCONFIGURED - The IPv4 protocol is not configured.
Possible values are : DHCP, STATIC, UNCONFIGURED,
integer As int32 As int32
prefix
Optional
IPv4 CIDR prefix, for example , 24.> See http://www.oav.net/mirrors/cidr.html for netmask-to-prefix conversion. Value not needed when DHCP mode.