eg-253:networkq:foxtrot
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
eg-253:networkq:foxtrot [2009/01/29 10:58] – maram | eg-253:networkq:foxtrot [2011/01/14 13:00] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
+ | ====== Network Configuration: | ||
+ | |||
+ | ^EG-253^Practical Internet Technology II ^ | ||
+ | |**Name** |Maram and Stephen| | ||
+ | |**Student Number** |387857 | | ||
+ | |**Date of Submission** |14th Octember 3330 | | ||
+ | |||
+ | ===== Instructions ===== | ||
+ | |||
+ | This wiki page allows you to record the results of your network configuration exercise. You may need to refer to the configuration handout to complete this document. | ||
+ | |||
+ | **Answer** all questions based on the host that you are configuring in the lab. Edit this wiki page directly to insert your answers. You will probably find this most convenient to do at the same time as you perform the configuration. Where requested, please include listings of the actual configuration files and command outputs directly in the document. Placeholders have been provided for this purpose. Please follow the formatting hints given in the text. | ||
+ | |||
+ | When the exercise is complete you should [[# | ||
+ | |||
+ | This exercise is worth 20% of the module marks. | ||
+ | |||
+ | ===== Host Configuration ===== | ||
+ | |||
+ | |||
+ | ==== Question 1 ==== | ||
+ | |||
+ | |||
+ | Which Linux command gives you information about your computer' | ||
+ | |||
+ | **Answer** (//delete as appropriate// | ||
+ | |||
+ | |||
+ | hostname | ||
+ | | ||
+ | |||
+ | |||
+ | ==== Question 2 ==== | ||
+ | |||
+ | Use the command selected in [[# | ||
+ | |||
+ | **Answer**: | ||
+ | |||
+ | |||
+ | | ||
+ | |||
+ | ==== Question 3 ==== | ||
+ | |||
+ | Which configuration file would you need to edit to change your computer' | ||
+ | |||
+ | Your answer (//one of//): | ||
+ | |||
+ | | ||
+ | |||
+ | / | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==== Question 4 ==== | ||
+ | |||
+ | Which linux command gives you information on your host's network settings? | ||
+ | |||
+ | **Answer** //one of//: | ||
+ | |||
+ | ifconfig | ||
+ | | ||
+ | | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==== Question 5 ==== | ||
+ | |||
+ | Use the command selected in [[# | ||
+ | ^ Feature ^ Value ^ | ||
+ | | My host's IP address | 192.168.3.3 | ||
+ | | My network' | ||
+ | | The address used by my host to send an IP packet to all hosts on my network | 192.168.3.255 | ||
+ | | The netmask of my host | 255.255.255.0 | ||
+ | | The hardware address (MAC Address) of my LAN-facing network interface connection (NIC)((If your host has two or more network cards, the LAN-facing card will be the NIC assigned to your host's static IP address.)) | 00: | ||
+ | | The frame-level (layer 1) protocol is used to send network messages to the network from my host? | Ethernet | | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==== Question 6 ==== | ||
+ | |||
+ | How many hosts can the sub-net defined by your host's netmask support? | ||
+ | |||
+ | **Answer** //one of//: | ||
+ | |||
+ | 254 | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==== Question 7 ==== | ||
+ | |||
+ | What class of network is the //sub-net// to which your host has been assigned? | ||
+ | |||
+ | **Answer** //one of//: | ||
+ | |||
+ | |||
+ | |||
+ | Class C | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== Network Configuration ===== | ||
+ | |||
+ | **Answer** the following questions about your network configuration. Please copy and paste the contents of the files identified in [[# | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==== Question 8 ==== | ||
+ | |||
+ | |||
+ | In which file is the configuration of your Network Interface Controller (NIC) configured? | ||
+ | |||
+ | **Answer** //one of//: | ||
+ | |||
+ | / | ||
+ | |||
+ | |||
+ | Please include a listing of the file chosen in answer to [[# | ||
+ | |||
+ | Copy contents of file and paste it as a listing here. | ||
+ | Include a minumum indent of two spaces per line. | ||
+ | |||
+ | iface lo inet loopback | ||
+ | auto lo | ||
+ | |||
+ | auto eth0 | ||
+ | iface eth0 inet static | ||
+ | address 192.168.3.3 | ||
+ | network 192.168.3.0 | ||
+ | netmask 255.255.255.0 | ||
+ | gateway 192.168.3.1 | ||
+ | |||
+ | |||
+ | |||
+ | ==== Question 9 ==== | ||
+ | |||
+ | What is the IP address of the host which serves as the default gateway for your network? | ||
+ | |||
+ | **Answer**: 192.168.3.1 | ||
+ | |||
+ | |||
+ | ==== Question 10 ==== | ||
+ | |||
+ | What is the hostname of the gateway interface? | ||
+ | |||
+ | **Answer**: | ||
+ | ==== Question 11 ==== | ||
+ | |||
+ | In which file is the symbolic names of the networks, hosts and interfaces available on the network defined? | ||
+ | |||
+ | **Answer** //one of//: | ||
+ | |||
+ | |||
+ | | ||
+ | /etc/hosts | ||
+ | | ||
+ | |||
+ | |||
+ | |||
+ | Please include a listing of the file chosen in answer to [[# | ||
+ | |||
+ | iface lo inet loopback | ||
+ | auto lo | ||
+ | |||
+ | auto eth0 | ||
+ | iface eth0 inet static | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | |||
+ | # /etc/hosts -- Hosts file for ICCT Private network | ||
+ | # | ||
+ | # IP FQDN aliases | ||
+ | # | ||
+ | # | ||
+ | 192.168.1.1 solaris.icct.com solaris inet-gateway | ||
+ | 192.168.1.2 venus.icct.com venus www | ||
+ | # | ||
+ | # Jupiter cluster | ||
+ | # | ||
+ | 192.168.1.3 gw-jupiter.icct.com gw-planets jupiter-if1 | ||
+ | 192.168.2.1 jupiter.icct.com jupiter jupiter-if2 | ||
+ | 192.168.2.2 callisto.jupiter.icct.com callisto | ||
+ | 192.168.2.3 europa.jupiter.icct.com europa | ||
+ | 192.168.2.4 ganymede.jupiter.icct.com ganumede | ||
+ | # | ||
+ | # Saturn cluster | ||
+ | # | ||
+ | 192.168.1.4 gw-saturn.icct.com gw-saturn saturn-if1 | ||
+ | 192.168.3.1 saturn.icct.com saturn saturn-if2 | ||
+ | 192.168.3.2 dione.saturn.icct.com dione | ||
+ | 192.168.3.3 tethys.saturn.icct.com tethys | ||
+ | 192.168.3.4 titan.saturn.icct.com titan | ||
+ | # | ||
+ | # Add other hosts/ | ||
+ | # (we'll use this to add virtual hosts to the web-server in a later | ||
+ | # lab exercise) | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | # The following lines are desirable for IPv6 capable hosts | ||
+ | ::1 ip6-localhost ip6-loopback | ||
+ | fe00::0 ip6-localnet | ||
+ | ff00::0 ip6-mcastprefix | ||
+ | ff02::1 ip6-allnodes | ||
+ | ff02::2 ip6-allrouters | ||
+ | ff0e2::3 ip6-allhosts | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==== Question 12 ==== | ||
+ | |||
+ | What is the symbolic name of your network' | ||
+ | |||
+ | **Answer**: gw-saturn.icct.com | ||
+ | |||
+ | ==== Question 13 ==== | ||
+ | |||
+ | What is the purpose of the Gateway interface? | ||
+ | |||
+ | **Answer**: | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==== Question 14 ==== | ||
+ | |||
+ | Which linux command shows the routing table for your host? | ||
+ | |||
+ | **Answer**: route | ||
+ | |||
+ | |||
+ | |||
+ | Run the command identified in [[# | ||
+ | |||
+ | **Answer** | ||
+ | |||
+ | <cli prompt=" | ||
+ | user@host: | ||
+ | |||
+ | Destination | ||
+ | saturn-net | ||
+ | link-local | ||
+ | default | ||
+ | |||
+ | </ | ||
+ | |||
+ | ==== Question 15 ==== | ||
+ | |||
+ | How many interfaces (NICs) must a router have? | ||
+ | |||
+ | **Answer** //one of//: | ||
+ | |||
+ | | ||
+ | | ||
+ | 2 | ||
+ | | ||
+ | |||
+ | ==== Question 16 ==== | ||
+ | |||
+ | Which system feature must be turned on if you want a Linux host to act as a router? | ||
+ | |||
+ | **Answer**: | ||
+ | ip forward | ||
+ | |||
+ | ==== Question 17 ==== | ||
+ | |||
+ | Which run-time command can be used to make a Ubuntu Linux host act as a router? | ||
+ | |||
+ | **Answer**: | ||
+ | set ip_forward=yes | ||
+ | |||
+ | ==== Question 18 ==== | ||
+ | |||
+ | In which file is the setting defined in [[# | ||
+ | |||
+ | **Answer**: icct@saturn:/ | ||
+ | |||
+ | |||
+ | |||
+ | Reproduce the contents of the file defined in [[# | ||
+ | |||
+ | **Answer** | ||
+ | ip_forward=yes | ||
+ | spoofprotect=yes | ||
+ | syncookies=no | ||
+ | |||
+ | ==== Question 19 ==== | ||
+ | |||
+ | What setting has been added to the network configuration file to define a route to '' | ||
+ | |||
+ | **Answer**: | ||
+ | |||
+ | address 192.168.3.3 | ||
+ | network 192.168.3.0 | ||
+ | netmask 255.255.255.0 | ||
+ | gateway 192.168.3.1 | ||
+ | # route to saturn-net | ||
+ | up route add -net 192.168.3.0 netmask 255.255.255.0 gw 192.168.1.3 | ||
+ | down route del -net 192.168.3.0 netmask 255.255.255.0 gw 192.168.1.3 | ||
+ | |||
+ | ===== Checking Your Network ===== | ||
+ | |||
+ | The Linux command '' | ||
+ | |||
+ | ==== Question 20 ==== | ||
+ | |||
+ | Give and explain the output of the command '' | ||
+ | |||
+ | **Answer** | ||
+ | <cli prompt=" | ||
+ | user@host: | ||
+ | user@host: | ||
+ | Kernel IP routing table | ||
+ | Destination | ||
+ | saturn-net | ||
+ | link-local | ||
+ | default | ||
+ | |||
+ | Add your explanation here. | ||
+ | |||
+ | |||
+ | ==== Question 21 ==== | ||
+ | |||
+ | Give and explain the output of the command '' | ||
+ | |||
+ | |||
+ | **Answer** | ||
+ | <cli prompt=" | ||
+ | user@host: | ||
+ | # Paste result here.... | ||
+ | </ | ||
+ | |||
+ | Add your explanation here. | ||
+ | |||
+ | |||
+ | ==== Question 22 ==== | ||
+ | |||
+ | Give and explain the output of the command '' | ||
+ | |||
+ | **Answer** | ||
+ | <cli prompt=" | ||
+ | user@host: | ||
+ | # Paste result here.... | ||
+ | </ | ||
+ | |||
+ | Add your explanation here. | ||
+ | |||
+ | ===== Testing the Connectivity of your network ===== | ||
+ | |||
+ | Install, if necessary, the // | ||
+ | |||
+ | ==== Question 23 ==== | ||
+ | |||
+ | Give the output of traceroute from your host to any host on one of the other ICCT networks. | ||
+ | |||
+ | **Answer** | ||
+ | <cli prompt=" | ||
+ | user@host: | ||
+ | user@host: | ||
+ | traceroute 192.168.3.2 | ||
+ | traceroute to 192.168.3.2 (192.168.3.2), | ||
+ | | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==== Question 24 ==== | ||
+ | |||
+ | Give the output of '' | ||
+ | |||
+ | **Answer** | ||
+ | <cli prompt=" | ||
+ | user@host: | ||
+ | traceroute to www.swan.ac.uk (137.44.1.7), | ||
+ | 1 saturn.icct.com (192.168.3.1) | ||
+ | </ | ||
+ | |||
+ | Explain the result. | ||
+ | |||
+ | ===== Extension Questions ===== | ||
+ | |||
+ | |||
+ | ==== Question 25 ==== | ||
+ | |||
+ | A new sub-network engineering-net ('' | ||
+ | |||
+ | **Answer** | ||
+ | |||
+ | ==== Question 26 ==== | ||
+ | |||
+ | Which other files would you need to modify to correctly set up this new router? | ||
+ | |||
+ | **Answer** | ||
+ | |||
+ | |||
+ | ==== Question 27 ==== | ||
+ | |||
+ | Summarize the changes that you would you need to make to your host's network configuration to have the new // | ||
+ | |||
+ | **Answer** | ||
+ | |||
+ | |||
+ | ==== Question 27 ==== | ||
+ | |||
+ | Which other files would you need to modify to fully configure your host to recognizes the new engineering sub-network? | ||
+ | |||
+ | **Answer** | ||
+ | |||
+ | |||
+ | ===== Signature ===== | ||
+ | |||
+ | |||
+ | I hereby submit this work for marking. | ||
+ | |||
+ | Your signature here: |
eg-253/networkq/foxtrot.txt · Last modified: 2011/01/14 13:00 by 127.0.0.1