SI455 Advanced Computer Networking. Lab2: Adding DNS and Email Servers (v1.0) Due 6 Feb by start of class



Similar documents
Building a Penetration Testing Virtual Computer Laboratory

Linux Terminal Server Project

Create a virtual machine at your assigned virtual server. Use the following specs

Comodo MyDLP Software Version 2.0. Installation Guide Guide Version Comodo Security Solutions 1255 Broad Street Clifton, NJ 07013

Local DNS Attack Lab. 1 Lab Overview. 2 Lab Environment. SEED Labs Local DNS Attack Lab 1

Configuring your network settings to use Google Public DNS

CSIS 3230 Computer Networking Principles, Spring 2012 Lab 7 Domain Name System (DNS)

Acano solution. Virtualized Deployment R1.1 Installation Guide. Acano. February B

Procedure to Create and Duplicate Master LiveUSB Stick

HP SDN VM and Ubuntu Setup

Workshop on Scientific Applications for the Internet of Things (IoT) March

Dell Proximity Printing Solution. Installation Guide

Plexxi Control Installation Guide Release 2.1.0

netkit lab Università degli Studi Roma Tre Dipartimento di Informatica e Automazione Computer Networks Research Group Version 1.

How to Create, Setup, and Configure an Ubuntu Router with a Transparent Proxy.

walkthrough Università degli Studi Roma Tre Dipartimento di Informatica e Automazione Computer Networks Research Group Version 1.

Connections and wiring Diagram

ISERink Installation Guide

RealPresence Platform Director

How to Configure an Initial Installation of the VMware ESXi Hypervisor

ITIS 2110 Lab 11: Domain Name Server. Tyler Everhart 11/12/2010

Installing and Using the vnios Trial

INUVIKA TECHNICAL GUIDE

INUVIKA OVD VIRTUAL DESKTOP ENTERPRISE

Rally Installation Guide

Using VirtualBox ACHOTL1 Virtual Machines

Install and configure a Debian based UniFi controller

Configuring Ubuntu Server as a Firewall and Reverse Proxy for OWA 2007 Configuration Guide

HOWTO: Set up a Vyatta device with ThreatSTOP in router mode

WEBTITAN CLOUD. User Identification Guide BLOCK WEB THREATS BOOST PRODUCTIVITY REDUCE LIABILITIES

Setup Cisco Call Manager on VMware

DNS and Interface User Guide

Virtual machine W4M- Galaxy: Installation guide

Operating System Installation Guidelines

It should be noted that the installer will delete any existing partitions on your disk in order to install the software required to use BLËSK.

VM-Series Firewall Deployment Tech Note PAN-OS 5.0

Quick Start Guide for Parallels Virtuozzo

Setting up a Raspberry Pi as a WiFi access point

VMware vcenter Support Assistant 5.1.1

Field Installation Guide

CDH installation & Application Test Report

WatchGuard Dimension v1.1 Update 1 Release Notes

Server Configuration and Deployment (part 1) Lotus Foundations Essentials

HOWTO: Set up a Vyatta device with ThreatSTOP in bridge mode

How To Set Up A Network Map In Linux On A Ubuntu 2.5 (Amd64) On A Raspberry Mobi) On An Ubuntu (Amd66) On Ubuntu 4.5 On A Windows Box

DNS Pharming Attack Lab

Talk-101 User Guide. DNSGate

Quick Start Guide for VMware and Windows 7

NetBoot/SUS Server User Guide. Version 2.0

OnCommand Performance Manager 1.1

Using Webmin and Bind9 to Setup DNS Sever on Linux

A Beginner's Guide to Setting Up A Web Hosting System (Or, the design and implementation of a system for the worldwide distribution of pictures of

INASP: Effective Network Management Workshops

Remote DNS Cache Poisoning Attack Lab

Quick Start Guide. Citrix XenServer Hypervisor. Server Mode (Single-Interface Deployment) Before You Begin SUMMARY OF TASKS

Virtual Appliance for VMware Server. Getting Started Guide. Revision Warning and Disclaimer

SOA Software API Gateway Appliance 7.1.x Administration Guide

Private Cloud in Educational Institutions: An Implementation using UEC

Addonics T E C H N O L O G I E S. NAS Adapter. Model: NASU Key Features

