Solved

Network not working in Linux Mint Hyper-V VM

Posted on 2014-02-09
8
2,876 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
ID: 39845079
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
ID: 39845095
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 88

Accepted Solution

by:
rindi earned 500 total points
ID: 39845190
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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 18

Expert Comment

by:TobiasHolm
ID: 39845222
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
 
LVL 14

Expert Comment

by:ThomasMcA2
ID: 39845331
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
ID: 39846039
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
ID: 39846057
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 88

Expert Comment

by:rindi
ID: 39846141
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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help With Shell Script Centos 6 6 52
Add more memory to server from VM 13 28
awk sed variable in file 3 36
CENTOS DHCP Server / PXE/TFTP 14 72
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"
This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
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…

776 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