Syllabus for CIS 620, Fall 2012 Network Administration

advertisement
Syllabus for CIS 620, Fall 2012
Network Administration and Maintenance using
Windows and Linux
Subject to change; due dates are approximate until the assignment is posted.
Lecture Topic
Aug 28
Sep 04
Introduction, Linux and
Windows Primer
Windows history, Linux
History, Network Basics
Linux Initialization; Shells and
Scripts
Network Basics cont’d
Out Sick No class
Linux File Systems, DNS
Sick Leave
Sick Leave
Sick Leave
Sick Leave
Unix and Linux
Administration
Assignments
Handbook / Windows
Server 2008 R2
Ch 1; Ch1
Ch 1, Ch 5, Ch 14
A0
Ch’s 2-3
A0 due, A1
Ch 14;
N/A
Ch’s 6-7, 17-19
A1 due, A2
A2 due
A3, A4
A5
A6
A7
A8
Nov 06 Network Routing
Ch’s 14-16
A9
13 Advanced Network Design
Network Management, Design,
20
Configuration
Network Configuration, UnixWindows Network
27
troubleshooting and
interoperability
Dec 04 Out Sick No class
11 Wrap-up; Summary
Online Topics
A9 due; A10
Online Topics
A10 due, A11
Ch 21, 30
A11 due, Take Home
11
18
25
Oct 02
09
16
23
30
N/A
Final Project Due
Ch 27, Online Topics Take Home Due
Instructor Information
Name: Don Cochrane
Web Site: https://blackboard.unh.edu/bbcswebdav/users/dac2
Email: doncochrane@metrocast.net or dac2@unh.edu
Phone numbers
-------------------------Cell: 603-781-6972
Home: 603-664-7890
Grading:
-----------------------------Semester Take Home Exam: 25%
Semester Final Project: 25%
Class Participation: 10%
Assignments (12; 4 pts each): 40-48%
Grade Policy
Assignments must be submitted as email attachments where appropriate. Assignments are
graded as binary. Best effort will be awarded 100%. Otherwise 0% will be awarded. The
mid-term semester exam will be in take-home format. It may be emailed or handed in by
the due date. Assignments/exams must be turned in by the due date to receive credit.
Semester Project
A project involving UNIX/LINUX and/or Windows Systems Administration or topics
involving Computer Networking/Network Administration. The project should be
submitted in one of two formats:
(1) Written project. This project should be a minimum of 3 typed double spaced
10/12 pt font pages (approximately 1500 words). Additional Illustrations/graphics
(pictures) are a plus.
(2) Programming assignment (Perl, python, bash, etc…). The project code should be
submitted along with a README file (text, .pdf, or .doc format) of instructions
containing the project/program explanation, tests run, and limitations/issues
found.
Note: All reference sources used should be listed in bibliographic format.
Reading List

UNIX and LINUX System Administration Handbook Fourth Edition Prentice
Hall, 2011 (Required)


ISBN-10: 0-13-148005-7
ISBN-13: 978-0-13-148005-6
Windows Server 2008 R2 Unleashed, SAMS 2010 (Recommended)
ISBN-10: 0-672-33092-X
ISBN 13: 978-0-672-33092-6
The Practice of System and Network Administration Second Edition Addison
Wesley (Recommended)
ISBN-10: 0-321-49266-8 / ISBN 13: 978-0-321-49266-1
 Computer Networking: A Top-Down Approach Sixth Edition AddisonWesley (Recommended)
ISBN-10: 0132856204
ISBN-13: 978013285201
Selected Readings/Assignments

Week 1
Unix command line
Linux Kernel
Unix/Linux Gnu/Free SW
Windows Server 2008 Primer

Week 2
Microsoft History
Linux process control
Ch 5 of Unix and Linux System Administration
Intro to IP
Ch 14 of Unix and Linux System Administration, first few sections
Wireshark packet sniffer tool.
Assignment 0:
(A) Install Linux on your PC (in a VM environment/dual boot/etc… if you do not
already have dual boot setup I suggest using a VM environment VMPlayer is
free). See Ch 1 Unix and Linux System Administration for installation
information. Document your install results.
(B) Install Wireshark (www.wireshark.org). Capture some data.
While running packet capture, run the following applications:
Surf the web,
Run a video over the Internet, (redsox.com; youtube; etc…)
Transfer a file over the Internet,
Run Pandora
Send an email
Examine some of the packets captured while performing the applications.
Distinguish layer 2 (Link) layer 3 (Network) and layer 4 (Application) parts of the
packet.
Document your results.
See Ch 14 of Unix and Linux System Administration, first few sections for
Network detail.