Virtual Appliance Setup Guide

Pexip Reverse Proxy and TURN Server Deployment Guide

Cisco Prime Collaboration Deployment Administration Guide, Release 10.5(1)

HTG XROADS NETWORKS. Network Appliance How To Guide: DNS Delegation. How To Guide

Modern snoop lab lite version

Thinspace deskcloud. Quick Start Guide

HP CloudSystem Enterprise

Installing Windows Rights Management Services with Service Pack 2 Step-by- Step Guide

bigbluebutton Open Source Web Conferencing

Virtual Server Installation Manual April 8, 2014 Version 1.8

Cloud.com CloudStack Community Edition 2.1 Beta Installation Guide

PHD Virtual Backup for Hyper-V

ECT362 Installing Linux Virtual Machine in KL322

Ulteo Open Virtual Desktop Installation

F-Secure Internet Gatekeeper Virtual Appliance

How To Install Project Photon On Vsphere 5.5 & 6.0 (Vmware Vspher) With Docker (Virtual) On Linux (Amd64) On A Ubuntu Vspheon Vspheres 5.4

DNS. Computer Networks. Seminar 12

VMware vsphere 5 Quick Start Guide

The SSL device also supports the 64-bit Internet Explorer with new ActiveX loaders for Assessment, Abolishment, and the Access Client.

DNS + DHCP. Michael Tsai 2015/04/27

Required Virtual Interface Maps to... mgmt0. virtual network = mgmt0 wan0. virtual network = wan0 mgmt1. network adapter not connected lan0

EMC Data Domain Management Center

BaseManager & BACnet Manager VM Server Configuration Guide

ODP REGIONAL NODE DEPLOYMENT QUICK GUIDE FOR TRAININGS

How to Add Domains and DNS Records

Getting Started with Database Provisioning

Configuring PA Firewalls for a Layer 3 Deployment

SETTING UP ACTIVE DIRECTORY (AD) ON WINDOWS 2008 FOR EROOM

FortiAnalyzer VM (VMware) Install Guide

How to Install Multicraft on a VPS or Dedicated Server (Ubuntu bit)

POD INSTALLATION AND CONFIGURATION GUIDE. EMC CIS Series 1

Foglight. Foglight for Virtualization, Enterprise Edition 7.2. Virtual Appliance Installation and Setup Guide

Virtual Web Appliance Setup Guide

Raspberry Pi Android Projects. Raspberry Pi Android Projects. Gökhan Kurt. Create exciting projects by connecting Raspberry Pi to your Android phone

Technical Note. vsphere Deployment Worksheet on page 2. Express Configuration on page 3. Single VLAN Configuration on page 5

Local Caching Servers (LCS) February 2015

Evaluating the Balabit Shell Control Box

Adafruit's Raspberry Pi Lesson 3. Network Setup

603: Enhancing mobile device experience with NetScaler MobileStream Hands-on Lab Exercise Guide

NetBoot/SUS Appliance User Guide. Version 1.0

Deploy the ExtraHop Discover Appliance with Hyper-V

Transcription:

SI455 Advanced Computer Networking Lab2: Adding DNS and Email Servers (v1.0) Due 6 Feb by start of class WHAT TO HAND IN: 1. Completed checklist from the last page of this document 2. 2-4 page write-up for Task 4. By now you should be familiar with how to create a virtual Linux server, upload it into the hypervisor, and connect it to your group s network. In this lab, you will follow instructions to set up a DNS server. You will then set up a mail server and a mail client with (almost) no help from your instructor. Goals: By the end of this lab, each student should be able to 1. install and configure the bind DNS server (with instructions) 2. select, install, and configure an email server (without instructions) 3. configure an email client to use the mail server (without instructions) 4. be able to explain goals 2 & 3 clearly to a novice network administrator Task 1: Install and configure a DNS server This task will walk you through your group s DNS server. Two group members can work on this together while the other two start the email server in Task 2. We will be using the "bind" program as a DNS server. This walkthrough follows the online instructions here: https://help.ubuntu.com/12.04/serverguide/dns-installation.html We are going to use the same version of Ubuntu that we used for the user workstations, except we are not going to load a windows manager. You have already done these steps multiple times, so much of this should be familiar. 1. Build a new VM for your server. a. Create a VM on your local lab machine. Use the Ubuntu Server 32-bit ISO that you previously downloaded. i. While you are creating the VM, use owner for the login name, and select a password that the entire group will know. ii. Name the machine your team s color plus the word dns (e.g. reddns/greendns/bluedns/purpledns) iii. Set your max disk size to 5.0GB. 1

