Difference between revisions of "VMware Server 2.0 DHCP Configuration"
(→= HostOnly Virtual Network IP Addresses) |
|||
| Line 59: | Line 59: | ||
</table> | </table> | ||
| − | === NAT Virtual Network IP Addresses == | + | === NAT Virtual Network IP Addresses === |
| + | |||
| + | <table border="1" cellpadding="5" cellspacing="0" id="E3B" style="border-collapse: collapse; border-color:#cccccc; border-style: solid; border-width: 1px; margin-bottom:20px"> | ||
| + | <tr bgcolor="#cccccc" style="color:black" valign="top"> | ||
| + | <th> | ||
| + | <p>IP Range</p> | ||
| + | </th> | ||
| + | <th> | ||
| + | <p>Description</p> | ||
| + | </th> | ||
| + | </tr> | ||
| + | |||
| + | <tr> | ||
| + | <td> | ||
| + | <p''>subnet''.1</p> | ||
| + | </td> | ||
| + | <td> | ||
| + | The IP address of the host machine. Provides a way for the virtual machines to communicate with the host. Example: 192.168.33.1. | ||
| + | </td> | ||
| + | </tr> | ||
| + | |||
| + | <tr bgcolor="#e9e9e6"> | ||
| + | <td>''subnet''.2</td> | ||
| + | <td>The IP address to the VMware Server NAT device.</td> | ||
| + | </tr> | ||
| + | |||
| + | <tr> | ||
| + | <td>''subnet''.3 - ''subnet''.127</td> | ||
| + | <td>Reserved for use as static addresses for virtual machines which are not configured to obtain an IP address from the VMware DHCP server. Example: 192.168.33.3 - 192.168.33.127</td> | ||
| + | </tr> | ||
| + | |||
| + | <tr >bgcolor="#e9e9e6" | ||
| + | <td> | ||
| + | <p''>subnet''.128 - ''subnet''.253</p> | ||
| + | </td> | ||
| + | <td> | ||
| + | The pool of IP addresses available for dynamic allocation to virtual machines by the VMware DHCP server. Example: 192.168.33.128 - 192.168.33.253 | ||
| + | </td> | ||
| + | </tr> | ||
| + | |||
| + | <tr> | ||
| + | <td>''subnet''.254</td> | ||
| + | <td>Used as the IP address of the VMware DHCP server.</td> | ||
| + | </tr> | ||
| + | |||
| + | <tr bgcolor="#e9e9e6"> | ||
| + | <td> | ||
| + | <p''>subnet''.255</p> | ||
| + | </td> | ||
| + | <td> | ||
| + | The NAT virtual network broadcast address. | ||
| + | </td> | ||
| + | </tr> | ||
| + | </table> | ||
== Configuring the VMware Server DHCP Server on Windows Hosts == | == Configuring the VMware Server DHCP Server on Windows Hosts == | ||
Revision as of 13:57, 21 October 2008
In order for a client to connect to a TCP/IP based network, it needs a Internet Protocol (IP) address which uniquely identifies it among the other devices connected to the network. In addition, the addresses of one or more DNS servers and a gateway may optionally be configured. One way to configure this is to manually assign this information to each client on the network. Whilst this approach can work for small network, it quickly becomes unmanageable in larger enterprises. To alleviate this problem, the Dynamic Host Configuration Protocol was created. This takes the form of one or more servers on a network which dynamically allocate IP addresses and other network configuration information to network clients.
As outlined in the chapter entitled VMware Server Virtual Network Architecture, the VMware Server infrastructure includes a built-in Dynamic Host Control Protocol (DHCP) server for the purpose of assigning dynamic IP addresses, DNS and gateway information to virtual machines running in NAT and Host Only virtual networks. Virtual machines running on a bridged VMware Server virtual network must either have a static IP address assigned, or obtain one from a DHCP server running on the external network to which the bridge connects.
As with any other DHCP server, the one embedded into VMware Server provides a number of different configuration options. As such, this chapter will focus of configuring the VMware Server DHCP server on both Linux and Windows host operating systems.
Static and DHCP IP Address Allocation Ranges
When a NAT or HostOnly network is created it is assigned a Class C IP subnet address range (for example 192.168.33.0 - 192.168.33.254). In practice, VMware divides this address range and allocates specific addresses and address ranges for specific uses. These divisions differ between NAT and HostOnly virtual networks and are outlined in the following tables:
HostOnly Virtual Network IP Addresses
|
IP Range |
Description |
|---|---|
|
<p>subnet.1</p> |
<td>
The IP address of the host machine. Provides a way for the virtual machines to communicate with the host. Example: 192.168.33.1.
</td>
|
IP Range |
Description |
|---|---|
|
<p>subnet.1</p> |
<td>
The IP address of the host machine. Provides a way for the virtual machines to communicate with the host. Example: 192.168.33.1.
</td>