Week 3
(1) Reviewed topics from Chapters 2 and 3 of UNIX and Linux System
Administration to include Shells and Scripting, Unix/Linux Boot Sequence
and the importance of syslog message files and dmesg (kernel device
message).
(2) Reviewed the basic use of shell environments and bash scripting (including
the in class lab which consisted of creating a “hello world” using bash),
examined the Perl and Python languages. The blackboard document library
has many good Perl and Python references.
Assignment 1:
(a) Load Windows Server 2008 R2 onto your system. Examine the features
you can enable.
(b) Go over both the Perl and Python introduction information at either the
websites listed above or from Unix and Linux Systems Administration
Chapter 2. Become familiar with these languages.
(c) The following are based on a couple problems from Ch 2 in Unix and
Linux Systems Administration:
i.
Find an undocumented script (bash or perl) that’s used in your
Linux environment. Read it and make sure you understand it.
Explain its function.
ii.
Refine the following Perl get_string example to accept only
integers. It should accept three parameters: the prompt string, a
lower limit on the acceptable integers, and an upper limit on the
acceptable integers.
-------------------perl program------------------#!/usr/bin/perl
$maxatt = 3; # Maximum tries to supply valid input
sub get_string {
my ($prompt, $response) = shift;
# Try to read input up to $maxatt times
for (my $attempts = 0; $attempts < $maxatt; $attempts++) {
print "Please try again.\n" if $attempts;
print "$prompt: ";
$response = readline(*STDIN);
chomp($response);
return $response if $response;
}
die "Too many failed input attempts";
}
# Get names with get_string and convert to uppercase
$fname = uc get_string "First name";
$lname = uc get_string "Last name";
printf "Whole name: $fname $lname\n";
-----------------------------------end perl program----------------------------

Week 4
(1) Class: Network Basics
a. Ethernet Physical Layer
b. Ethernet Frame
c. Link Layer -> Unix and Linux System Administration Handbook
Sections 14.1 – 14.10
d. Network Layer -> Unix and Linux System Administration Handbook
Sections 14.1 – 14.10
e. Application Layer -> Unix and Linux System Administration
Handbook Sections 14.1 – 14.10
(2) Class: Admin Details
a. Windows 2008 Server R2 VM details:
i. Enable the UNH VPN
ii. Use Remote Desktop to access your VM server:
1. User name: Student
2. Password: Admin1
VM0 - 132.177.189.233 -> Don C
VM1 - 132.177.191.24 -> Client VM
VM2 - 132.177.189.235 -> Scott A
VM3 - 132.177.191.28 -> William C
VM4 - 132.177.190.60 -> Joseph G
VM5 - 132.177.188.27 -> Damir I
VM6 - 132.177.191.29 -> Michael M
VM7 - 132.177.188.30 -> Brandon M
VM8 - 132.177.190.29 -> Justin M
VM9 - 132.177.190.41 -> Ryan M
VM10 - 132.177.190.54 -> Paskale O
VM11 - 132.177.190.59 -> Eben P
VM12 - 132.177.190.61 -> Nicholas R
VM13 - 132.177.190.64 -> Jonathon S
VM14 - 132.177.190.68 -> Thomas T
VM15 - 132.177.190.78 -> Ramon W
VM16 - 132.177.190.91 -> Cedric W
iii. Ensure you can access the VM correctly.
b. MSDN Access
i. Access the site: http://e5.onthehub.com/d.ashx?s=63z3liy7g0
ii. Username: unhmcis
iii. Password: CISpandora
iv. You can download Windows Server 2008 R2 Datacenter 64 bit
w/ SP1 and Visio Pro 2010 w/ SP1 from the “Your Account”
link.
(3) Assignment 2
a. Download, install and run the tutorial for: OPNET IT GURU
Academic version. The following getting started file helps to explains
how to do this:
https://blackboard.unh.edu/bbcswebdav/users/dac2/lab0_OPNET_IT_
GURU_install_tutorial.pdf
After completion of the tutorial, answer the questions at the end of the
file. Note: It may take some time to obtain a user name and password
from OPNET. You should do this as soon as possible. The user name
and password should also work for running the classroom installation.
 Week 5
