• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 842
  • Last Modified:

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!
0
rcs81
Asked:
rcs81
  • 8
  • 8
1 Solution
 
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
 
ThorinOCommented:
If you set it to a different static IP does it work or do all static IP not work?
0
Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

 
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
 
ThorinOCommented:
What about deleting the arp entry on the gateway for that IP?
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

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 8
  • 8
Tackle projects and never again get stuck behind a technical roadblock.
Join Now