0% found this document useful (0 votes)
34 views4 pages

Distributed Switch

The document outlines the steps for creating and managing a vSphere Distributed Switch (VDS) for consistent networking across a 4-node ESXi cluster, including adding hosts, creating port groups, and configuring port mirroring. It provides detailed use cases for network segregation by VLAN, redundancy, and traffic monitoring. Additionally, it includes optional PowerCLI commands for automation and a summary of real-world use cases for VDS components.

Uploaded by

mcparunkumar2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views4 pages

Distributed Switch

The document outlines the steps for creating and managing a vSphere Distributed Switch (VDS) for consistent networking across a 4-node ESXi cluster, including adding hosts, creating port groups, and configuring port mirroring. It provides detailed use cases for network segregation by VLAN, redundancy, and traffic monitoring. Additionally, it includes optional PowerCLI commands for automation and a summary of real-world use cases for VDS components.

Uploaded by

mcparunkumar2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

vSphere Distributed Switch (VDS) Networking Concepts

1. Create vSphere Distributed Switch (VDS)

Use Case: Company wants consistent networking across a 4-node ESXi cluster for VM traffic, vMotion, and storage.

Steps:

1. Go to Networking > Datacenter > Create New Distributed Switch

2. Name: VDS-Prod

3. Version: 8.0.0

4. Uplinks: 2

5. Enable Network I/O Control: Yes

6. Finish

2. Add Hosts to Distributed Switch

Use Case: Add 4 ESXi hosts to the new switch with vmnic0 and vmnic1 for redundancy.

Steps:

1. Right-click VDS > Add and Manage Hosts

2. Assign vmnic0 -> uplink1, vmnic1 -> uplink2

3. Optionally migrate VMkernel NICs

4. Finish

3. Create a Distributed Port Group

Use Case: Separate VM networks by VLAN:

- VLAN 10 - Web

- VLAN 20 - App

- VLAN 30 - DB

Steps:

1. Right-click VDS > New Distributed Port Group

2. Name: DPG-Web

3. VLAN ID: 10
vSphere Distributed Switch (VDS) Networking Concepts

4. Finish

4. Assign VM to Port Group

Use Case: Connect VM to the correct VLAN/DPG for network segregation.

Steps:

1. Edit VM Settings > Network adapter > DPG-Web

2. Save and Power on VM

5. Configure Port Mirroring (SPAN)

Use Case: Mirror web traffic from VM to a security analyzer like Suricata.

Steps:

1. VDS > Configure > Port Mirroring > Add Distributed Port Mirroring

2. Name: WebTrafficMonitor

3. Source: VM or DPG (e.g., DPG-Web)

4. Destination: Analyzer VM NIC

5. Finish

6. PowerCLI Commands (Optional)

Create VDS:

New-VDSwitch -Name "VDS-Prod" -Location "Datacenter" -NumUplinks 2 -Version "8.0.0"

Create Port Group:

New-VDPortgroup -VDSwitch "VDS-Prod" -Name "DPG-Web" -VlanId 10

Assign VM to Port Group:

Get-VM "Web-VM1" | Get-NetworkAdapter | Set-NetworkAdapter -PortGroup "DPG-Web"

7. Real-World Use Case Summary


vSphere Distributed Switch (VDS) Networking Concepts

| Component | Use Case | Example |

|------------------|----------------------------------|------------------------------|

| VDS | Centralized management | One switch across all hosts |

| Port Group | Isolate networks by VLAN | Web/App/DB |

| Port Mirroring | Troubleshooting/Security | IDS, sniffers |

| VMkernel via VDS | vMotion, iSCSI, Mgmt | DRS and HA setup |

| NIC Teaming | High availability | Active/Active or Standby |

| Network I/O Ctrl | Bandwidth control | Prioritize vMotion |


vSphere Distributed Switch (VDS) Networking Concepts

vSphere Distributed Switch - Networking Diagram

You might also like