Link to home
Start Free TrialLog in
Avatar of 1212pro
1212proFlag for United States of America

asked on

Hyper-v virtual network team and Cisco port configuration

Hello, I have a Teamed 4 port nic that is used in my Host machine.  They are used for a Virtual switch that my current VMs connect to our physical network. Here is the port configuration on my Cisco switch they plug into (all 4 ports are configured the same):

"interface GigabitEthernet1/0/29
 description Dell Server
 power inline never
 speed 1000
 duplex full
 spanning-tree portfast"

 I am visualizing a Shoretel Director physical server that needs to be on a vlan 201 and will only work if I set my CIsco port configuration to;

"interface GigabitEthernet1/0/40
 description Shoretel Server
 switchport access vlan 201
 switchport mode access"

How would I add the Switchport Access VLAN 201 to work with my current virtual switch?  
Would I change one of the 4 cisco switch ports to this setting and leave the other 3 as is?
If I change one of the Cisco ports would I create a new Virtual switch and enable the VLAN 201 for that one server?

Thanks for your help
Avatar of Philip Elder
Philip Elder
Flag of Canada image

What is the OS version of the Hyper-V host.

As a rule, when teaming, all we need to do is set the VLAN ID in the VM's vNIC properties either via PowerShell or in Hyper-V Manager under the properties for the VM.

The only configuration that needs to be done on the switch is to TRUNK the ports to allow whatever VLAN tagged traffic in and out of the vSwitch's physical ports.
Avatar of 1212pro

ASKER

Hello Phillip the Host OS it Server 2012 R2
The improvements in the native teaming setup is such that it is best to leave the team algorithm set to DEFAULT and to set up the switch(es) in Trunk Mode with the necessary tagged/untagged/VLAN traffic set to each required port.
Avatar of 1212pro

ASKER

Looking at this a different way. What would I need to do to to setup a new Virtual network adapter that only uses a physical switch port set as an Access port for VLAN 201?

With all the 4 port nic's ports bound to the Team is it possible to remove one of the nic's ports and have that connect to my physical switch set as an access port?  I'm not sure how else to accomplish this requirement.

The Connection to one of my sites won't work with a trunk port to communicate with the Shoretel switch it needs to be an Access port.  ( I do have a TAC case open with Cisco to see if they can change this)

Thanks,
ASKER CERTIFIED SOLUTION
Avatar of Philip Elder
Philip Elder
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of 1212pro

ASKER

Thanks Phillip, The TAC case took care of some underling NAT issues.  I think the last part will be to add the Trunk mode for the Physical switch ports.  I'll mark this as closed
Missed one: Moving cables question: Yes, set up a vSwitch on two teamed ports then team the other two ports and set up a vSwitch on that team. Plug each team's ports wherever so long as they are on the same network for each team set.
Avatar of 1212pro

ASKER

Phillips assessment was correct unfortunately there was an underling ASA firewall issue that needed to be addressed first.  Thanks for pointing me in the right direction.
1212pro
Avatar of 1212pro

ASKER

Just saw your comment.  How do I setup the VSwitch to only use two of the teamed ports.  That is a screenshot sequence that would be really helpful.
Simple.

Remove the current vSwitch
Remove the current 4-port team
Record MAC address to port mapping
Assume MAC 0-1 and MAC 2-3 for teams
Team MAC 0-1
Team MAC 2-3
Create vSwitch 0 on Team MAC 0-1 (Name: vSwitch 0)
Create vSwitch 1 on Team MAC 2-3 (Name: vSwitch 1)
Create VM, assign to required vSwitch 1/2, and assign VLAN tag. (Repeat this step as necessary)

The switch should be able to list which MAC address is connected to which port. Trunk accordingly.
Avatar of 1212pro

ASKER

Thank you!