Assuming that the Ubuntu server has Internet access and is able to reach any other resources without issues, you will need to do the following to get your lab network online:
- configure eth1 on the Ubuntu server with an IP address in a different subnet than the one eth0 is connected to
- configure iptables on the Ubuntu server to perform NAT on outgoing traffic from the lab network
- configure all lab PCs with static IP addresses, or (preferably) install and configure a DHCP service on the Ubuntu server
The lab PCs will be using the Ubuntu server as a gateway. They will need to use whatever DNS server the Ubuntu server is using (look in
/etc/resolv.conf on the server for clues).
If you don't really know how IP routing works, you will need to look up some tutorials or HowTos, or get some assistance.