Solved

Network not working in Linux Mint Hyper-V VM

Posted on 2014-02-09
8
2,805 Views
Last Modified: 2014-11-12
Hello,
I setup a test VM to try out Linux Mint.  I am using the v15 KDE 64-bit distro.  It installed fine except I cannot get the network to work.  I setup a legacy network adapter in the Hyper-V settings.  When booting up Mint, it is able to obtain an IP address from my DHCP server.  I am also able to set a static network config.

In the console, I can ping the IP address of eth0 and the loopback, but I cannot ping the gateway IP or DNS server, or any other IP on the network, nor do I have Internet access.

I am very lost on what went wrong.  I'm still a Linux novice, but I found my way to the network manager and confirmed all settings were correct, but I still cannot ping the gateway or access the Internet.  Any ideas?
0
Comment
Question by:bigeven2002
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 18

Expert Comment

by:TobiasHolm
Comment Utility
Have you checked the network settings in Hyper-V for the Mint guest? It sounds like all settings in your Mint is ok, so the problem probably is in the Hyper-V network configuration.
0
 
LVL 17

Author Comment

by:bigeven2002
Comment Utility
I did, I'm also running freenas on another vm on the same host and it too uses a legacy adapter and it works fine.  I checked and the settings are the same.
0
 
LVL 87

Accepted Solution

by:
rindi earned 500 total points
Comment Utility
Make sure you have installed the Hyper-V integration extensions within your VM's (Linux Mint). That should make sure you have the proper drivers installed for the Virtual Hardware.
0
 
LVL 18

Expert Comment

by:TobiasHolm
Comment Utility
Can you test to install Mint by using this technique:
http://blogs.msdn.com/b/visualstudiouk/archive/2013/11/20/installing-linux-in-hyper-v.aspx

Be sure to read the section "Important networking step before starting the installation".
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 14

Expert Comment

by:ThomasMcA2
Comment Utility
If you are trying to experiment with Mint to see if you like it, and you might install it in dual-boot mode if you do, a VM is not the best way to do that. Besides the complicated network setup, running it in a VM does not test whether Mint works with your hardware because the VM provides virtual hardware. The best way to try out Linux is with a Live (bootable) CD, DVD, or USB stick. The Unetbootin tool makes it easy to create a bootable device, and this page describes how to do that with Mint.
0
 
LVL 17

Author Comment

by:bigeven2002
Comment Utility
Thanks for the responses.

@rindi, I cannot seem to find a version of the ICs that work with Mint from Microsoft.  The latest version 3.4 supports only Redhat and CentOS.

@TobiasHolm, I did follow that guideline this time around, I setup a legacy network adapter and removed the non-legacy adapter before installation of Mint.  In case it matters, this instance of Hyper-V is on Windows Server 2008 R2.

@ThomasMcA2, it makes sense to use live CD or dual-boot vs virtual, but I'm not testing it to see if it becomes my primary OS, but rather just to test it out play around with it, and I would rather not bring down my primary OS to do this.
0
 
LVL 17

Author Closing Comment

by:bigeven2002
Comment Utility
It appears that this version of Mint already had the ICs included, my clue was that the synthetic mouse driver was already working out of the box.  So I shut it down and removed the legacy adapter and added the native adapter, it detected it and DHCP assigned the IP address to it and I was able to ping the gateway and can now surf the Internet.
0
 
LVL 87

Expert Comment

by:rindi
Comment Utility
As far as I know newer versions of Hyper-V should support Ubuntu and other Distro's (but I haven't been using Hyper-V for a long time now), and as Linux Mint is based on Ubuntu, those IC's should be compatible. Maybe you also need to make sure your host OS is always fully patched.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
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…

744 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

16 Experts available now in Live!

Get 1:1 Help Now