Windows Server Vlan Tagging

-->

  1. How Vlan Tagging Works
  2. Windows Server Vlan Tagging Download

Applies to: Windows Server (Semi-Annual Channel), Windows Server 2016

In this topic, we provide you with the instructions to configure Converged NIC with a single NIC in your Hyper-V host.

The example configuration in this topic describes two Hyper-V hosts, Hyper-V Host A, and Hyper-V Host B. Both hosts have a single physical NIC (pNIC) installed, and the NICs are connected to a top of rack (ToR) physical switch. In addition, the hosts are located on the same subnet, which is 192.168.1.x/24.

Step 1. Test the connectivity between source and destination

Java Project Tutorial - Make Login and Register Form Step by Step Using NetBeans And MySQL Database - Duration: 3:43:32. 1BestCsharp blog 5,828,113 views. Switchport access vlan 600. For Microsoft Server side: Be sure that you installed the DHCP Server Role, and the DHCP server is authorized to assign TCP/IP configuration for the clients, and activate the scopes as well, and configure a static IP address for the DHCP server with the IP 10.227.220.200/24 and Default-Gateway 10.227.220.254.

Ensure that the physical NIC can connect to the destination host. This test demonstrates connectivity by using Layer 3 (L3) - or the IP layer - as well as Layer 2 (L2).

  1. View the network adapter properties.

    Results:

    Most of the time, a program will leave behind some files and keep your settings in your system. So removing Cygwin (64-bit) by editing the registry is only recommended to computer users with certain computer knowledge. If you don't want to take the risk to damage your computer system, it's recomended that you use to clean invalid keys.Step 4: End all processes that are related to Cygwin (64-bit)Even you uninstall Cygwin (64-bit) in Control Panel and remove invalid keys in the registry, there are still some folders left in hard drive. To completely remove Cygwin (64-bit) from your system, you can go to the following locations to delete the folders of Cygwin (64-bit).C:Program Files (x86)C:Program FilesC:ProgramDataC:UsersDefaultAppDataLocalC:UsersDefaultAppDataRoamingUninstall Cygwin (64-bit) using a Professional Third-Party UninstallerMany computer users don't like using the built-in uninstall utility in Windows Operating System to uninstall a program, because it often leaves behind some program files. Uninstall cygwin64 windows 10.

    NameInterfaceDescriptionifIndexStatusMacAddressLinkSpeed
    M1Mellanox ConnectX-3 Pro ..4Up7C-FE-90-93-8F-A140 Gbps
  1. View additional adapter properties, including the IP address.

    Results:

Step 2. Ensure that source and destination can communicate

In this step, we use the Test-NetConnection Windows PowerShell command, but if you can use the ping command if you prefer.

Tip

If you're certain that your hosts can communicate with each other, you can skip this step.

  1. Verify bi-directional communication.

    Results:

    ParameterValue
    ComputerName192.168.1.5
    RemoteAddress192.168.1.5
    InterfaceAliasM1
    SourceAddress192.168.1.3
    PingSucceededTrue
    PingReplyDetails (RTT)0 ms

In some cases, you might need to disable Windows Firewall with Advanced Security to successfully perform this test. If you disable the firewall, keep security in mind and ensure that your configuration meets your organization's security requirements.

  1. Disable all firewall profiles.

  2. After disabling the firewall profiles, test the connection again.

    Results:

    ParameterValue
    ComputerName192.168.1.5
    RemoteAddress192.168.1.5
    InterfaceAliasTest-40G-1
    SourceAddress192.168.1.3
    PingSucceededFalse
    PingReplyDetails (RTT)0 ms

Step 3. (Optional) Configure the VLAN IDs for NICs installed in your Hyper-V hosts

Dell optiplex gx620 audio driver for windows 7 32 bit. Many network configurations make use of VLANs, and if you are planning to use VLANs in your network, you must repeat the previous test with VLANs configured. Also, if you are planning to use RoCE for RDMA services you must enable VLANs.

Tagging

For this step, the NICs are in ACCESS mode. However, when you create a Hyper-V Virtual Switch (vSwitch) later in this guide, the VLAN properties are applied at the vSwitch port level.

Because a switch can host multiple VLANs, it is necessary for the Top of Rack (ToR) physical switch to have the port that the host is connected to configured in Trunk mode.

Note

Consult your ToR switch documentation for instructions on how to configure Trunk mode on the switch.

The following image shows two Hyper-V hosts, each with one physical network adapter, and each configured to communicate on VLAN 101.

Important

