facebooktwitteryoutube
Home About Contact VCP Virtual Home Lab VCP6 Study Guide VCAP-DCV Deploy Study guide
in blueprint - 05 Jun, 2016
by mordi - no comments
VCAP-DCV Deploy Objective 3.1

We are now in the third section of the blueprint , this section is the Networking part and in the following posts we are going to discuss how we Deploy and Manage a vSphere 6.x Network Infrastructure

We are going to discuss the following objective from the blueprint :

  • Create and manage vSS components according to a deployment plan:
    • VMkernel ports on standard switches
    • Advanced vSS settings
  • Configure TCP/IP stack on a host
  • Create a custom TCP/IP stack
  • Configure and analyze vSS settings using command line tools

Lab Setup:

Using VMware workstation:

  • Microsoft Servers 2012R2 for Services (DNS , DHCP, etc…)
  • installed esx0
  • Installed VCSA

 Documents used:

  • vSphere 6 Networking Guide

Create and manage vSS components according to a deployment plan:

To create vSS via the GUI click on the Host >>Manage>>Networking>> Virtual switches>>Add host networking icon

Select Virtual Machine Port Group for a Standard Switch:

VCAP_VSS1

You can choose any option but i will start with the port Group

VCAP_VSS2

Select New standard Switch

VCAP_VSS3

add the vmnic

VCAP_VSS4

Label the network

VCAP_VSS5

Results:

VCAP_VSS6

VMkernel ports on standard switches:

Now lets add VMkernel port for the newly created switch (vSwitch1)

Click on Add host networking icon and choose VMKenel Network Adapter

VCAP_VSS7

Select the switch (vSwitch1)

VCAP_VSS8

Label the VMkernel

VCAP_VSS9

Configure IP for the VMkernel

VCAP_VSS10

Results:

VCAP_VSS11

Advanced vSS settings:

To configure vSS settings: click on the vSwitch and then click pencil icon you will be able to configure the followings:

  • MTU
  • Security settings (Promiscuous mode , MAC address changes and Forged transmit)
  • Traffic shaping
  • Teaming and failover

VCAP_VSS12

 

Configure TCP/IP stack on a host:

You can change the DNS and default gateway configuration of a TCP/IP stack on a host. You can also change the congestion control algorithm, the maximum number of connections, and the name of custom TCP/IP stacks

Click on the host >> Manage>>Networking>> TCP/IP configuration

tcpipstack1

 

Create a custom TCP/IP stack:

To create a custom stack we will need to use the CLI and than we can edit it via the GUI.

Run the following command to create new stack :  esxcli network ip netstack add -N=”stack_name” ( In the pic below i created a test stack)

custom_stack1custom_stack2

Configure and analyze vSS settings using command line tools:

Now lets have some fun with the CLI. in this section we will cover the following task:

  • Retrieving Basic Networking Information

 

Retrieving Basic Networking Information:

To get information about your interfaces  run: esxcli network ip interface list

VSS1_CLI

To get information about your VMkernel IP configuration run: esxcli network ip interface ipv4 get 

VSS3_CLI

To get information about the connection to the host (something like Linux netstat) run: esxcli network ip connection list

VSS2_CLI

To list your virtual Switches and their configuration run: esxcli network vswitch standard list

VSS4_CLI

To list the network policy settings (security policy, traffic shaping policy, and failover policy) run the following commands:

  • esxcli network vswitch standard policy failover get -v vSwitch0
  • esxcli network vswitch standard policy security  get -v vSwitch0
  • esxcli network vswitch standard policy shaping get -v vSwitch0

VSS5_CLI

 

Creating and configuring vSS using the CLI.

here are the steps we are going to perform:

  • List the existing switches: esxcli network vswitch standard list
  • Create vSwitch : esxcli network vswitch standard add –vswitch-name=vcap_deploy –ports=10
  • Create PortGroup : esxcli network vswitch standard portgroup add –portgroup-name=TestDev –vswitch-name=vcap_deploy
  • Assign Uplink: esxcli network vswitch standard uplink add –uplink-name=vmnic1 –vswitch-name=vcap_deploy
  • Connect the portgroup to vmnic : esxcli network vswitch standard portgroup policy failover set –active-uplinks=vmnic1 –portgroup-name=TestDev
  • Config VMkernel:  esxcli network ip interface add –interface-name=vmk1 –portgroup-name=TestDev
  • Config : esxcli network ip interface ipv4 set -t static –ipv4=10.10.10.1 –netmask=255.255.255.0 –interface-name=vmk1
  • Config MTU: esxcli network vswitch standard set –mtu=9000 –vswitch-name=vcap_deploy
  • Config CDP: esxcli network vswitch standard set –cdp-status=listen –vswitch-name=vcap_deploy
  • list the switches: esxcli network vswitch standard list

NewVSSCLI1

and the GUI view:

NewVSSCLI2

 

Thanks for reading

Mordi.

 

 

 

Leave a Reply