Solved

Packet loss on Windows 2012 R2

Posted on 2014-12-15
10
771 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 56

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
 

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
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 

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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…

762 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

20 Experts available now in Live!

Get 1:1 Help Now