Imported VM's cant connect to gateway

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!
LVL 1
rcs81Asked:
Who is Participating?
 
ThorinOConnect With a Mentor Commented:
What about deleting the arp entry on the gateway for that IP?
0
 
ThorinOCommented:
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
 
rcs81Author Commented:
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
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
ThorinOCommented:
If you set it to a different static IP does it work or do all static IP not work?
0
 
rcs81Author Commented:
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
 
ThorinOCommented:
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
 
rcs81Author Commented:
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
 
ThorinOCommented:
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
 
rcs81Author Commented:
Yea tried all that doesnt work. tracert timesout on hop 1, for some reason the vm doesnt communicate with the default gateway
0
 
rcs81Author Commented:
I just put in a request for just that!
0
 
rcs81Author Commented:
Still not working...

What would prevent a machine from communicating with the default gateway?
0
 
ThorinOCommented:
I'm not sure =\
0
 
rcs81Author Commented:
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
 
ThorinOCommented:
Is it some VLAN thing or L3 switching issue?
0
 
rcs81Author Commented:
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
 
ThorinOCommented:
Cool deal
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.