- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Assign VLAN to a VM
I have a MX65 with a DMZ VLAN and internal VLAN. I've setup a Hyper-v host using a port assigned to the DMZ. I'm puzzled why the VMs on the host are showing on the internal VLAN instead of the DMZ. I do not see a way to specify which VLAN the VMs should use. Setting a static DMZ address on the VM makes it unreachable. Any suggestions on what I should check or change?
Solved! Go to solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How is your virtual switch configured on the Hyper-V host? We'd normally setup a trunk between the host and the MX, including both the management vlan and DMZ vlan.
Then the virtual switch on the host handles telling VMs what VLAN they belong to.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How is your virtual switch configured on the Hyper-V host? We'd normally setup a trunk between the host and the MX, including both the management vlan and DMZ vlan.
Then the virtual switch on the host handles telling VMs what VLAN they belong to.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can use a single NIC configured for 802.1q trunking. I haven't used Hyper-V in a long time, but basically you end up assigning the VMs to the VLANs. This would connect to a trunk port on the MX65.
The other option is to use a NIC for each VLAN, which goes to access ports on the MX65 configured for the appropriate VLAN.