0% found this document useful (0 votes)
31 views19 pages

Vsphere ICM7 Lab 09

Uploaded by

carlo
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)
31 views19 pages

Vsphere ICM7 Lab 09

Uploaded by

carlo
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
You are on page 1/ 19

VMWARE VSPHERE 7.

0:
INSTALL, CONFIGURE, MANAGE

Lab 09: Using Standard Switches


Document Version: 2020-11-04

Copyright © 2020 Network Development Group, Inc.


www.netdevgroup.com

NETLAB+ is a registered trademark of Network Development Group, Inc.

VMware is a registered trademark of VMware, Inc.


Lab 09: Using Standard Switches

Contents
Introduction ........................................................................................................................ 3
Objectives............................................................................................................................ 3
Lab Topology....................................................................................................................... 4
Lab Settings ......................................................................................................................... 5
1 View the Standard Switch Configuration.................................................................... 6
2 Create a Standard Switch with a Virtual Machine Port Group ................................. 10
3 Attach Your Virtual Machines to the New Virtual Machine Port Group .................. 15

11/6/2020 Copyright © 2020 Network Development Group, Inc. www.netdevgroup.com Page 2


Lab 09: Using Standard Switches

Introduction

In this lab, you will create a standard switch and port group.

Objectives

 View the standard switch configuration


 Create a standard switch with a virtual machine port group
 Attach Virtual Machines to the virtual machine port group

11/6/2020 Copyright © 2020 Network Development Group, Inc. www.netdevgroup.com Page 3


Lab 09: Using Standard Switches

Lab Topology

11/6/2020 Copyright © 2020 Network Development Group, Inc. www.netdevgroup.com Page 4


Lab 09: Using Standard Switches

Lab Settings

The information in the table below will be needed in order to complete the lab. The
task sections below provide details on the use of this information.

Virtual Machine IP Address Account Password

sa-esxi-01 eth0: 172.20.10.51 root Train1ng$

sa-esxi-02 eth0: 172.20.10.52 root Train1ng$

sa-aio eth0: 172.20.10.10 sysadmin vmware123

sa-student eth0: 172.20.10.80 sysadmin vmware123

sa-vcsa eth0: 172.20.10.94 [email protected] vmware123

11/6/2020 Copyright © 2020 Network Development Group, Inc. www.netdevgroup.com Page 5


Lab 09: Using Standard Switches

1 View the Standard Switch Configuration

In this task, you will view the VMware vSphere standard switch settings to ensure the
proper configuration of the default switch.

1. Launch the sa-student virtual machine to access the graphical login screen.

To launch the console window for a virtual machine, you may access by
either clicking on the machine’s graphic image from the topology page
or by clicking on the machine’s respective tab from the navigation bar.

2. Log in as sysadmin using the password vmware123.

3. Launch the Mozilla Firefox web browser by either clicking on the icon shortcut
found on the bottom toolbar or by navigating to Start Menu > Internet > Firefox
Web Browser.

11/6/2020 Copyright © 2020 Network Development Group, Inc. www.netdevgroup.com Page 6


Lab 09: Using Standard Switches

4. Notice the homepage is automatically configured to load the URL address of the
VMware vCenter Server Appliance (sa-vcsa virtual machine). Click on the LAUNCH
VSPHERE CLIENT (HTML5) button to launch the vSphere Client.

If you cannot successfully load the VMware Getting Started webpage,


then please wait an additional 3-5 minutes and refresh the page to
continue. During this time, the vCenter Server Appliance is still
booting up and requires extra time to initialize.

5. In the Username text field, type [email protected] and in the Password text
field, type vmware123. Click on LOGIN.

You may ignore the “browser-OS combination” warning message


presented on the VMware vCenter Single Sign-On page and continue
moving forward with the lab.

11/6/2020 Copyright © 2020 Network Development Group, Inc. www.netdevgroup.com Page 7


Lab 09: Using Standard Switches

6. Ensure that you are on the Hosts and Clusters tab in the navigator pane. Expand the
Datacenter inventory object, select sa-esxi-01.vclass.local, followed by clicking on
the Configure tab in the main workspace.

7. In the main workspace, in the middle pane, select Virtual switches.

11/6/2020 Copyright © 2020 Network Development Group, Inc. www.netdevgroup.com Page 8


Lab 09: Using Standard Switches

8. In the Virtual switches pane, ensure that Standard Switch: vSwitch0 is selected and
review the information for the virtual switch. Notice the name for the default
standard switch, the physical adapter that the standard switch is connected to,
which network your virtual machines are connected to, along with which networks
are connected to the default standard switch.