Perform this on both the local and destination servers. If the destination server is not configured with the same VLAN ID as the local server, the two cannot communicate.

  1. Configure the VLAN ID for NICs installed in your Hyper-V hosts.

    Important

    Toon boom harmony software. Recognised and used by the world’s leading animation studios for 25 years, Harmony levels the playing field with its production animation software by bringing 2D animation and full production capabilities to students, freelancers, artists and professional animators alike. Apr 02, 2019  Toon Boom Harmony Crack Premium edition is the most creative software for animation that helps every artist to create professional animations with confidence. It brings a new artist-friendly drawing, painting and animation tools with performance improvements. It is a powerful animation software allowing you to create animations and drawings for all kinds of projects. Apr 15, 2019  Toon Boom Harmony Premium 16 Overview Harmony is the most creative and yet, efficient, software ever created for animation – that’s why it’s the industry standard. Three new Harmony editions bring the power of Harmony to every artist. Toon Boom Animation Inc. 4200 St-Laurent Blvd, Suite 1020 Montreal, Quebec, Canada H2W 2R2 View on Google Maps +1 (514) 278-8666. Storyboard Pro. The last post is Harmony 17 SHIFT - new key function, why? — By dstruble. Harmony - General Discussion. Toon Boom Harmony 2019 full offline installer setup for PC 32bit/64bit Used by top studios all over the world, Toon Boom Harmony lets you work fast and animate in any style. The app has all the tools you need for traditional paperless, cut-out and hybrid animation productions.

    Do not run this command if you are connected to the host remotely over this interface, because this results in loss of access to the host.

    Results:

    NameDisplayNameDisplayValueRegistryKeywordRegistryValue
    M1VLAN ID101VlanID{101}
  1. Restart the network adapter to apply the VLAN ID.

  2. Ensure the Status is Up.

    Results:

    NameInterfaceDescriptionifIndexStatusMacAddressLinkSpeed
    M1Mellanox ConnectX-3 Pro Ethernet Ada..4Up7C-FE-90-93-8F-A140 Gbps

Important

It might take several seconds for the device to restart and become available on the network.

  1. Verify the connectivity.

    If connectivity fails, inspect the switch VLAN configuration or destination participation in the same VLAN.

Step 4. Configure Quality of Service (QoS)

Note

You must perform all of the following DCB and QoS configuration steps on all hosts that are intended to communicate with each other.

  1. Install Data Center Bridging (DCB) on each of your Hyper-V hosts.

    • Optional for network configurations that use iWarp for RDMA services.
    • Required for network configurations that use RoCE (any version) for RDMA services.
  2. Set the QoS policies for SMB-Direct:

    • Optional for network configurations that use iWarp.
    • Required for network configurations that use RoCE.

    In the example command below, the value “3” is arbitrary. You can use any value between 1 and 7 as long as you consistently use the same value throughout the configuration of QoS policies.

    Results:

    ParameterValue
    NameSMB
    OwnerGroup Policy (Machine)
    NetworkProfileAll
    Precedence127
    JobObject
    NetDirectPort445
    PriorityValue3
  1. For RoCE deployments, turn on Priority Flow Control for SMB traffic, which is not required for iWarp.

    Results:

    PriorityEnabledPolicySetIfIndexIfAlias
    0FalseGlobal
    1FalseGlobal
    2FalseGlobal
    3TrueGlobal
    4FalseGlobal
    5FalseGlobal
    6FalseGlobal
    7FalseGlobal
  1. Enable QoS for the local and destination network adapters.

    • Not needed for network configurations that use iWarp.
    • Required for network configurations that use RoCE.

    Results:

    Name: M1
    Enabled: True

    Capabilities:

    ParameterHardwareCurrent
    MacSecBypassNotSupportedNotSupported
    DcbxSupportNoneNone
    NumTCs(Max/ETS/PFC)8/8/88/8/8

OperationalTrafficClasses:

TCTSABandwidthPriorities
0ETS70%0-2,4-7
1ETS30%3

How Vlan Tagging Works

OperationalFlowControl:

Priority 3 Enabled

OperationalClassifications:

ProtocolPort/TypePriority
Default0
NetDirect4453
  1. Reserve a percentage of the bandwidth for SMB Direct (RDMA).

    In this example, a 30% bandwidth reservation is used. You should select a value that represents what you expect your storage traffic requires.

    Results:

    NameAlgorithmBandwidth(%)PriorityPolicySetIfIndexIfAlias
    SMBETS303Global
  1. View the bandwidth reservation settings.

    Results:

    NameAlgorithmBandwidth(%)PriorityPolicySetIfIndexIfAlias
    [Default]ETS700-2,4-7Global
    SMBETS303Global

Step 5. (Optional) Resolve the Mellanox adapter debugger conflict

By default, when using a Mellanox adapter, the attached debugger blocks NetQos, which is a known issue. Therefore, if you are using an adapter from Mellanox and intend to attach a debugger, use the following command resolve this issue. This step is not required if you do not intend to attach a debugger or if you're not using a Mellanox adapter.

Step 6. Verify the RDMA configuration (Native host)

You want to ensure that the fabric is configured correctly prior to creating a vSwitch and transitioning to RDMA (Converged NIC).