2. Install packages the VM. a. sudo apt-get install openssh-server b. sudo apt-get install bind9 c. sudo apt-get install dnsutils d. sudo apt-get clean e. NOTE do NOT install the LXDE window manager 3. Upload the dnsserver to carol. a. Use the vcenter Standalone Converter to upload the VM. b. Ensure that the server is stored in DataStore1 and is connected to your group s private switch. 4. Set the dnsserver s IP address. We are going to use a static address of 10.10.1.15. a. Select the dnsserver in vsphere and log into it. b. cd /etc/network/ c. sudo nano interfaces d. We are going to add a new line to the interfaces file that will tell the OS where to find a DNS server. We will start using this new line with all machines that use static IP addresses. Edit the interfaces file to look like the following: auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 10.10.1.15 netmask 255.255.255.0 dns-nameservers 10.10.1.15 NOTE Adding the dnsnameservers line now will allow us to test the DNS server while we are configuring it. This is the IP address where nslookup and ping will try to resolve a URL into an IP address. e. Press Ctrl-o to save f. Press Ctrl-x to exit nano g. Run sudo /etc/init.d/networking restart to apply these changes. h. Run ifconfig to check that eth0 is online. i. Ping one of the other machines in the network to verify that the server is online. j. Reboot the dns server. Sometimes when switching from a dynamic to a static IP address, the OS will continue to contact the DHCP server for a new IP after the original leasetime expires. (Default time is 10 minutes) Rebooting is the easiest way around that bug. There are three basic configurations for a DNS server. We will be configuring ours as Primary 2

Master servers for our own group domains. (e.g. grey.com, red.com, blue.com, etc.) 5. Add a DNS zone. Do the following in a shell in your DNS server a. Determine your Fully Qualified Domain Name (FQDN). Your group s FQDN will be your color +.com (e.g. grey.com, red.com, etc.) b. Everywhere you see the word color inserted into a file below, substitute your own group s color instead. c. Add your zone name to your server s list of managed zones: i. cd /etc/bind/ ii. sudo nano named.conf.local iii. Delete all of the lines in the file and insert these lines in their place: zone "color.com" { type master; file "/etc/bind/db.color.com"; }; iv. Save the file and exit nano. d. Create a zone file: i. Use an existing file as a template: sudo cp db.local db.color.com ii. Edit the zone file (db.color.com, substituting you own group s color.) iii. Change the word localhost to your FQDN. Be sure to leave the trailing periods where applicable. iv. Add entries for your group s web server and future mail server. The file should look like the below entry when complete: ; ; BIND data file for color.com ; $TTL 604800 @ IN SOA color.com. root.color.com. ( Note that every time you edit this configuration file, you must increment the Serial value by 1. This lets the DNS server know whether it is seeing the most recent version. If you do not do this, then the server will ignore your changes. 2 ; Serial increment EVERY edit 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 604800 ) ; Negative Cache TTL ; @ IN NS ns.color.com. ; DNS server @ IN MX 1 mail.color.com ; mail server www IN A 10.10.1.10 ; web server ns IN A 10.10.1.15 ; DNS server mail IN A 10.10.1.20 ; mail server 3

6. Start the DNS server. a. Run sudo /etc/init.d/bind9 restart 7. Test the DNS server. a. The following ping command should find your webserver: ping www.color.com b. The following commands should return the appropriate IP addresses: nslookup www.color.com nslookup mail.color.com nslookup mail.color.com 8. Tell the rest of the network about the DNS server. a. Machines with static IP addresses get the location of the DNS server hard-wired into the interfaces file. Do the following on each of your group s servers: i. Edit the /etc/network/interfaces file to add the following line under the eth0 block: dns-nameservers 10.10.1.15 ii. Run sudo /etc/init.d/networking restart iii. Run nslookup www.color.com to test iv. Run ping ns.color.com to test b. Machines with dynamic IP addresses get the location of the DNS server from the DHCP server. Do the following on your DHCP server: i. Edit the /etc/dhcp/dhcpd.conf file to add the following line just after the leasetime block: option domain-name-servers 10.10.1.15; ii. Run sudo service isc-dhcp-server restart iii. Your workstations are all running dynamic addresses. They contact the DHCP server intermittently to get updates. The time defaults to once every 10 minutes. (As set by the default-lease value in your DHCP server s /etc/dhcp/dhcpd.conf file.) If you wait for this time to be up, then the workstations will all be able to use ping or nslookup to find www.color.com. If you are impatient, you can manually restart networking on the workstations, or reboot them and they should recognize the DNS server immediately. 4

