eg-253:networkq:575509
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
eg-253:networkq:575509 [2011/12/09 15:08] – [Question 17] marwa | eg-253:networkq:575509 [2012/05/14 10:41] (current) – [Question 8] eechris | ||
---|---|---|---|
Line 6: | Line 6: | ||
|**Name** |Marwa Al Moosawi | | |**Name** |Marwa Al Moosawi | | ||
|**Student Number** |575509 | | |**Student Number** |575509 | | ||
- | |**Date of Submission** | | | + | |**Date of Submission** |9/ |
===== Instructions ===== | ===== Instructions ===== | ||
Line 122: | Line 122: | ||
GNU nano 2.2.2 File: / | GNU nano 2.2.2 File: / | ||
- | + | | |
- | + | iface eth0 inet static | |
- | auto eth0 | + | address 192.168.2.5 |
- | + | network 192.168.2.0 | |
- | + | netmask 255.255.255.0 | |
- | iface eth0 inet static | + | gateway 192.168.2.1 |
- | + | ||
- | + | ||
- | address 192.168.2.5 | + | |
- | + | ||
- | + | ||
- | network 192.168.2.0 | + | |
- | + | ||
- | + | ||
- | netmask 255.255.255.0 | + | |
- | + | ||
- | + | ||
- | gateway 192.168.2.1 | + | |
Line 174: | Line 162: | ||
127.0.1.1 | 127.0.1.1 | ||
+ | |||
# /etc/hosts -- Hosts file for ICCT private network | # /etc/hosts -- Hosts file for ICCT private network | ||
Line 181: | Line 170: | ||
# IP | # IP | ||
- | |||
- | |||
# | # | ||
127.0.0.1 | 127.0.0.1 | ||
- | |||
# | # | ||
Line 195: | Line 181: | ||
92.168.1.2 | 92.168.1.2 | ||
+ | # | ||
+ | |||
- | # | ||
Jupiter cluster | Jupiter cluster | ||
# | # | ||
- | |||
192.168.1.3 | 192.168.1.3 | ||
- | |||
192.168.2.1 | 192.168.2.1 | ||
- | |||
192.168.2.2 | 192.168.2.2 | ||
- | |||
192.168.2.3 | 192.168.2.3 | ||
- | |||
192.168.2.4 | 192.168.2.4 | ||
- | |||
192.168.2.5 | 192.168.2.5 | ||
Line 225: | Line 206: | ||
# | # | ||
- | + | 192.168.1.4 | |
- | 192.168.1.4 | + | |
192.168.3.1 | 192.168.3.1 | ||
- | |||
192.168.3.2 | 192.168.3.2 | ||
- | |||
192.168.3.3 | 192.168.3.3 | ||
- | |||
192.168.3.4 | 192.168.3.4 | ||
- | |||
192.168.3.5 | 192.168.3.5 | ||
- | |||
192.168.3.8 | 192.168.3.8 | ||
+ | |||
# | # | ||
- | # Add other hostd/ | ||
+ | # Add other hostd/ | ||
# (we'll use this to add virtual hosts to the web-server in a later | # (we'll use this to add virtual hosts to the web-server in a later | ||
- | |||
# lab exercise) | # lab exercise) | ||
+ | |||
# The following lines are desirable for IPv6 capable hosts | # The following lines are desirable for IPv6 capable hosts | ||
- | |||
::1 | ::1 | ||
- | |||
fe00::0 ip6-localnet | fe00::0 ip6-localnet | ||
- | |||
ff00::0 ip6-mcastprefix | ff00::0 ip6-mcastprefix | ||
- | |||
ff02::1 ip6-allnodes | ff02::1 ip6-allnodes | ||
- | |||
ff02::2 ip6-allrouters | ff02::2 ip6-allrouters | ||
- | |||
ff02::3 ip6-allhosts | ff02::3 ip6-allhosts | ||
- | |||
- | |||
- | |||
==== Question 12 ==== | ==== Question 12 ==== | ||
Line 291: | Line 257: | ||
What is the purpose of the Gateway interface? | What is the purpose of the Gateway interface? | ||
- | **Answer**: | + | These are set up independently to talk to their networks. Before they can perform routing between the two networks, they have to be set up to forward IP packets to one another. |
Line 338: | Line 303: | ||
In which file is the setting defined in [[# | In which file is the setting defined in [[# | ||
- | **Answer**: | + | / |
Reproduce the contents of the file defined in [[# | Reproduce the contents of the file defined in [[# | ||
- | **Answer** | + | ip_forward=yes |
- | Copy contents of file and paste it as a listing here. | ||
- | Include a minumum indent of two spaces per line. | ||
- | Like this. | ||
| | ||
Line 354: | Line 316: | ||
What setting has been added to the network configuration file to define a route to '' | What setting has been added to the network configuration file to define a route to '' | ||
- | **Answer**: | + | up route add -net 192.168.3.0 netmask 255.255.255.0 gw 192.168.1.4 |
- | + | ||
- | Copy contents of file and paste it as a listing here. | + | |
- | Include a minumum indent of two spaces per line. | + | |
- | Like this. | + | |
+ | down route del -net 192.168.3.0 netmask 255.255.255.0 gw 192.168.1.4 | ||
===== Checking Your Network ===== | ===== Checking Your Network ===== | ||
Line 424: | Line 383: | ||
Give the output of traceroute from your host to any host on one of the other ICCT networks. | Give the output of traceroute from your host to any host on one of the other ICCT networks. | ||
- | **Answer** | ||
<cli prompt=" | <cli prompt=" | ||
- | user@host:~$ command | + | icct@arche:/home/marwa$ traceroute carme |
- | # paste output here | + | traceroute to carme (192.168.2.4), |
+ | | ||
</ | </ | ||
Line 481: | Line 440: | ||
A new sub-network engineering-net ('' | A new sub-network engineering-net ('' | ||
- | **Answer** | + | The primary network interface |
+ | auto eth0 | ||
+ | iface eth0 inet static | ||
+ | address 192.168.1.3 | ||
+ | network 192.168.1.0 | ||
+ | netmask 255.255.255.0 | ||
+ | gateway 192.168.1.1 | ||
+ | # route to saturn-net | ||
+ | up route add -net 192.168.3.0 netmask 255.255.255.0 gw 192.168.1.4 | ||
+ | down route del -net 192.168.3.0 netmask 255.255.255.0 gw 192.168.1.4 | ||
+ | |||
+ | auto eth1 | ||
+ | iface eth1 inet static | ||
+ | address 192.168.2.1 | ||
==== Question 26 ==== | ==== Question 26 ==== | ||
Line 487: | Line 460: | ||
Which other files would you need to modify to correctly set up this new router? | Which other files would you need to modify to correctly set up this new router? | ||
- | **Answer** | + | / |
+ | / | ||
+ | |||
+ | /etc/hosts | ||
==== Question 27 ==== | ==== Question 27 ==== | ||
Line 497: | Line 473: | ||
- | ==== Question | + | ==== Question |
Which other files would you need to modify to fully configure your host to recognizes the new engineering sub-network? | Which other files would you need to modify to fully configure your host to recognizes the new engineering sub-network? | ||
- | **Answer** | + | / |
+ | / | ||
===== Signature ===== | ===== Signature ===== | ||
Line 510: | Line 487: | ||
Your signature here: | Your signature here: | ||
+ | |||
+ | Marwa Al Moosawi | ||
+ | |||
+ | 575509 | ||
eg-253/networkq/575509.1323443335.txt.gz · Last modified: 2011/12/09 15:08 by marwa