Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Add vLAN to Windows KVM
New on LowEndTalk? Please Register and read our Community Rules.

Add vLAN to Windows KVM

Does anyone knows working tutorial about how to add vLAN to Windows Server on KVM guest?

Comments

  • ClouviderClouvider Member, Provider
    edited August 2018

    Add a new bridge with new vlan interface on the host node, add the second interface from that VM to a new bridge.

    Done.

    Clouvider Limited - Leading Hosting & Connectivity Partner || Dedicated Server Sale from £39/m - Our Latest LET Offer
    Cloud Web Hosting | SSD & SAS HA OnApp VPS | US, UK, NL & DE Dedicated Servers | Network Services | Colocation | Managed Services

  • Any real world examples on how to do that?

  • There's various tutorials which might translate over, finding one for Windows specifically is going to be a challenge - https://www.dedoimedo.com/computers/kvm-bridged.html

  • ClouviderClouvider Member, Provider
    edited August 2018

    The same way as you did the first bridge, it’s just another bridge, but instead of your Ethernet interface, you’re addding a vlan interface. There are hundreds tutorials on how to add a bridge, including specific tutorials/docs to your virtualisation software.

    Clouvider Limited - Leading Hosting & Connectivity Partner || Dedicated Server Sale from £39/m - Our Latest LET Offer
    Cloud Web Hosting | SSD & SAS HA OnApp VPS | US, UK, NL & DE Dedicated Servers | Network Services | Colocation | Managed Services

  • Clouvider said: The same way as you did the first bridge, it’s just another bridge, but instead of your Ethernet interface

    That part is easy, but part on Windows VPS is not that clear... I have added virtio-net NIC and set vLAN ID on that NIC. Is that enough?

  • ClouviderClouvider Member, Provider

    @LTniger said:

    Clouvider said: The same way as you did the first bridge, it’s just another bridge, but instead of your Ethernet interface

    That part is easy, but part on Windows VPS is not that clear... I have added virtio-net NIC and set vLAN ID on that NIC. Is that enough?

    You don't need to set vlan id within Windows, as the new NIC is already bridged to the particular VLAN (tagging of the frames happens on the VLAN interface on the host node), so you should simply set the IP address on Windows iface and it should work out of the box, assuming the new VM nic is bridged with a vlan interface on the host node. :)

    Thanked by 1LTniger

    Clouvider Limited - Leading Hosting & Connectivity Partner || Dedicated Server Sale from £39/m - Our Latest LET Offer
    Cloud Web Hosting | SSD & SAS HA OnApp VPS | US, UK, NL & DE Dedicated Servers | Network Services | Colocation | Managed Services

Sign In or Register to comment.