Overclock.net › Forums › Specialty Builds › Servers › Hyper-V Virtual Machines are unable to connect to the Internet.
New Posts  All Forums:Forum Nav:

Hyper-V Virtual Machines are unable to connect to the Internet.

post #1 of 4
Thread Starter 
Hi all,

Not really sure where I should post it but I'm guessing here since its related to my server. I currently have a CentOS 6.4 64bit minimal installed as a virtual machine on the server, I have created an external virtual network adaptor within the Hyper-V and have also installed the Linux Integration Services for the Hyper-V. I have the network adaptor on the virtual machine set to use the external virtual network adaptor created before but it won't connect to the internet. The host is connected to the Internet just fine.

ScreenShot2013-11-26at3.03.58am.png 41k .png file

ScreenShot2013-11-26at3.04.45am.png 174k .png file


I'm looking for some advice on how to fix this... I'm so stuck on this issue. I have searched online but have not found anything.

EDIT: I'm an idiot for not looking at the PDF supplied with the Linux Integration Services. T-T
Edited by Lailainoob - 11/25/13 at 11:17am
Hailstorm
(16 items)
 
  
CPUMotherboardGraphicsRAM
i7 3820 @ 4.65GHz ASRock X79 Extreme 6 GTX670 16GB 
Hard DriveHard DriveCoolingOS
128GB Crucial M4 750GB Toshiba Hard Drive Noctua NH-D14 Windows 8 Professional X64 Bit 
MonitorMonitorKeyboardPower
27 Inch JOINASIA IPS 24 Inch Acer IPS Ducky Shine II Corsair TX-650W 
CaseMouseMouse PadAudio
Coolermaster Raider Razer Imperator Razer Goliathus Logitech Speakers 
  hide details  
Reply
Hailstorm
(16 items)
 
  
CPUMotherboardGraphicsRAM
i7 3820 @ 4.65GHz ASRock X79 Extreme 6 GTX670 16GB 
Hard DriveHard DriveCoolingOS
128GB Crucial M4 750GB Toshiba Hard Drive Noctua NH-D14 Windows 8 Professional X64 Bit 
MonitorMonitorKeyboardPower
27 Inch JOINASIA IPS 24 Inch Acer IPS Ducky Shine II Corsair TX-650W 
CaseMouseMouse PadAudio
Coolermaster Raider Razer Imperator Razer Goliathus Logitech Speakers 
  hide details  
Reply
post #2 of 4
Try to use a legacy adapter for the VM, realtek dosent play nice with some Oses.


edit..
Is your V-Switch on DHCP or Static. Also is Your VM on DHCP or Static.
Edited by dir_d - 11/25/13 at 11:15am
post #3 of 4
Getting Linux working with Hyper-V CAN be tricky. Long story short, you must install the OS while using a legacy network adapter, and verify it works then. If so, you can leave it with the legacy network adapter (limited to 10/100Mbps, no NTP, etc) or if you want the synthetic adapter you will need to install the integration components, note down the MAC address, power off the VM, swap out the NIC, statically set the MAC address, and power it back on. It should be good to go from there.

Another option, and what I recommend, if you're using CentOS 6.4 you should use any image other than the minimal image. All the other images include Hyper-V drivers, and things just work out of the box.

I use the CentOS-6.4-x86_64-LiveCD.iso

It works great out of the box with no special config. I also use the text installer when I install.
post #4 of 4
Thread Starter 
Quote:
Originally Posted by tycoonbob View Post

Getting Linux working with Hyper-V CAN be tricky. Long story short, you must install the OS while using a legacy network adapter, and verify it works then. If so, you can leave it with the legacy network adapter (limited to 10/100Mbps, no NTP, etc) or if you want the synthetic adapter you will need to install the integration components, note down the MAC address, power off the VM, swap out the NIC, statically set the MAC address, and power it back on. It should be good to go from there.

Another option, and what I recommend, if you're using CentOS 6.4 you should use any image other than the minimal image. All the other images include Hyper-V drivers, and things just work out of the box.

I use the CentOS-6.4-x86_64-LiveCD.iso

It works great out of the box with no special config. I also use the text installer when I install.

I didn't read the instructions that came with the Linux Integration Services, but thanks for the heads up about the minimal image. I'll make sure to get the other ones next time. smile.gif
Hailstorm
(16 items)
 
  
CPUMotherboardGraphicsRAM
i7 3820 @ 4.65GHz ASRock X79 Extreme 6 GTX670 16GB 
Hard DriveHard DriveCoolingOS
128GB Crucial M4 750GB Toshiba Hard Drive Noctua NH-D14 Windows 8 Professional X64 Bit 
MonitorMonitorKeyboardPower
27 Inch JOINASIA IPS 24 Inch Acer IPS Ducky Shine II Corsair TX-650W 
CaseMouseMouse PadAudio
Coolermaster Raider Razer Imperator Razer Goliathus Logitech Speakers 
  hide details  
Reply
Hailstorm
(16 items)
 
  
CPUMotherboardGraphicsRAM
i7 3820 @ 4.65GHz ASRock X79 Extreme 6 GTX670 16GB 
Hard DriveHard DriveCoolingOS
128GB Crucial M4 750GB Toshiba Hard Drive Noctua NH-D14 Windows 8 Professional X64 Bit 
MonitorMonitorKeyboardPower
27 Inch JOINASIA IPS 24 Inch Acer IPS Ducky Shine II Corsair TX-650W 
CaseMouseMouse PadAudio
Coolermaster Raider Razer Imperator Razer Goliathus Logitech Speakers 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Servers
Overclock.net › Forums › Specialty Builds › Servers › Hyper-V Virtual Machines are unable to connect to the Internet.