Solved

Packet loss on Windows 2012 R2

Posted on 2014-12-15
10
1,042 Views
Last Modified: 2014-12-22
Hi,

I have a weird problem that I am trying to solve.

We have a hyper-v host running Windows Server 2012 R2 with 3 VMs. The host has 2 network cards Intel 82574L. The first card is configured as the management card for the host and the second is dedicated to the hyper-v external virtual switch.

What happens is this. As soon as I reboot the host, I get a lot of packet loss (about 50%) on the Host but not the VMs. If I change the static IP address, it works just fine but only until I reboot.

I already changed the cards drivers and also tried disabling IPv6 but no success. I also configured the Host on the second card to see if it was a hardware issue but the problem remained.

Thanks
0
Comment
Question by:Frederic Lalonde
10 Comments
 
LVL 58

Expert Comment

by:Cliff Galiher
ID: 40500825
Disable VMQ on the NIC.
0
 

Author Comment

by:Frederic Lalonde
ID: 40500864
I don't have to option in my network card. I also ran the PS command Get-NetAdapterVmqQueue and none are listed.
0
 
LVL 6

Expert Comment

by:Rob G
ID: 40500918
Do you have a gateway on both nics?

Do not turn off IPV6 on 2k12 server.. Server 2k12+ uses IPV6 to communicate with other windows 7+ machines on the network, it is helpful if you leave that enabled, even if your LAN Switches and Routers don't support it. Otherwise you can make things worse..
0
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 

Author Comment

by:Frederic Lalonde
ID: 40500938
Hi,

The management NIC has a gateway and the VM NIC is set to use DHCP so that receives one from that. As for the IPv6, it is reactived, it was only a test I did.
0
 
LVL 6

Expert Comment

by:Rob G
ID: 40500946
You can't technically use two gateway's in windows.
It will cause this issue, by default windows will automatically choose the best route to use, (Shortest distance) from point A to point B. It sounds like you are having packet loss because you are running two gateways. You can try to fix this by forcing the primary NIC on the system to the one you want to use for your traffic, but generally, windows will still choose shortest route, which in VLAN's etc can cause the system to send out the traffic, but then not be able to get there.

Here are two tests you can do.
Both are going to cause some blip in network productivity.

1. Go to your network connections list (Control panel>Network and Internet>Network connections)
Press the ALT key on the keyboard, choose advanced, then choose advanced settings
Here you will see adapters and bindings,
move the primary NIC to the top of the list using the arrow keys on the right.
Click OK (May cause a blip)

Try this and see if you notice the issue again..
Chances are it won't fix the issue..

2. Remove the gateway from the management NIC and see if that fixes your issue..
I am 99% positive it will..

(Best description.. NIC 1 sends a packet to Desktop A. Desktop A sends a reply, but uses NIC2 as it is a shorter route, Nic 2 has no idea what Desktop A is talking about, NIC2 drops packet from Desktop A. After some time Desktop A might send replies back to NIC 1 but at that point NIC1 doesn't remember what Desktop A is talking about. This causes Latency and Packet loss)
0
 

Author Comment

by:Frederic Lalonde
ID: 40501011
Thanks for your comment.

I had already tried point number 1.

I removes the gateway and still get the same issue unfortunately. One thing to note, the hyper-v was originally using the same network card as the Hyper-V switch and I was having the same issue.

Also, when I reboot, the pings are fine for maybe 15-20 seconds before I start losing packets.

The packet loss are fairly regular, 4 go through and then 4 are lost.
0
 
LVL 38

Expert Comment

by:Philip Elder
ID: 40501034
I suggest the following:

Remove the current vSwitch.
Team the two physical NICs using the Windows Server Team Wizard.
Create a new vSwitch shared with the host OS.
Bind the new vSwitch to the existing VMs.

Please make sure the most recent version of Intel PROSet is installed on the server prior to the above and also that your backups are good!

Also, I have an EE Article that might be of assistance: Some Hyper-V Hardware and Software Best Practices.

A virtualization platform should eliminate as many single points of failure as possible. A bad cable or switch port the vSwitch was bound to would put a full-stop to the VMs if I understand the description rightly.
0
 

Author Comment

by:Frederic Lalonde
ID: 40501483
Hi and thanks for you suggestion but we would very much like to keep the two NICs separate. Also, we have several other servesr with this configuration and we don't seem to experience this issue.

Do any of you think that it would be a good idea to try with a different NIC? We have a Intel Gigabit Desktop that we could try.
0
 

Accepted Solution

by:
Frederic Lalonde earned 0 total points
ID: 40505696
I found the solution. In the end it end up being a defective access point on the network that was creating some garbage,
0
 

Author Closing Comment

by:Frederic Lalonde
ID: 40512644
It fiex the issue as soon as it was unplugged
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

685 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