OPS535 * Open System Clustering - Advanced Network Administration




OS Installation

  1. Physical Machine:
    • Host OS:
      • CentOS 7 or current version Fedora (64 bit version) with Virtualization Packages if you want to use your Laptop to do your labs and assignments. Please make sure the network hardware on your laptop is supported on CentOS/Fedora
      • CentOS 7 (64 bit version) with Virtualization packages if you want to use removable SATA hard disk on the Lab machines to do your labs and assignments.
      • Create separate partitions and attached to the following mount points:
        • /home - at least 40GB
        • /var/lib/libvirt/images - at least 100GB
        • /boot - at least 1GB
        • Swap - 8 GB or more
  2. Virtual Machines: (at least FOUR)
    • Minimum disk size: 5 GB
    • Guest OS: CentOS 7
    • Server packages: NFS, NIS, DNS, DHCP
    • Security Configuration: Enable firewall and SELinux
    • Identification and authorization: create a regular user account, please use your learn account as the user name

Network Setup

Keep the default virtual network ( with DHCP enable) and create another virtual network in isolated mode with the following attributes: In order to make it easier to establish communication between private virtual networks, we need to assign a static IP address (172.16.[x].1) to the physical network interface device on the host machine. However, we also want to keep the dynamic IP address obtained from the Lab's DHCP server so that we can access the Internet. We need to create an alise for the physical network device to hold the static IP. If the network device named is eth0, we can use eth0:0 as the alise for the physical network device name and assign the static IP address to it:
	/sbin/ifconfig eth0:0 172.16.[x].1  

Add Static Routes to other students' private virtual network

Pair up with another student (with IP address 192.168.[y].0 and yours 192.168.[x].0) in the class before attempting this task. Test with your partner your routing setup using the "ping" utility and add other static routes to all other students' private network in the lab.

Completing the Lab

  1. Collect the following information on your host and VM machines:
    • Host Computer:
      • Hard Disk Serial number (hdparm -I /dev/sda | grep "Serial Number")
      • NIC's MAC Address (/sbin/ifconfig -a | grep eth )
      • Kernel Routing Table (route -n or netstat -rn)
      • User Accounts (grep "/bin/bash" /etc/passwd)
      • IP Address(es) (ifconfig -a | grep inet)
      • Partition Table (fdisk -l /dev/sda)
      • Mounted Filesystem (mount)
      • Filesystem Usage summary (df -v and df -i)
      • Firewall settings (iptables -L -v -n)
      • SElinux settings (sestatus)
      • List of VMs (virsh list --all)
    • On each VM (VM1 - VM4):
      • Kernel Version (uname -a)
      • Virutal NIC's MAC Address
      • Kernel Routing Table
      • User Accounts
      • IP Address(es)
      • Partition Table
      • Mounted Filesystem
      • Filesystem Usage summary
      • Firewall settings
      • SELinux settings (sestatus)
    Capture the output of the recommended commands with the appropriate heading into a text file. Click here to view a sample report. Name the file as "[student_id]-lab1.txt" and upload it to blackboard before the report due date.
  2. Generate a public/private rsa key pair for SSH
    On you host machine and under your regular user account (your Seneca email ID) generate a public/private rsa key pair using ssh-keygen. Copy your public key to a file named "[student_id]-pub.txt" and upload it to blackboard. Keep the private key in a secure place. Also copy the public key to all your VMs so that you can SSH to each VM without password.
  3. ** Note: substitute [student_id] with your actually Seneca user name. **