With OVH US Failover IPs, connecting your virtual machines to the Internet can be a breeze. Follow this tutorial to connect your Windows Server VM to the Internet.
- Creating a Virtual MAC for a Failover IP in the OVH US Manager
- Adding a Virtual MAC to the Virtual Machine's NIC in ESXi
- Configuring Network Settings in the Virtual Machine
- Failover IP through OVH US
- Dedicated Server running VMware ESXi 6.5
- Bootable VM in VMware ESXi 6.5 running Windows Server
Step One: Creating a Virtual MAC for a Failover IP in the OVH US Manager
In this section, we will be creating a vMAC (Virtual MAC Address) to be used by the NIC (Network Interface Card) which ESXi assigns to your VM. To begin, log in to the OVH US Manager. On the left-hand sidebar click the IP option.
Choose the Failover IP you wish to configure to your VM and click the ellipses (...) next to it. Then, select Add a virtual MAC from the drop-down menu.
In the popup menu, change the "Type" to "vmware" and enter the name of your virtual machine.
Step Two: Adding a Virtual MAC to the Virtual Machine's NIC in ESXi
In this step, we will be pairing the vMAC, which we generated in Step One, to the interface that ESXi has assigned to the VM. To complete this step, your VM must be powered off.
In ESXi, right-click your VM and select Edit settings from the drop-down menu.
Next, select the drop-down next to "Network Adapter 1" and change the "MAC Address" field to Manual. Enter the vMAC you created in the OVH US Manager into the "Network Adapter" field.
Step Three: Configuring Network Settings in the Virtual Machine
In this step, we will be configuring our interface settings. To do this, navigate to the Server Manager. From the left-hand column, click the Local Server button.
By default, the "Ethernet0" option will read, IPv4 address assigned by DHCP, IPv6 enabled. This is exactly what we want to change, so click on this text.
Next, right-click on Ethernet0 and select Properties from the drop-down menu. From the ensuing menu, double-click Internet Protocol Version 4 (TCP/IPv4).
This will allow you to configure your interface to use the IP address, gateway, and DNS name servers of your choice. Configure it as follows:
In this file, replace the following pieces of information from the picture as instructed:
- 1. Next to "IP address", replace "18.104.22.168" with the Failover IP to which you have added the vMAC in the OVH US Manager.
- 2. Next to "Subnet mask", replace "255.255.255.248" with the correct netmask depending on the size of the block of IPs you have purchased. For instance, if you are using a /28 block, put "240" in the last octet.
- 3. Next to "Default gateway", replace the "22.214.171.124" with the first three octets of your Dedicated Server's IP address with a final octet of "254." For instance, if your Dedicated Server IP was 126.96.36.199, you would use 188.8.131.52 as your gateway.
- 4. The DNS name servers listed are from OpenDNS. Feel free to use other name servers here, if you choose.
Click OK after making these changes.To test that the VM is fully connected to the Internet, ping example.com. If you get a response, you are good to go. If you do not, restart your VM and attempt the ping again.
Connecting your VM to the Internet is an essential task before it can be used as a web server, a mail server, or whatever other use you have in mind. Having read this article, you should be familiar with the steps that are required to connect a Windows Server VM to the Internet using VMware ESXi 6.5.