Menu
- January 12, 2018
- XsoftHost Support
- General Topics, Technical Support, Windows Server
Add IP On VM using Hyper-v Objective and Requirement
this article will show you how to use network birdge to configure and add Public IP fail over to the VM to access the internet
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”
- Get All IP Configurations on the main server by runningIPconfig/ALLcommand.
- In the Hyper-V ManagerCreate New Virtual Switch.
- Set Connection Type toExternal.
- Select the Adapter Associated with your server’s IP.
- CheckAllow Management OS to share this network Adapter.
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“.
- Select the VM Server that you want to edit.
- Click VM Settings to edit Virtual Machine Properties.
- Expand the network Adapter of the VM and clickAdvance Features.
- Change the MAC address to “Static” and enter the fail-over virtual MAC address .
- PressOKto apply the changes.
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.
- 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
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