If you have services running on a virtual machine and do not want the IP address to be changed, you can bind the virtual machine MAC address to the IP address. The IP address you bind must not overlap a DHCP IP pool.
Prerequisites
Procedure
- Open Edge Gateway Services.
- From the top navigation bar, select Resources, and click the Cloud Resources tab.
- In the left panel, click Edge Gateways.
- Click the radio button next to the name of the target edge gateway, and click Services.
- On the Create () button, specify the details for the binding, and click Keep.
tab, click the
Option Description MAC Address Type the MAC address of the virtual machine that you want bound to the IP address. Host Name Type the host name you want set for that virtual machine when the virtual machine requests a DHCP lease. IP Address Type the IP address you want bound to the MAC address. Subnet Mask Type the subnet mask of the edge gateway interface. Domain Name 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 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 IP address. This IP address is used for hostname-to-IP address resolution.
Default Gateway 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.