9. Leave the vSphere Client open and continue to the next task.

11/6/2020 Copyright © 2020 Network Development Group, Inc. www.netdevgroup.com Page 9


Lab 09: Using Standard Switches

2 Create a Standard Switch with a Virtual Machine Port Group

In this task, you will create a virtual machine port group on a standard switch, which
handles network traffic at the host level in your vSphere environment.

1. While in the vSphere Client, in the main workspace, click on Add Networking.

2. In the Add Networking window, on the Select connection type step, select the radio
button for Virtual Machine Port Group for a Standard Switch and click Next.

11/6/2020 Copyright © 2020 Network Development Group, Inc. www.netdevgroup.com Page 10


Lab 09: Using Standard Switches

3. On the Select target device step, select the radio button for the New standard
switch and click Next.

4. On the Create a Standard Switch step, click the Add adapters icon (the green plus
icon).

11/6/2020 Copyright © 2020 Network Development Group, Inc. www.netdevgroup.com Page 11


Lab 09: Using Standard Switches

5. In the Add Physical Adapters to the Switch window, select vmnic1 for the virtual
switch and click OK.

6. Review the information for the new active adapter and click Next.

11/6/2020 Copyright © 2020 Network Development Group, Inc. www.netdevgroup.com Page 12


Lab 09: Using Standard Switches

7. On the Connection settings step, enter Production in the Network label text box and
click Next.

8. On the Ready to complete step, verify that the information is accurate and click
Finish.

9. In the Virtual switches pane, click on Standard Switch: vSwitch1 to expand the view.
Notice the Production group appears, and it has the Physical Adapter of vmnic1.

11/6/2020 Copyright © 2020 Network Development Group, Inc. www.netdevgroup.com Page 13


Lab 09: Using Standard Switches

10. Repeat Task 2 for your second ESXi host (sa-esxi-02.vclass.local).


11. Leave the vSphere Client open to continue with the next task.

11/6/2020 Copyright © 2020 Network Development Group, Inc. www.netdevgroup.com Page 14


Lab 09: Using Standard Switches

3 Attach Your Virtual Machines to the New Virtual Machine Port Group

In this task, you will attach two virtual machines to a virtual switch port group so that
the virtual machines can communicate with other networked devices.

1. While in the vSphere Client, click the Menu and select VMs and Templates.

2. In the navigator pane, expand the Datacenter object. Right-click Linux-01 and select
Edit Settings.

11/6/2020 Copyright © 2020 Network Development Group, Inc. www.netdevgroup.com Page 15


Lab 09: Using Standard Switches

3. In the Edit Settings window, click the dropdown menu for the Network adapter 1
and select Browse.

4. In the Select Network window, select the Production network and click OK.

11/6/2020 Copyright © 2020 Network Development Group, Inc. www.netdevgroup.com Page 16


Lab 09: Using Standard Switches

5. Expand the view for Network adapter 1 by clicking the arrow and verify that the
Connect At Power On checkbox is selected. Click OK to save the configurations.

6. Power on the machine by right-clicking on Linux-01 from the navigator pane and
selecting Power > Power On.

11/6/2020 Copyright © 2020 Network Development Group, Inc. www.netdevgroup.com Page 17


Lab 09: Using Standard Switches

7. Right-click on Linux-01 and select Open Remote Console.

8. Log in to the virtual machine as sysadmin with the password of vmware123.

9. Open the terminal by selecting Applications and clicking on Terminal Emulator.

11/6/2020 Copyright © 2020 Network Development Group, Inc. www.netdevgroup.com Page 18


Lab 09: Using Standard Switches

10. At the prompt, enter the command below and verify the IP address is set to
172.20.11.21.

Linux-01:~$ ifconfig

11. Ping the default gateway IP address of 172.20.11.10 (sa-aio) by entering the
command below at the command prompt.

Linux-01:~$ ping -c4 172.20.11.10

12. Notice the successful pings where Linux-01 can now communicate with sa-AIO.
Repeat Task 3 for the Linux-02 virtual machine and verify the IP address is
172.20.11.22. Once you have verified the IP address, ping the default gateway.
13. As an extra step, confirm that both Linux-01 and Linux-02 virtual machines can
communicate with each other on the Production network by using the ping
command.
14. The lab is now complete; you may end the reservation.

11/6/2020 Copyright © 2020 Network Development Group, Inc. www.netdevgroup.com Page 19

You might also like