If you have services running on a virtual machine (VM) and do not want the IP address to be changed, you can bind the VMs MAC address to the IP address. The IP address you bind must not overlap a DHCP IP pool.
About this task
Use the Bindings screen in the vCloud Director tenant portal to configure DHCP bindings for your advanced edge gateway.
For the ability to use the vCloud Director tenant portal to work with an edge gateway's settings, the edge gateway must have already been converted to an advanced edge gateway using the Convert to Advanced Gateway action on the edge gateway in the vCloud Director Web console. See the vCloud Director Administrator's Guide for details.
You have the MAC addresses for the VMs for which you want to set up bindings.
- Launch the tenant portal using the following steps.
- Log in to the vCloud Director Web console and navigate to the edge gateway.
- Right-click the name of the edge gateway and click Edge Gateway Services in the context menu.
The tenant portal opens in a new browser tab and displays the Edge Gateway screen for that edge gateway.
- In the tenant portal, navigate to .
- Specify each binding and add it to the on-screen table by clicking the + icon, specifying details for the binding in the dialog box, and then clicking Keep.
Type the MAC address of the VM that you want bound to the IP address.
Type the host name you want set for that VM when the VM requests a DHCP lease.
Type the IP address you want bound to the MAC address.
Type the edge gateway interface's subnet mask.
Type the domain name of the DNS server.
Auto Configure DNS
Enable this toggle to use the DNS service configuration for this DNS binding. If enabled, the Primary Name Server and Secondary Name Server are set to Auto.
Primary Name Server
When you do not select Auto Configure DNS, type your primary DNS server's IP address of your primary DNS server. This IP address is used for hostname-to-IP address resolution.
Secondary Name Server
When you do not select Auto Configure DNS, type your secondary DNS server's IP address. This IP address is used for hostname-to-IP address resolution.
Type the default gateway address. When you do not specify the default gateway IP address, the internal interface of the edge gateway instance is taken as the default gateway.
Lease Never Expires
Enable this toggle to keep the IP address bound to that MAC address forever. When you select this option, Lease Time is set to infinite.
Lease Time (Seconds)
Length of time (in seconds) that the DHCP-assigned IP addresses are leased to the clients. The default lease time is one day (86400 seconds).Note:
You cannot specify a lease time when you select Lease never expires.
- Click Save changes.