Vsphere ICM7 Lab 09
Vsphere ICM7 Lab 09
0:
INSTALL, CONFIGURE, MANAGE
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
Introduction
In this lab, you will create a standard switch and port group.
Objectives
Lab Topology
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.
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.
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.
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.
5. In the Username text field, type [email protected] and in the Password text
field, type vmware123. Click on LOGIN.
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.
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.
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.
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).
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.
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.
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.
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.
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.
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.
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.