Solved

Imported VM's cant connect to gateway

Posted on 2011-02-28
16
836 Views
Last Modified: 2012-06-27
Hi Guys,

I'm experiencing something strange. I imported a few VM's on one of my functioning hyper v hosts and these vms are able to ping local computers on the network, but they cant get out to the internet when assigned public IP's. However if I let them get DHCP from our router they can access the internet. This doesn't make any sense to me as the same vm works fine on a different hyper v host with a public ip (SAME LAN). Any thoughts? The host box is windows 2008 r2 enterprise.

Thanks!
0
Comment
Question by:rcs81
  • 8
  • 8
16 Comments
 
LVL 10

Expert Comment

by:ThorinO
ID: 34999442
When you say import did you do a P2V, did you delete the old NICs from Device Manager? The below link is for VMware but should also apply to Hyper-V.

http://www.kendrickcoleman.com/index.php?/Tech-Blog/p2v-cleanup-game.html
0
 
LVL 1

Author Comment

by:rcs81
ID: 34999501
No it was a vm to begin with and yes I did delete the NICs and recreated. If i set the machine to dhcp it works fine with private IP's, but when I give it a public it doesnt see the default gateway. There's no firewall and I've double check it is on the correct virtual switch. I have other production vms on the same virtual switch with public ips and they work fine. This seems to be affecting only vms which were imported.
0
 
LVL 10

Expert Comment

by:ThorinO
ID: 34999522
If you set it to a different static IP does it work or do all static IP not work?
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 1

Author Comment

by:rcs81
ID: 34999629
No it doesnt work even if I change the static ip. I know the IP's are good I've tested them on physical machines and they work.
0
 
LVL 10

Expert Comment

by:ThorinO
ID: 34999643
I'm not sure, I have had weird Windows firewall issues on incoming traffic with static vs DHCP. Can you try turning off/on the Windows firewall?

If the IPs are good, the vSwitch is good, DHCP is good, seems like a guest issue.
0
 
LVL 1

Author Comment

by:rcs81
ID: 34999949
Yea thats what I thought too, so I imported a linux vm as well, same problem! Looks like I'll have to rebuild these from scratch
0
 
LVL 10

Expert Comment

by:ThorinO
ID: 35000043
What about if you add a 2nd vNIC and give that one a static IP? What if you enable/disable the Windows firewall? Can you see any traffic on your gateway device from these systems? What happens if you tracert google.com?
0
 
LVL 1

Author Comment

by:rcs81
ID: 35003638
Yea tried all that doesnt work. tracert timesout on hop 1, for some reason the vm doesnt communicate with the default gateway
0
 
LVL 10

Accepted Solution

by:
ThorinO earned 500 total points
ID: 35008897
What about deleting the arp entry on the gateway for that IP?
0
 
LVL 1

Author Comment

by:rcs81
ID: 35010910
I just put in a request for just that!
0
 
LVL 1

Author Comment

by:rcs81
ID: 35012090
Still not working...

What would prevent a machine from communicating with the default gateway?
0
 
LVL 10

Expert Comment

by:ThorinO
ID: 35012980
I'm not sure =\
0
 
LVL 1

Author Comment

by:rcs81
ID: 35013111
I just rebooted the physical layer 3 switch as well, still no luck. Looks like its only affecting new vms or imported vms. If i assign the same ip to an existing vm, i'm able to ping.
0
 
LVL 10

Expert Comment

by:ThorinO
ID: 35013130
Is it some VLAN thing or L3 switching issue?
0
 
LVL 1

Author Comment

by:rcs81
ID: 35013881
ThorinO thank you for your help. It was a problem with the ISP's gateway. It was infact related to arp, they reset the routing tables and all is well
0
 
LVL 10

Expert Comment

by:ThorinO
ID: 35018586
Cool deal
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
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…

803 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