Assign Failover IP On Virtual Machines VM From Hyper-V Windows Server (2024)

Menu

  • January 12, 2018
  • XsoftHost Support
  • General Topics, Technical Support, Windows Server

Add IP On VM using Hyper-v Objective and Requirement

Requirements

  • Dedicated Server with Windows Server 2012 or later .
  • One Failover IP and MAC address of the fail-over IP.

The following Steps are required to start adding the IP to your VM

Create Virtual Switch on Main Server Hyper-V

“If your hyper-v has the External Virtual Switch with checked allow management OS to share this network adapter option , you can ignore this step”

  1. Get All IP Configurations on the main server by runningIPconfig/ALLcommand.
  2. In the Hyper-V ManagerCreate New Virtual Switch.
  3. Set Connection Type toExternal.
  4. Select the Adapter Associated with your server’s IP.
  5. CheckAllow Management OS to share this network Adapter.
Assign Failover IP On Virtual Machines VM From Hyper-V Windows Server (2)

Add Virtual MAC address for IP of the VM on Hyper-V

Now you can change the settings of the VM that hosted on your server by adding the MAC address of the Fail-Over IP, “Please Note that the VM server status should be shutdown“.

  1. Select the VM Server that you want to edit.
  2. Click VM Settings to edit Virtual Machine Properties.
  3. Expand the network Adapter of the VM and clickAdvance Features.
  4. Change the MAC address to “Static” and enter the fail-over virtual MAC address .
  5. PressOKto apply the changes.
Assign Failover IP On Virtual Machines VM From Hyper-V Windows Server (3)

Configure the Network Adapter inside the VM “Windows Server”

Now we start configuring the VM network adapter to assign the IP and Gateway and DNS Server

  • Start the VM and login as administrator.
  • From Control Panel > Network and Share Center.
  • Click on Eithernet Link connections.
  • Click the properties to view Eithernet properties.
  • Select Internet Protocol Version 4 (TCP/IPv4).
  • Click on Properties button to show IPv4 Properties as bellow.
Assign Failover IP On Virtual Machines VM From Hyper-V Windows Server (4)
  • Then From the IPv4 Properties selectUse the following IP address.
  • Enter the Fail-Over IP address.
  • Enter 255.255.255.255 into the subnet mask.
  • In the Default gateway enter your Main server IP address by replacing the last cell numbers with 254.
  • Enter 213.186.33.99 “or the Preferred DNS shown inIPconfig/ALLfrom the main server”into the preferred DNS Server .
  • Press OK and ignore the message that warning you about the gateway IP and assigned IP not being the same subnet.
  • Reboot the VM server to let the changes get affected
Assign Failover IP On Virtual Machines VM From Hyper-V Windows Server (5)

Related Posts

Validation of viewstate MAC failed On asp.net windows server

Setup Dynamic IIS IP Address Restrictions (Anti-DDoS attack)

How to Log in to your server via RDP (Windows)

How to Redirect website from HTTP to HTTPS on IIS7

Categories
  • Apache (6)
  • CloudLinux (2)
  • cPanel (3)
  • DirectAdmin (2)
  • Domains (11)
  • General Topics (22)
  • Install SSL Certificate (12)
  • Linux (40)
  • Manage Emails (6)
  • MS SQL Server (1)
  • MySQL (6)
  • PHP (3)
  • Plesk Control Panel (16)
  • SSL Certificates (23)
  • Support (1)
  • Technical Support (6)
  • Web Security (2)
  • WHM/cPanel (56)
  • Windows Server (5)
  • Windows Server IIS (1)
Tags

Addon Domain Alias Domain Apache Centos CloudLinux cPanel cPanel Account cPanel Email cPanel PHP Cron Jobs dedicated server DKIM DNS Management DNS Records Domains DV Emails EV Exchange 2010 Exchange Server Extended Validation SSL Firewall FTP htaccess IIS IIS7 IIS 8 Install SSL iptables Linux Linux Administrators Linux Command Linux Restart Service MySQL Parked Domain PHP Plesk Softaculous SPF SSH SSL Certificate Sub-Domains VPS Server WHM Windows

Recent Posts

Add Extra IP addresses to server configuration On Ubuntu 17.10 and later

Each failover IP address will need its own line in the configuration file. The configuration file is called “50-cloud-init.yaml” and

Read More »

Create RAID Arrays with mdadm on Ubuntu

What is mdadm? The mdadm utility can be used to create and manage storage arrays using Linux’s software RAID capabilities.Administrators

Read More »

How to change the maximum upload file size for PHP

There are several scenarios that you might need to increase or decrease your php maximum upload file using php script

Read More »

PrevPreviousWhat is ICANN and how Domain WHOIS Verification Process

NextSolve FTP Connection fails passive mode on Pure FTP configserverNext

Hosting

  • Managed WordPress Hosting
  • Web Hosting
  • Plesk Windows Hosting
  • Reseller Web Hosting
  • Windows Plesk Reseller Hosting

Servers

  • Cheap Dedicated Server
  • Storage Dedicated Server
  • Game Dedicated Servers
  • VPS NVMe Servers
  • Managed VPS Server

Domains

  • Register Domain
  • Transfer Domain
  • WHOIS Domain Lookup
  • Domain Prices
  • Store

Tools & Policy

  • SSL Tools
  • FREE Site Builder
  • Contact Sales
  • SSL Certificates
  • cPanel License
Assign Failover IP On Virtual Machines VM From Hyper-V Windows Server (2024)
Top Articles
Latest Posts
Article information

Author: Madonna Wisozk

Last Updated:

Views: 6029

Rating: 4.8 / 5 (68 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Madonna Wisozk

Birthday: 2001-02-23

Address: 656 Gerhold Summit, Sidneyberg, FL 78179-2512

Phone: +6742282696652

Job: Customer Banking Liaison

Hobby: Flower arranging, Yo-yoing, Tai chi, Rowing, Macrame, Urban exploration, Knife making

Introduction: My name is Madonna Wisozk, I am a attractive, healthy, thoughtful, faithful, open, vivacious, zany person who loves writing and wants to share my knowledge and understanding with you.