The following image shows the current state of the Hyper-V hosts.

  1. Verify the RDMA configuration.

    Results:

    NameInterfaceDescriptionEnabled
    M1Mellanox ConnectX-3 Pro Ethernet AdapterTrue
  1. Determine the ifIndex value of your target adapter.

    You use this value in subsequent steps when you run the script you download.

    Results:

    InterfaceAliasInterfaceIndexIPv4Address
    M214{192.168.1.5}
  1. Download the DiskSpd.exe utility and extract it into C:TEST.

  2. Download the Test-RDMA powershell script to a test folder on your local drive, for example, C:TEST.

  3. Run the Test-Rdma.ps1 PowerShell script to pass the ifIndex value to the script, along with the IP address of the remote adapter on the same VLAN.

    In this example, the script passes the ifIndex value of 14 on the remote network adapter IP address 192.168.1.5.

    Note

    If the RDMA traffic fails, for the RoCE case specifically, consult your ToR Switch configuration for proper PFC/ETS settings that should match the Host settings. Refer to the QoS section in this document for reference values.

Step 7. Remove the Access VLAN setting

In preparation for creating the Hyper-V switch, you must remove the VLAN settings you installed above.

  1. Remove the ACCESS VLAN setting from the physical NIC to prevent the NIC from auto-tagging the egress traffic with the incorrect VLAN ID.

    Removing this setting also prevents it from filtering ingress traffic that doesn't match the ACCESS VLAN ID.

  2. Confirm that the VlanID setting shows the VLAN ID value as zero.

Step 8. Create a Hyper-V vSwitch on your Hyper-V hosts

The following image depicts Hyper-V Host 1 with a vSwitch.

  1. Create an external Hyper-V vSwitch in Hyper-V on Hyper-V Host A.

    In this example, the switch is named VMSTEST. Also, the parameter AllowManagementOS creates a host vNIC that inherits the MAC and IP addresses of the physical NIC.

    Results:

    NameSwitchTypeNetAdapterInterfaceDescription
    VMSTESTExternalMellanox ConnectX-3 Pro Ethernet Adapter
  1. View the network adapter properties.

    Results:

    NameInterfaceDescriptionifIndexStatusMacAddressLinkSpeed
    vEthernet (VMSTEST)Hyper-V Virtual Ethernet Adapter #227UpE4-1D-2D-07-40-7140 Gbps
  1. Manage the host vNIC in one of two ways.

    • NetAdapter view operates based upon the 'vEthernet (VMSTEST)' name. Not all network adapter properties display in this view.
    • VMNetworkAdapter view drops the 'vEthernet' prefix and simply uses the vmswitch name. (Recommended)

    Results:

    NameIsManagementOsVMNameSwitchNameMacAddressStatusIPAddresses
    CORP-External-SwitchTrueCORP-External-Switch001B785768AA{Ok}
    VMSTESTTrueVMSTESTE41D2D074071{Ok}
  1. Test the connection.

    Results:

  2. Get link vip. Assign and view the network adapter VLAN settings.

    Results:

    VMNameVMNetworkAdapterNameModeVlanList
    VMSTESTAccess101
  1. Test the connection.

    It may take a few seconds to complete before you can successfully ping the other adapter.

    Results:

Step 9. Test Hyper-V Virtual Switch RDMA (Mode 2)

The following image depicts the current state of your Hyper-V hosts, including the vSwitch on Hyper-V Host 1.

  1. Set the priority tagging on the host vNIC.

    Results:

    Name: VMSTESTIeeePriorityTag : On

  2. View the network adapter RDMA information.

    Results:

    NameInterfaceDescriptionEnabled
    vEthernet (VMSTEST)Hyper-V Virtual Ethernet Adapter #2False

Note

If the parameter Enabled has the value False, it means that RDMA is not enabled.

Windows Server Vlan Tagging Download

Untagging
  1. View the network adapter information.

    Results:

    NameInterfaceDescriptionifIndexStatusMacAddressLinkSpeed
    vEthernet (VMSTEST)Hyper-V Virtual Ethernet Adapter #227UpE4-1D-2D-07-40-7140 Gbps
  1. Enable RDMA on the host vNIC.

    Results:

    Windows xp embedded posready 2009 support. Jan 29, 2019  Support for Windows Embedded Standard 2009 ended January 10, 2019. Support for Windows Embedded POSReady 2009 will end on April 9, 2019. Oct 15, 2009  With built-in networking capabilities and standards-based plug-and-play support, Windows Embedded POSReady 2009 makes it easy to connect POS devices to peripherals, servers, and services. Plus you can help reduce costs and security threats by customizing POSReady 2009 to use only the components required for your POS solution.

    NameInterfaceDescriptionEnabled
    vEthernet (VMSTEST)Hyper-V Virtual Ethernet Adapter #2True

Note

If the parameter Enabled has the value True, it means that RDMA is enabled.

  1. Perform RDMA traffic test.

The final line in this output, 'RDMA traffic test SUCCESSFUL: RDMA traffic was sent to 192.168.1.5,' shows that you have successfully configured Converged NIC on your adapter.

Related topics