[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 948
  • Last Modified:

How to pass VLAN trunk to VM in Hyper-V 2008 R2

Hi experts!
I have to reformulate my another question. (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Windows_Server_2008/Q_28476043.html#a40196676)

It is possible in Hyper-V 2008 R2 to pass VLAN trunk to the VM?

I need to pass 20+ VLANs to my virtual router...

In Hyper-V 2012 R2 it is possible, I need some equivalent to that:
http://serverfault.com/questions/518489/send-trunk-directly-to-vm-in-hyperv-2012
0
Jan Vojtech Vanicek
Asked:
Jan Vojtech Vanicek
  • 3
  • 3
1 Solution
 
MaheshArchitectCommented:
As long as you tag VM NIC with proper VLAN ID under VM settings \ networking in hyper-v console, your VM can talk to external network with trunk port
No special configuration is required for that.
You need to ensure that trunk port is correctly configured from network end
0
 
Jan Vojtech VanicekIT SpecialistAuthor Commented:
Ok, how do you get 20 VLANs to the VM? Maybe Im missing something...
0
 
MaheshArchitectCommented:
Not sure if understand your query

All you need to do is create trunk (merge) on physical switch port for all those 20 VLANS so that switch port will pass tarffic between those VLANS.
Now assign required VLAN out of 20 to VM network in hyper-v VM settings and that VM should talk to any VLAN out of 20
0
Put Machine Learning to Work--Protect Your Clients

Machine learning means Smarter Cybersecurity™ Solutions.
As technology continues to advance, managing and analyzing massive data sets just can’t be accomplished by humans alone. It requires huge amounts of memory and storage, as well as high-speed processing of the cloud.

 
Jan Vojtech VanicekIT SpecialistAuthor Commented:
You mean I can use one of 20 VLANs with one VM. My question is to use 20 VLANs with one VM. VM is VLAN aware, it is router, which can route among them, now it is physical, i need to transform it to virtual.
0
 
MaheshArchitectCommented:
U can,t assign multiple VLANs to either VM or physical server.

When you do trunk, you need to tag perticular VALN ID to VM so that it can tell trunk port that I have traffic from perticular VLAN segment and trunk port will then pass tarffic to appropriate VLANs
0
 
Jan Vojtech VanicekIT SpecialistAuthor Commented:
Physical machine can handle it... Kerio Control, Mikrotik and others can handle VLAN trunk connected directly to NIC
0
 
Svet PaperovIT ManagerCommented:
Short answer: you cannot do it in 2008 R2. The virtual switch supports VLAN trunk mode but the virtual adapter does not – it can be in access mode only. VLAN adapter trunking is a new feature in Hyper-V 2012.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now