Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Different IP address on VM machine

Posted on 2014-02-24
9
Medium Priority
?
369 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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
 
LVL 20

Accepted Solution

by:
Svet Paperov earned 2000 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

When ransomware hits your clients, what do you do?

MSPs: Endpoint security isn’t enough to prevent ransomware.
As the impact and severity of crypto ransomware attacks has grown, Webroot fought back, not just by building a next-gen endpoint solution capable of preventing ransomware attacks but also by being a thought leader.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
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…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Suggested Courses

722 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