Professional Documents
Culture Documents
Fall 2011
Introduction to Networking
Lab 6
The following exercise deal with more commands for a Network Administrator. Start at the Command Prompt to complete this exercise. Use the Standard Windows 7 O/S (Real Machine) Run the command: ipconfig /help What is the purpose of the renew switch? Run the command: Find the section: ipconfig Ethernet adapter Local Area Connection:
What is the IP address assigned to the computer? ____________________ What is the subnet mask? ____________________ What is the Default Gateway address? ____________________
Run the command: ipconfig /all Find the section: Ethernet adapter Local Area Connection: What is the MAC address (Physical address)? ____________________ What is the Host Name (if any)? ____________________ What is the DHCP Servers address? ____________________ When was the lease obtained? ____________________ When will the lease expire? ____________________ What is the Ethernet Adapterdescription? ____________________ What is the subnet mask for SLC? ____________________ This step will deal with the ping command. Start a command prompt and complete the following: Run the command: Example: ping /help ping www.facebook.com
Run the following ping commands and record the information. Ping IP address www.myspace.com ______________________ www.apple.com ______________________ www.facebook.com ______________________ www.harvard.edu ______________________ www.mit.edu ______________________ www.abc.com ______________________ www.ox.ac.uk ______________________ What result do you receive when you ping an invalid name like
1
COMP 203
Fall 2011
Introduction to Networking
_______________________
Lab 6
Xzy.abc.com
Ping three (3) sites that you use on a regular bases, record the name and the IP address of each of these sites Name IP Address ________________________ _________________________ ________________________ _________________________ ________________________ _________________________
Class Addresses:
IPv4 addressing has different class addresses, list all classes 1. _________ 2. _________ 3. _________ 4. _________ 5. _________
Explain the term PBX (Private Branch Exchange) List two companies that produce PBXs _______________________________ _______________________________
Please Note: before starting this exercise stop at ask your professor to verify that Perl has been installed on your computer.
2
COMP 203
Fall 2011
Introduction to Networking
Lab 6
PERL
PERL is a very popular scripting language that can be used in just about any operating system. What do the letters in the acronym PERL represent? In the production Windows system perform the following:
_______________________________
Use Notepad to write a small PERL script to print your name on the screen Perl is case sensitive Perl has syntax very similar to C++ for example use semicolons to end lines
Example
Name this lab6.pl, the file extension in Windows must be .pl Change my name in the above example to your name Make sure you are pointing to the correct drive letter where you stored your program To run the script from command prompt enter: perl lab6.pl Verified: _______
Example Test your script and when finished demo this with your professor.