HostVirtualNicIpRouteSpec
HostVirtualNicIpRouteSpec
The HostVirtualNicIpRouteSpec data object describes the IpRoute configuration used by virtual NIC.
AllOf
This class requires all of the following:
JSON Example
{
"_typeName": "string",
"ipRouteConfig": {
"_typeName": "string",
"defaultGateway": "string",
"gatewayDevice": "string",
"ipV6DefaultGateway": "string",
"ipV6GatewayDevice": "string"
}
}
ipRouteConfig
Optional
By default, a host virtual NIC uses default gateway configuration from it's HostNetStackInstance.
A custom IPv4 and IPv6 default gateway can be configured by specifying valid defaultGateway and ipV6DefaultGateway properties. A user defined IPv4 and IPv6 default gateway can be removed by unsetting corresponding gateway property from ipRouteConfig.