CT320: Network and Systems Administration                 
The purpose of this assignment is to experiment with the setup of networking and network-based programs.                 
Make sure that your system has a manually configured IP address, as described in the configuration lab.                 
Make sure you can access the Internet and Domain Name Service (DNS) with these commands:                 
dig google.com
wget -qO- https://www.cs.colostate.edu/~ct320/alphabet.txt
If they don’t work, fix things.                 
Install the NFS server package:                 
sudo apt install nfs-kernel-server
/export and populate it with
several directories and files.
/etc/exports like this:
/export ip-address-of-neighbor(rw)
sudo systemctl restart nfs-server
/etc/exports line to look like this:
/export not-the-ip-address-of-neighbor(rw)
/import
export from their system to yours:
mount ip-address:/export /import
/etc/fstab to automate the mounting of your
neighbor’s exported file system.
sshd daemon is installed:
sudo apt install openssh-server
ssh command to gain access to the ct320 account
on your neighbor system and have them do the same.
ssh neighbor-ip-address hostname
exit.
ct320-1 to work.
scp command to copy files between the
systems, in each direction (push & pull).
/etc/ssh-warning that contains a message
telling users to behave themselves.
Banner directive in the sshd config file
to display /etc/ssh-warning to remote users,
restart sshd, and show that it works.
ssh access equivalent functionality to the NFS exercise in Part 3?
ssh access, without disabling the sshd daemon?
See https://askubuntu.com/questions/140126/how-do-i-install-and-configure-a-dhcp-server                 
This is a group exercise for the entire recitation.                 
sudo apt install isc-dhcp-server
/etc/default/isc-dhcp-server and set INTERFACES="eno0"
eno0, or sometimes eth0.
ip route command should show your
gateway and interface name.
192.168.110.85.
/etc/dhcp/dhcpd.conf
using # and edit the configuration file as follows:
subnet 192.168.110.0 netmask 255.255.255.0 {
range 192.168.110.85 192.168.110.99; #the range of IP addresses that will be assigned
option routers 192.168.110.1; #the default gateway
option domain-name-servers 129.82.45.181; #the DNS server
option subnet-mask 255.255.255.0;
}
sudo service isc-dhcp-server restart
Show your work to the TA for credit.                 
/etc/fstab to its state before the lab.
/etc/exports to its state before the lab.
sudo apt remove openssh-server nfs-kernel-server
User: Guest