#!/bin/bash

. /usr/local/lib/labtool.shlib || echo 'Error: labtool.shlib not found!'
trap on_exit EXIT

INSTRUCTOR=192.168.1.254

check_host "server"

echo -n "* Testing network configuration... "

if ping -c2 $INSTRUCTOR &>/dev/null
then
    echo "PASS"
else
    echo "FAIL"
    echo
    echo "Unable to access the new network."
fi

exit
