The IVMDHCPVirtualNetworkServer interface defines the DHCP virtual network server.
When to use
This interface configures the virtual DHCP attached to a virtual network. It is used to provide DHCP services to a guest operating system. You can retrieve the IVMDHCPVirtualNetworkServer interface from the IVMVirtualNetwork::DHCPVirtualNetworkServer property.
Members
The IVMDHCPVirtualNetworkServer interface inherits from the IDispatch interface. IVMDHCPVirtualNetworkServer also has these types of members:
Methods
The IVMDHCPVirtualNetworkServer interface has these methods.
| Method | Description |
|---|---|
| ConfigureDHCPLeaseTimes | Sets the lease time parameters for leases managed by the virtual DHCP server. |
| ConfigureDHCPServer | Sets the parameters for the virtual network DHCP server. |
Properties
The IVMDHCPVirtualNetworkServer interface has these properties.
| Property | Access type | Description |
|---|---|---|
| DefaultGatewayAddress |
Read/write |
The TCP/IP address of the default gateway. |
| DNSServers |
Read/write |
A comma-separated list of the TCP/IP address representing DNS servers. |
| EndingIPAddress |
Read-only |
The last TCP/IP address that the DHCP server can dynamically assign to a client on the Virtual Network. |
| IsEnabled |
Read/write |
Indicates whether the DHCP virtual network server is enabled. |
| LeaseRebindingTime |
Read-only |
The time in seconds after which the client virtual machine should rebind if the virtual DHCP server has not responded. |
| LeaseRenewalTime |
Read-only |
The time in seconds after which the client virtual machine should renew its TCP/IP address lease. |
| LeaseTime |
Read-only |
The time in seconds after which leases granted by the virtual DHCP server expire. |
| Network |
Read-only |
The base TCP/IP address of the range. |
| NetworkMask |
Read-only |
The mask used to calculate the base TCP/IP address for the given network. |
| ServerIPAddress |
Read-only |
The TCP/IP address of the DHCP server. |
| StartingIPAddress |
Read-only |
The first TCP/IP address that the server can dynamically assign to a client on the Virtual Network. |
| WINSServers |
Read/write |
A comma-separated list of the TCP/IP address representing WINS servers. The list of WINS servers is returned to the DHCP client as part of the server's response. |
Requirements
| Product |
Microsoft Virtual Server 2005 onWindows Server 2003 |
| Download |
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003 |
| Header |
|