cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
5581
Views
0
Helpful
1
Replies

How to create Virtual Switch(Hyper-V) over the NIC teaming with multiple VLAN

imran.amirali
Level 1
Level 1

Hi,

I am not sure about question to be ask in this particular forum. Please help me to resolve my problem.

I have 

1 Server 2016 (Physical Machine)

NIC teaming with LACP Dynamic (NIC3 + NIC 4) -- Both NIC are connected on different Switch(Arista switches) port (SW1-E24 and Sw2 -E24)

Switch 1, 2 Configuration

Interface Port-Channel15

Switchport trunk allowed vlan 40,70

Switchport mode trunk

Mlag 15

|

|

 

Interface Ethernet 24

Switchport trunk allowed vlan 40,70

Switchport mode trunk

Channel-group 15 mode active

|

|

Question 1:  when i create NIC team with LACP, i need to define the VLAN ID 40 on  NIC team otherwise the server is inaccessible from NIC team. how to resolve this ?

I also add the interface on NIC team with VLAN 70.

Question 2: When create virtual switch(Switch-VLAN40) from Hyper-V virtual switch manager, with Connection type External Network, Allow Management Operating system to share this network adapter and specific the NIC team VLAN 40 network.

The server become inaccessible. same happen with VLAN 70. how can i resolve it.

I need to create virtual switch with VLAN 40 and another Virtual Switch with VLAN 70. 

 

Thanks.

1 Reply 1

balaji.bandi
Hall of Fame
Hall of Fame

Try below config :

 

interface Port-channel15
description Hyper-v
switchport trunk encapsulation dot1q
switchport trunk native vlan 40
switchport trunk allowed vlan 40,70
switchport mode trunk
switchport nonegotiate

Interface Ethernet 24
description Hyper-v - Nic1
switchport trunk encapsulation dot1q
switchport trunk native vlan 40
switchport trunk allowed vlan 40,70
switchport mode trunk
switchport nonegotiate
channel-group 15 mode active
spanning-tree portfast
spanning-tree bpduguard enable
!
Interface Ethernet 25
description Hyper-v - Nic2
switchport trunk encapsulation dot1q
switchport trunk native vlan 40
switchport trunk allowed vlan 40,70
switchport mode trunk
switchport nonegotiate
channel-group 15 mode active
spanning-tree portfast
spanning-tree bpduguard enable

In HyperV NIC Teaming -
Teaming Mode as LACP and Load Balancing as Dynamic.

 

below guide help you for windows side teaming.

 

http://www.msserverpro.com/configuring-windows-server-2012-nic-teaming-to-a-hyper-v-virtual-machine/

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Review Cisco Networking for a $25 gift card