Setting Up the IP Route Configuration

You can use the HostNetworkSystem.UpdateIPRouteConfig method to specify the IP route configuration for an ESXi system. The method takes a HostIPRouteConfig data object as an argument. In this object, you can specify the default gateway address and the IPv6 gateway address.