Solved

Imported VM's cant connect to gateway

Posted on 2011-02-28
16
833 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
 
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

This is similar to the error described in my previous Article, but with a different source problem and a different solution. When trying to scan and stage the ESXi 6.0 updates using VMware Update Manager, we can get "error code 90"
For Backups Guest OS files and indexing(and application awareness), Veeam needs Admin rights in Guest OS(Windows and Linux). In Windows a Domain Administrator account, and in Linux root access to perform this type of Backups and also Restore.
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…

708 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

20 Experts available now in Live!

Get 1:1 Help Now