Out Sick Assignment 3 was a freebie since I did not send an assignment out.

Week 6
Went over Ch’s 6/7/17/18/19 from Unix and Linux Systems Administration
Handbook
Assignment 4:
From material we covered from Unix and Linux System Administration Handbook
(1)
Ch 6 File commands
a) Set the permissions on the file README to read/write for the owner
and read for everyone else.
b) Turn on a file’s setuid bit without changing (or knowing) the current
permissions.
c) List the contents of the current directory, sorting by modification
time and listing the most recently modified file last.
(2)
Ch 7 Adding new users
a) Explain the differences among the following umask values: 077, 027,
022, and 755. How would you set one of these values as a site-wide default
for new users? Can you impose a umask standard on your users?
b) List the steps needed to add a user to a Linux system without using useradd.
What extra steps are needed for your local environment?
(3)
Ch 17 DNS
a)
What machine is your local name server?
b)
Run dig and drill (you made need to download this) to resolve the name
www.admin.com, assuming that no information
about this domain is cached anywhere in DNS?

Weeks 7 – 10
Professor out on sick leave

Week 11
(1) Went over some good Microsoft Active Directory links:
a. Windows 2008 R2 Survival Guide
https://blackboard.unh.edu/bbcswebdav/users/dac2/WindowsServerSur
vivalGuideFinal.pdf
b. Windows Server 2008 TechCenter
http://go.microsoft.com/fwlink/?LinkID=86041
c. Windows Server 2008 TechNet Virtual Labs
http://go.microsoft.com/fwlink/?LinkId=90855
d. Windows Server 2008 R2 Troubleshooting
http://go.microsoft.com/fwlink/?LinkId=149120
(2) Went over Ch’s 14 – 15 from Unix and Linux System Administration
Handbook
Assignment 9:
(1) Run the Active Directory Virtual Lab, Windows Server 2008 R2:
What's New in Active Directory:
https://cmg.vlabcenter.com/default.aspx?moduleid=27b950a5-665f4584-a3d2-75ba4dea983f
(2) Run the OPNET training labs:
a. http://www.eng.tau.ac.il/~netlab/resources/booklet/lab6.pdf
b. http://www.eng.tau.ac.il/~netlab/resources/booklet/lab7.pdf
c. http://www.eng.tau.ac.il/~netlab/resources/booklet/lab8.pdf
(3) Record your results/observations.

