How to create a VDS in VMware

The VMware vSphere Distributed Switch, also known as VDS, is probably one of the least understood parts of vSphere. Network teams typically hand off ownership of all things vSphere to the virtualization team (including virtual networking), and the virtualization team often knows just enough about the virtual switching environment to make things work. In this post, I hope to demystify some of the details around a VDS, and will explain how to create a VDS in vSphere 7.0.

If you get stuck or need to see VDS configuration- check out the TechBytes vSphere Networking Crash Course where you'll learn everything in this blog and a lot more about not only the VDS, but also the Standard Switch as well.

What is a VDS?

One of the biggest problems people make when learning about the VDS, is overcomplicating it. Let me put it really simply - a VDS is a virtual switch that spans multiple physical ESXi hosts. It's technically one switch, that is managed entirely in vCenter (and thus, vCenter is a requirement). It has uplinks (on each host) to the physical network. It also has things connected to it - in this case, Virtual Machines.

Take a look at the drawing below to see what a VDS looks like - but don't worry, we're going to discuss the components.

VDS Components

There's a few components that make up a VDS, let's take a look at some of them:

Distributed Switch (VDS)

This is the actual VDS itself. It is created in vCenter. Once created, we then have to "add hosts" to the VDS itself. If we don't, the hosts will not see any port groups created by the VDS.

Distributed Port Groups

VDS Uplinks

Configuring a VDS from Scratch: The process

The first thing you need to do before creating a VDS, is make sure you're licensed for the VDS, and that you have vCenter deployed with a couple of hosts (at least) in your inventory. By default, your hosts will have a standard switch (vSwitch0). For the purposes of lab testing, I recommend leaving vSwitch0 in place, and using additional uplinks per host for the VDS.

All you need to do to create the VDS is head to the Networking tab (looks like a globe), then right click on your datacenter - in our case, this is called Miami DC. From there, go to Distributed Switch > New Distributed Switch. You can take a look at what this should look like below:

Next, you need to give your new VDS a name. In our case, I left it to the default of DSwitch.

After that, you can "Next" through the Select Version page (leaving it to the default). After that, you'll have the ability to configure a couple of things. Take a look at the screenshot below, then I'll explain these settings: