Jump to content

Recommended Posts

Posted

So I have a server which is acting as a HyperV host. It has 4 physical network ports. These are aggregated together on the Server to form a Server Team.These cables go into an SG300 Cisco switch. On the Switch side we use VLAN 2 for VOIP/Door entry and VLAN3 for DATA. The 4 cables from the Server go into the Switch at ports 21-24. These are marked as Administrative PVID 1. Can someone explain what PVID 1 is and how the server communicates on VLAN 3? It works, I just want to understand how.

 

Currently all the VMs in the HyperV host reside on VLAN 3. I want to create a new VM but want it to be on VLAN2. How would I achieve this? Do i need to do something on the switch or just in HyperV to allocate the VLAN ID?

Posted

Not a term I've seen used before, but IBM say this.

 

A Port VLAN ID (pvid) is a default VLAN ID that is assigned to an access port to designate the virtual LAN segment to which this port is connected. The pvid places the port into the set of ports that are connected under the designated VLAN ID. Also, if a trunk port has not been configured with any VLAN memberships, the virtual switch's Port VLAN ID (pvid) becomes the default VLAN ID for the ports connection.

 

my understanding is that basically means the PVID is the native VLAN for those ports (eg untagged) - I would surmise that your additional VLANs are therefore tagged, and to get VLAN 2 on there you'd need to add it as tagged to the trunk and then configure the virtual network card to send traffic with that tag (I'm not that savvy with hyper-v's implementation of this)

  • Thanks 1
Posted (edited)

As above. It's the native untagged vlan for ingress packets

 

If you don't specify a vlan on the network config of the hyperv guest, your VM will end up on that lan.

 

Set it to 2 on the vm and tagged vlan 2 on your switch ports connected to your host and you are done (look at how the aggregation is done as you may need to tag the vlan on the trunk and not the individual ports)

Edited by ITGuyWestMidlands

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...