Developer Documentation

Ipv4Config

The Ipv4.Config structure provides defines the IPv4 configuration of a network interface.


Properties

Required Property Name Type Description
optional address string

The IPv4 address, for example, “10.20.80.191”. This field is optional and it is only relevant when the value of Ipv4.Config.mode is STATIC.

optional default_gateway string

The IPv4 address of the default gateway. This configures the global 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. If unset, the defaultGateway was never set.

required mode Ipv4Mode Enum

The Address assignment mode.

optional prefix integer

The IPv4 CIDR prefix, for example, 24. See http://www.oav.net/mirrors/cidr.html for netmask-to-prefix conversion. This field is optional and it is only relevant when the value of Ipv4.Config.mode is STATIC.

Feedback

Was this page helpful?