Link to home
Start Free TrialLog in
Avatar of humbbi
humbbiFlag for Switzerland

asked on

Hyper-v 2012 - trunk with 3 VLAN's

Hello

I should configure 3 vSwitches in Hyper-V.  I'm able to define the VLAN inside a VM directly.
Bud instead of giving each Vm a VLAN Id I would like create 3 vSwitche with the VLAN ID. So I do only need to assign the Switch to the VM. So I can avoid to assign individually to each VM (we have 70 VM's) the VLAN.

Has anyone a solution or an idea?

Thanks for any help
Avatar of Cliff Galiher
Cliff Galiher
Flag of United States of America image

That isn't really how hyper-v networking works, and isn't terribly scalable. But I suppose as a workaround (not one I'd recommend), you could use a smart switch and set an untagged VLAN ID to each port that connects to the physical NICs on each virtual switch. Since the v-switches are isolated by Hyper-v a d the upstream ports will be isolated by the physical switch  and the use of port-based VLANs, you'd get the same net effect.
How many network adapters you have on physical hyper-v server ?

I assume that you have 3 VLANS to work with acorss all 70 VMS and you have routing enabled between each VLAN

Now if you have two physical network cards on hyper-V connected to two ports on physical switch, you can do network port level VLAN truncking (all 3 VLAN IDs) on each port which allow you to pass all 3 VLANS traffic through that ports and u don't need to tag VLAN ID on each VM.
Network admins can do that for you
Hpoe that helps

Mahesh
Avatar of humbbi

ASKER

hello

Sorry for the late answer, was on holoday.
I will make some tests today and tomorrow.
Then i let you know ...


Many thanks
Andy
ASKER CERTIFIED SOLUTION
Avatar of humbbi
humbbi
Flag of Switzerland 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 humbbi

ASKER

thanks
Avatar of humbbi

ASKER

more easyer with SCVMM