Week 12
(1) Went over Advanced Network Concepts
a. Inter/Intra – Net Routing protocols (RIP/OSPF/BGP) (Ch 4 Computer
Networking: A Top-Down Approach)
https://blackboard.unh.edu/bbcswebdav/users/dac2/Chapter_4_V6.0.p
pt
b. IPv6, VLANs, MPLS, AE (Ch 5 Computer Networking: A Top-Down
Approach)
https://blackboard.unh.edu/bbcswebdav/users/dac2/Chapter_5_V6.01.
ppt
c. QOS ( Cisco Systems NANOG 2006 (http://www.nanog.org/) QOS
Primer presentation
d. Network Security (Ch 1 & 8 Computer Networking: A Top-Down
Approach)
https://blackboard.unh.edu/bbcswebdav/users/dac2/Chapter_1_V6.1.p
pt
&
https://blackboard.unh.edu/bbcswebdav/users/dac2/Chapter_8_V6.0.p
pt
(2) Assignment 10 (perform the following OPNET labs and write down/submit
your observations):
a. QOS
i. http://www.eng.tau.ac.il/~netlab/resources/booklet/lab9.pdf
ii. http://www.eng.tau.ac.il/~netlab/resources/booklet/lab10.pdf
b. Security
i. http://www.eng.tau.ac.il/~netlab/resources/booklet/lab11.pdf
ii. http://www.opnet.com/university_program/teaching_with_opn
et/textbooks_and_materials/itg_panko.html (Lab 6: Evaluating
Firewall Policies to Manage Network Traffic)

Week 13 Network Design, Management and Configuration
(1) Went over some basic network design concepts:
a. What Network features does your customer need?
b. What equipment will be required to support your customer?
c. Layout a diagram including the Network equipment and any
interconnections required
d. Calculate equipment/wiring/installation cost, power, cooling
e. Also of importance may be more detailed documentation:
i. Device details:
1. Name/vendor/part number/serial number/rack
location/L2 – L3 device address
(2) Went over MS Visio 2010 basic setup and configurations:
a. Basic Network diagram: http://office.microsoft.com/en-us/visiohelp/create-a-basic-network-diagram-HP001207578.aspx?CTT=3
b. Detailed Network diagram using External data:
http://office.microsoft.com/en-us/visio-help/create-a-detailednetwork-diagram-by-using-external-data-in-visio-professionalHP001211093.aspx?CTT=3
c. Rack Diagram: http://office.microsoft.com/en-us/visio-help/createa-rack-diagram-HP001211095.aspx?CTT=3
(3)
(4)
(5)
(6)
d. Importing Data to Visio: http://office.microsoft.com/en-us/visiohelp/import-data-from-excel-sql-server-sharepoint-sites-and-otherexternal-sources-HA010048783.aspx?CTT=3
Went over SNMP Management
a. UIX and Linux Systems Administration Sections 21.9-21.12
b. MIB Browser from DeskCentric (formerly iReasoning Networks):
http://ireasoning.com/mibbrowser.shtml
c. O’Reilly excerpt on SNMP:
http://oreilly.com/perl/excerpts/system-admin-with-perl/twentyminute-snmp-tutorial.html
d. Went over some of the aspects of RFC 1213, the TCP/IP Internet
STD MIB: http://www.ietf.org/rfc/rfc1213.txt
Went over some basic Juniper Router configurations:
Juniper Router Configuration
a. J-Web http://www.juniper.net/us/en/productsservices/software/network-management-software/j-web/
b. SRX100H:
i. SRX Datasheet:
http://www.juniper.net/us/en/local/pdf/datasheets/1000281en.pdf
ii. SRX100H Configuration Examples:
http://kb.juniper.net/InfoCenter/index?page=content&id=K
B15694
Assignment 11
a. Follow steps 1a – 1c above and create the various Visio Network
diagrams. Include the outputs in the assignment.
b. Download a MIB Browser (one location would be:
http://ireasoning.com/download.shtml ) and add SNMP support to
either your computer, smartphone device (if you have one
available), or any other device where you can activate an SNMP
Agent on, or one that has an SNMP Agent activated by default
(some home Cable/DSL modems or attached routers may have and
SNMP API supported in them).
c. Do SNMP Get for the following fields for all the interfaces on your
platform (for instance my Samsung Galaxy II smartphone has 20
interface instances) from the:
SNMP MIB RFC 1213 http://www.ietf.org/rfc/rfc1213.txt
i. RFC 1213 MIB-II Fields:
1. system -> sysDescr
2. interfaces -> ifEntry -> ifDescr
3. interfaces -> ifEntry -> ifType
4. interfaces -> ifEntry -> ifPhyAddress
5. interfaces -> ifEntry -> ifInOctets
6. interfaces -> ifEntry -> ifOutOctets
7. interfaces -> ifEntry -> ifInErrors
d. Adding/enabling SNMP to your PC:
1. Control Panel -> Programs -> Turn Windows
Features On/Off -> Enable Simple Network
Management Protocol
2. Control Panel -> System and Security ->
Administrative Tools -> Services -> SNMP Service
-> Properties -> Security -> Add
a. Community name = public
b. Community rights = READ WRITE
e. Adding/enabling SNMP to an Android smartphone:
1. Load a free SNMP Agent application, such as:
SNMP AGENT 4A
2. SNMP AGENT 4A activation:
a. SNMP AGENT 4A -> Agent ACL Control
b. Allow Host = *
c. Read Community = public
d. Write Community = public
3. SNMP AGENT 4A use:
a. For the Address type in w.x.y.z:9002 (where
w.x.y.z is the wi-fi IP address assigned to
your cell phone) for the address being
b. Ensure the Community read/write values are
set for public
c. Ensure the port the SNMP MIB Browser
looks for is 9002.
Semester Take Home Exam
https://blackboard.unh.edu/bbcswebdav/users/dac2/cs620_fall_2012.docx
Download