Jump to content
 
 

Good Day All,

 

I have been experimenting with nic teaming on my new Server 2019 STD Hyper V install.

 

I have VMS in VMware hosts but I want to migrate them to Hyper V.

I have migrated some VM's to the new host but when I started them up not all can connect to the network.
they can ping internal between themselves but access outside.

 

I used this is a reference:

https://docs.microsoft.com/en-us/windows-server/networking/technologies/nic-teaming/nic-teaming-settings

 

my team is configured as in attachment. 

 

The ports are connected to 2 Cisco 3850's that are stacked.

All ports are on the same VM.

 

 

4 VM's that are on the Host are working fine, but when i start the 5th I don't get any network connectivity external to the Virtual switch. If i shut down the Hosts and restart no mater what i do i only get 4 hosts working.

 

i tried switching to load balancing mode: dynamic. but no VM's can connect other than the 1st VM I turn on.

 

Should i move to a switch dependent mode?

 

Any guidance will be appreciated.

 

1604752.png

Edited by ikhantt
Link to comment
https://linustechtips.com/topic/1215746-nic-teaming-on-a-cisco-switch-stack/
Share on other sites

Link to post
Share on other sites

If the VM's can communicate together, but not to anything else it doesn't sound like a teaming problem. If it was a teaming problem then you would have issues with the host. 

Make sure the Hyper-V Virtual Switch is bridged and not NAT. 

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | Asus RTX 4060 Dual OC | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO + 4 Additional Venturi 120mm Fans | 8 x 20TB Seagate Exos X22 | 4 x 16TB Seagate Exos X18 | 3 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Spoiler

NAS: Innovision 4U 24-bay chassis (12GB MiniHD SGIO Backplane) | Intel Core i9-10980xe | EVGA X299 FTW-K | EVGA RTX 2080Ti Super FTW3 | 128GB (8x16GB) Corsair Vengeance LPX 3200Mhz | DEEPCOOL PN1000M PSU| Noctua NH-D12L Chromax Black | 16 x 16TB Seagate Exos X18 | 2 x 2TB Samsung 990 Pro | 2 x 2TB Intel U.2 P4510 | LSI 9305-24i HBA

 

Link to post
Share on other sites

Okay so  I run stacked 3750G's. I use VMM to configure the teaming as I want to be able to see that config in the VMM interface and its all weird if you do it prior to importing the host in VMM. You see it as a team at all times and can't see the seperate adapters in VMM for the host for some reason.

 

You should be running LACP for teaming mode, Address hash for load balancing mode in your picture.

On your switch you need to have a port channel. The basics are below:

 

interface Port-Channel1

description LACP Hyper-V Group

switchport trunk encapsulation dot1q

switchport mode trunk

 

int gi1/0/1

description LACP Hyper-V Group - 1

switchport trunk encapsulation dot1q

switchport mode trunk

channel-group 1 mode active

 

int gi2/0/1

description LACP Hyper-V Group - 2

switchport trunk encapsulation dot1q

switchport mode trunk

channel-group 1 mode active

 

The descriptions are just how I keep track of ports on the switch and the groups they belong to. Adapt this to how you would like to do it.

 

In Hyper-V assign the VLAN ID by setting "Enable virtual LAN identification" and setting the ID to whatever VLAN you want the device on. Obviously in this case make sure that VLAN can talk to the internet.

 

If you want to trunk a network port on the vswitch you can only do that through powershell. Commands are below. Theres no way of doing this in the GUI that I know of as most people would just add more Vnics to the hosts and map them in the OS but its still handy to be able to do.


Get-VMNetworkAdapter -VMName VMNAME | Where-Object -Property MacAddress -eq "MACADDRESS" |
Set-VMNetworkAdapterVlan -Trunk -AllowedVlanIdList 100-110 -NativeVlanId 100

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×