Task 2: Select, install and configure an email server You are on your own to figure out how to do this. Here are the three pieces of advice I will give you: 1. I highly recommend starting with Ubuntu s official server guide as a reference: https://help.ubuntu.com/lts/serverguide/ 2. Try searching Google for: ubuntu 12.04 email server 3. That search will yield lots of webpages with advice. Figure out which ones seem like legitimate Ubuntu help groups and which are companies/individuals trying to push their own product. Stick with the former. You will need to select your own email server. There are many available. Read about a few and pick one. Install the email server onto a Ubuntu 12.04 server VM on your local machine. Upload the VM to your network and configure the mail server there. If it does not work for you delete it and pick another. The email server must: allow you to send mail between members of your group be capable of sending mail to other groups once we add routers between the networks run on the same Ubuntu 12.04 Server OS that we have been using have a static IP address of 10.10.1.20 not have a GUI do not load LXDE onto it have a DNS entry that gives a result like this: mail.color.com, where color is replaced with your group s domain name. Task 3: Configure an email client You must have an application on each workstation for the users to read their mail. If you use a web-based email server, then you can use your existing browser. You installed the thunderbird email client on your workstations. There are probably other clients built-in to some of the Linux utilities if you want to look for them. Each student must have their own email account and be able to access it from at least their own workstation. The email client must be capable of sending email to another student in your group. This step is complete when each student is able to both send and receive mail with other group members from their own workstation. 5

Task 4: Explain tasks 2 & 3 above to a novice network administrator You followed a carefully-scripted set of instructions for each server that you set up prior to the email server. You have figured out the email server on your own now it is your turn to write instructions for somebody else to follow. Using the format from Task1 above as a template, your group needs to generate a complete set of instructions for installing your chosen email server and configuring an email client to use it. Expect this to be 2-4 pages long. In the first step of your write-up, assume that the user has already downloaded the Ubuntu Server ISO and knows how to create a basic VM out of it. Begin your explanation in the same place as Task 1 above. Focus on the instructions for the email server & client. Do not worry about too many details with VMplayer, VMware Converter, or the vsphere Client. Assume that your reader generally understand how to use them. The write-up should walk the user all the way through a. Creating and configuring the email server b. Configuring the email client c. Creating two users in the email client and sending mail between them For grading I will be following your instructions step-by-step to install your email server and client in my own network. You get full marks if I am able to send an email between two accounts by following your instructions. 6

Names: Section: Team color: SI455 Computer Networking Lab 2 Checklist Hand in this sheet attached to your write-up from Task 4. Be prepared to demonstrate your functioning network as well. Fill in the table below to verify that you have successfully built your network. Column(2) enter the IP address as reported by ifconfig, on the eth0 interface. Column(3) Run nslookup mail.color.com from a terminal in each of the machines identified in Column 1. Put a YES in the box if the command returns successfully. Column(4) Run ping ns.color.com from a terminal in each of the machines identified in Column 1. Put a YES in the box if the command returns successfully. Column(5) Open a browser and enter http://www.color.com in the URL bar. Verify that you are able to surf to your own webpage. If the page is successfully retrieved, put a YES in the box. Column(6) Verify that each workstation is able to send email to a different student on a different workstation. (Do not send mail to your own account.) If the email is successfully transmitted then put a YES in the box. (1) Machine Name Workstation1 Workstation2 Workstation3 Workstation4 Web server DHCP server DNS server Mail server (2) IP Address (3) nslookup successfully (4) ping successfully (5) retrieve www.color.com from browser (6) Send mail to student on another workstation 7