Milestone 1 ‐ ESXi and Basic Networking - jacobwilliams100/sys-350 GitHub Wiki

ESXi Installation and Setup

First, make sure your baremetal unit is on, and ethernet is plugged into the IPMI port. This is necessary for access. While you are at it, connect ethernet cable from port 0 (bottom left) to gateway.

PXL_20240906_225211679

Access the SuperMicro management GUI via web browser using your assigned IPMI address. Your login credentials should have been emailed to you.

image

Make sure a bootable ESXI USB is plugged into your server's USB port, then access the unit's CLI under Remote Control->iKVM/HTML5

image

image

image

Restart + Use F11 to boot into USB

image

Installation is fairly intuitive.

image

image

image

Install on the smallest drive if you have multiple.

image

image

Don't forget your password! It will be irrecoverable and you will have to start over!

image

image

image

Like the warning says, take the bootable USB out before you reboot into your new installation!

image

image

image

Configure your static IP (ESXi tab on assingment sheet) and DNS (192.168.4.4, 192.168.4.5) and default gateway (192.168.3.250) and DNS suffix (cyber.local)

image

image

image

image

Restart and Test management network to make sure its working.

image

Now that installation is complete, we can access the server via VMWare ESXi Host Client.

The username will be "root" if you used the default, use the password you entered earlier.

image

image

Configuring Datastores

Rename the datastores to the format "datastoreX-superY" where X is the datastore number and Y is your super#.

image

image

Open datastore browser and create a new "isos" directory

image

Upload the .isos for Xubuntu and pfsense to the isos folder

image

VSwitch Configuration

Now we will create a vswitch called 350-internal.

Default settings, no uplink necessary

image

Add associated Port Group

image

pfSense Firewall (part 1)

We will create a new VM for this

image

Needs EXSi 6.5 and FreeBSD 64-Bit

image

  • 2GB RAM

  • 8 GB Storage (THIN!)

  • 2 NICS (VM Network and 350-Internal)

  • For CD/DVD Choose Datastore ISO File and pick the pfSense ISO from the isos folder in the datastore.

image

image

You should be able to start installation. Defaults are fine.

image

image

image

image

image

You only need to worry about options 1 and 2 for now.

Turn off IPV6 and DHCP, we don't need them for now.

em0/vx0 is WAN (external), IP address is on class assignment sheet, don't forget /24 on end for 255.255.255.0 subnet

gateway is 192.168.3.250

em1/vx1 is LAN (internal), IP address should be 10.0.17.2/24

image

image

Now take a snapshot for good measure!

image

We will come back to this after we set up mgmt1.

LAN Management Workstation (mgmt1)

Similar steps to pfsense VM, except it is Ubuntu-based this time.

NOTE: I accidentally named this "ubuntu" initially. It should be called mgmt1. It doesn't really matter but for the sake of consistency, this should be named mgmt1.

image

Specs:

  • 2 CPUS
  • 5GB RAM
  • 30GB storage (thin provisioned)
  • Place on "VM Network" for now

image

For Boot Device, choose the Xubuntu iso from the isos folder of the datastore.

image

Make sure to enable minimal installation.

image

Make a generic account

image

Installation might take a while (20-30m in my experience) so feel free to work on something else for a bit.

When installation is complete, restart but don't forget to remove the virtual installation media

image

Now is a good time to grab an initial snapshot

image

Now move xubuntu from VM Network to 350-internal

image

Go into Xubuntu and configure the following network settings using CLI or GUI:

  • IP Address of 10.0.17.100/24

  • Gateway is 10.0.17.2 (this is fw01)

  • DNS is 1.1.1.1

You should be able to ping 10.0.17.2 as well as the internet.

image

pfSense Firewall (part 2)

Still within fw01/Xubuntu, open firefox and navigate to 10.0.17.2 and log in with default credentials

username: admin

password: pfsense

image

Change the password for good measure

image

We will use the pfsense setup wizard to finish configuring this

image

Page 1 settings:

Hostname: pfX, where X is your super number

Domain: yourname.local

Primary DNS Server: 1.1.1.1

image

Uncheck Unblock RFC1918 Private Networks (page 4)

image

Everything else default.

image

Deliverables

Deliverable 1: Screenshot showing successful login to your ESXi host with IP in screenshot (address bar)

image

Deliverable 2: Screenshot showing your two datastores, where the second one has a directory of two iso files

(only one datastore because only one phsycal storage installed on super19)

image

Deliverable 3: Screenshot showing your virtual switch and associated port group

image

image

Deliverable 4: Screenshot from your mgmt1 box showing your 10.0.17.0/24 address as well as your successful ping to an internet host

image

Reflection:

This lab was kind of tough but I figured everything out in the end. I did not encounter any massive issues, but I encountered smaller ones at basically every step. I was able to solve them all by asking my classmates and instructor for help, or by doing simple web searches. I am entering this course un familiar with the subject matter, so I made some very simple mistakes like not realizing the IPMI port was separate from the NICs, and not knowing the difference between the ESXi web client and the vSphere web client. However, I felt confident configuring the systems I was familiar with, such as pfSense and Xubuntu, where I encountered comparatively fewer issues. For me, this assignment was a crash course in working with baremetal server hardware, ESXi and VSphere; I learned so much from doing it, and I feel more confident going into the next Milestone.