Solved

Imported VM's cant connect to gateway

Posted on 2011-02-28
16
839 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
[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
  • 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
Why You Need a DevOps Toolchain

IT needs to deliver services with more agility and velocity. IT must roll out application features and innovations faster to keep up with customer demands, which is where a DevOps toolchain steps in. View the infographic to see why you need a DevOps toolchain.

 
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

Why You Need a DevOps Toolchain

IT needs to deliver services with more agility and velocity. IT must roll out application features and innovations faster to keep up with customer demands, which is where a DevOps toolchain steps in. View the infographic to see why you need a DevOps toolchain.

Question has a verified solution.

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

#Citrix #XenApp #Citrix Scout #Citrix Insight Services #Microsoft VMMAP #Microsoft ADEXPLORE #Microsoft RAMMAP #Microsoft TCPVIEW #Microsoft AUTORUNS #Microsoft PROCESS EXPLORER #Microsoft PROCESS MONITOR
It Is not possible to enable LLDP in vSwitch(at least is not supported by VMware), so in this article we will enable this, and also go trough how to enabled CDP and how to get this information in vSwitches and also in vDS.
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…

705 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