Solved

Different IP address on VM machine

Posted on 2014-02-24
9
360 Views
Last Modified: 2014-02-27
I have a Hper-V box that has 4 NICs.
NIC # 37 is assign to switch VMNIC1
NIC # 38 is assign to switch VMNIC2
NIC # 39 is assign to switch VM Domain Controller
NIC #40 is assign to Hyper-V box itself.

I want to set a static IP on the VM Win8.1Pro, when I give it a static IP and do a ipconfig /all
I also see a self assign IP address.
I need to give it a static IP to allow for remote log in, I set the RPD port to 3391 and set the router to allow pass through.
No matter what I do I can't get the port to open.
then while looking over the setting I found the issue with the IP address.
Any idea why this is occurring or how to fix it?

IPCONFIG
Thank


Any idea when
0
Comment
Question by:noad
  • 3
  • 3
  • 2
  • +1
9 Comments
 
LVL 2

Expert Comment

by:dalberson
ID: 39884270
Click the Advanced tab and look for the "alternate IP address" configuration. I think you need to turn that off...
0
 
LVL 18

Expert Comment

by:Andrej Pirman
ID: 39884281
I think the trick is under host's Virtual Switch Management, where you have selected (or deselected) the option "Allow management OS to share this network adapter". I think management host is pushing the other IP to your Win8.1 machine.

Change it for VMNIC1 and see the results.
0
 
LVL 1

Author Comment

by:noad
ID: 39884289
While I do want to assign a static IP to the Win8 VM. I still want to be able to attach other VM to the same VM NIC1.
0
 
LVL 18

Expert Comment

by:Andrej Pirman
ID: 39884906
Under your Virtual Switch management, do you have "Allow management OS to share this network adapter" ticked or not?
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 20

Accepted Solution

by:
Svet Paperov earned 500 total points
ID: 39885592
Your 192.168.5.200 is marked as duplicated – that means there is another machine on the subnet. In such case the autoconfig kicks in. Check your network to find where the address is used – it may be because of overlap with the DHCP server. I would recommend using reservation in the DHCP instead of setting a fixed IP address or make sure you have the right exclusions in the same DHCP server if you want to use static IP.
 
Note that when using reservations, it will be wise to configure a fixed MAC address on the virtual adapter for that VM. http://www.solution-soft.com/whitepapers/Microsoft-VirtualServer-StaticMAC/Microsoft_Hyper-V_Static-MAC-address.htm

And if you want to use a static IP address, you may want to disable the autoconfiguration http://lyngtinh.blogspot.ca/2011/12/how-to-disable-autoconfiguration-ipv4.html
0
 
LVL 1

Author Comment

by:noad
ID: 39886017
SVET

Your correct,
I changed the static IP and all is working g correctly now.
Still trying to find out where the duplicate IP is coming from. I can ping it, when I do an nslookup & tracer I can't see what device it is.
0
 
LVL 20

Expert Comment

by:Svet Paperov
ID: 39886073
If it’s coming from a DHCP server you could list the Address Leases in the DHCP console.

Also, if you are using managed (physical) switch, you could open its address table and look for the MAC address-to-port mapping. To get the MAC address of the device run arp –a right after running ping command.
0
 
LVL 1

Author Comment

by:noad
ID: 39886109
Thanks
I'll try it.
0
 
LVL 18

Expert Comment

by:Andrej Pirman
ID: 39893207
nbtstat -n
or
nbtstat -rn

Running that on domain controller might reveal you the problematic IP name or workstation.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Is your company's data protection keeping pace with virtualization? Here are 7 dynamic ways to adapt to rapid breakthroughs in technology.
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now