EG-253 | Practical Internet Technology II |
---|---|
Name | A. Student |
Student Number | 123456 |
Date of Submission | 14th Octember 3330 |
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 sign and submit it in for marking. Deadline for completion is the start of the lab on the last week of this term.
This exercise is worth 20% of the module marks.
Which Linux command gives you information about your computer's name on the network?
Answer (delete as appropriate):
prompt hostname sudo echo
Use the command selected in Question 1 to determine your host computer's name? What is the name?
Answer:
Which configuration file would you need to edit to change your computer's name on the network?
Your answer (one of):
/etc/host /etc/hosts /etc/hostname /etc/networks
Which linux command gives you information on your host's network settings?
Answer one of:
ipconfig ifconfig iface hostname
Use the command selected in Question 4 to complete the following table:
Feature | Value |
---|---|
My host's IP address | Answer |
My network's IP address | Answer |
The address used by my host to send an IP packet to all hosts on my network | Answer |
The netmask of my host | Answer |
The hardware address (MAC Address) of my LAN-facing network interface connection (NIC)1) | Answer |
The frame-level (layer 1) protocol is used to send network messages to the network from my host? | Answer |
How many hosts can the sub-net defined by your host's netmask support?
Answer one of:
254 256 65534 65536
What class of network is the sub-net to which your host has been assigned?
Answer one of:
Class A Class B Class C Class D
Answer the following questions about your network configuration. Please copy and paste the contents of the files identified in Questions 8 and 11 to your submission.
In which file is the configuration of your Network Interface Controller (NIC) configured?
Answer one of:
/etc/hosts /etc/hostname /etc/networks/interfaces /etc/networks/options
Please include a listing of the file chosen in answer to Question 8:
Copy contents of file and paste it as a listing here. Include a minumum indent of two spaces per line. Like this.
What is the IP address of the host which serves as the default gateway for your network?
Answer:
What is the hostname of the gateway interface?
Answer:
In which file is the symbolic names of the networks, hosts and interfaces available on the network defined?
Answer one of:
/etc/hosts /etc/hostname /etc/networks/interfaces /etc/networks/options
Please include a listing of the file chosen in answer to Question 11:
Copy contents of file and paste it as a listing here. Include a minumum indent of two spaces per line. Like this.
What is the symbolic name of your network's gateway interface?
Answer:
What is the purpose of the Gateway interface?
Answer:
Which linux command shows the routing table for your host?
Answer:
Run the command identified in Question 14 and reproduce its output here.
Answer
<cli prompt=“$” comment=“#”> user@host:~$ command # Copy command and its output and paste it here. </cli>
How many interfaces (NICs) must a router have?
Answer one of:
1 1 or 2 2 3 3 or more
Which system feature must be turned on if you want a Linux host to act as a router?
Answer:
Which run-time command can be used to make a Ubuntu Linux host act as a router?
Answer:
In which file is the setting defined in Question 17 set if you want a Ubuntu host to be configured as a router at boot-time?
Answer:
Reproduce the contents of the file defined in Question 17 to make a Ubuntu host into a router?
Answer
Copy contents of file and paste it as a listing here. Include a minumum indent of two spaces per line. Like this.
What setting has been added to the network configuration file to define a route to icct-net
from your sub-network's cluster-server?
Answer:
Copy contents of file and paste it as a listing here. Include a minumum indent of two spaces per line. Like this.
The Linux command netstat
gives a lot of useful information on your network. In the following 3 questions, reproduce the output of various usages of netstat. You should annotate your results with a brief explanation of what they mean. You may need to print the output and attach to the submission.
Give and explain the output of the command netstat -r
.
Answer <cli prompt=“$” comment=“#”> user@host:~$ netstat -r # Paste result here…. </cli>
Add your explanation here.
Give and explain the output of the command netstat -i
.
Answer <cli prompt=“$” comment=“#”> user@host:~$ netstat -r # Paste result here…. </cli>
Add your explanation here.
Give and explain the output of the command netstat -ta
.
Answer <cli prompt=“$” comment=“#”> user@host:~$ netstat -r # Paste result here…. </cli>
Add your explanation here.
Install, if necessary, the traceroute command then answer the following two questions.
Give the output of traceroute from your host to any host on one of the other ICCT networks.
Answer <cli prompt=“$” comment=“#”> user@host:~$ command # paste output here </cli>
Give the output of traceroute
from your host to www.swan.ac.uk
Answer <cli prompt=“$” comment=“#”> user@host:~$ command # paste output here </cli>
Explain the result.
A new sub-network engineering-net (192.168.10.0/24
) is to be added to the ICCT network. Host engineering (192.168.10.1/32
) is a cluster server for this new network. Give the settings needed to set up this host as a router to icct-net
, jupiter-net
, and saturn-net
and a gateway for engineering-net
.
Answer
Which other files would you need to modify to correctly set up this new router?
Answer
Summarize the changes that you would you need to make to your host's network configuration to have the new engineering sub-network recognized?
Answer
Which other files would you need to modify to fully configure your host to recognizes the new engineering sub-network?
Answer
I hereby submit this work for marking.
Your signature here: