User Tools

Site Tools


eg-253:networkq:575509

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
eg-253:networkq:575509 [2011/12/09 15:20] – [Question 11] marwaeg-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/December/2011 |   
  
 ===== Instructions ===== ===== Instructions =====
Line 122: Line 122:
  
   GNU nano 2.2.2         File: /etc/network/interfaces                             GNU nano 2.2.2         File: /etc/network/interfaces                          
- +  auto eth0 
- +  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       arche 127.0.1.1       arche
 +
 +
 # /etc/hosts -- Hosts file for ICCT private network # /etc/hosts -- Hosts file for ICCT private network
 +
 # #
  
Line 184: Line 175:
 127.0.0.1      localhost.localdomain       localhost myhost 127.0.0.1      localhost.localdomain       localhost myhost
 # #
 +
 +
 192.168.1.1    solaris.icct.co             solaris inet-gateway 192.168.1.1    solaris.icct.co             solaris inet-gateway
 1 1
 +
 92.168.1.2    venus.icct.com              venus www 92.168.1.2    venus.icct.com              venus www
 # #
Line 192: Line 186:
 Jupiter cluster Jupiter cluster
 # #
 +
 192.168.1.3    gw-jupiter.icct.com         gw-jupiter jupiter-if1 192.168.1.3    gw-jupiter.icct.com         gw-jupiter jupiter-if1
 +
 192.168.2.1    jupiter.icct.com            jupiter jupiter-if2 192.168.2.1    jupiter.icct.com            jupiter jupiter-if2
 +
 192.168.2.2    ganymede.jupiter.icct.com   ganymede 192.168.2.2    ganymede.jupiter.icct.com   ganymede
 +
 192.168.2.3    leda.jupiter.icct.com       leda 192.168.2.3    leda.jupiter.icct.com       leda
 +
 192.168.2.4    carme.jupiter.icct.com      carme 192.168.2.4    carme.jupiter.icct.com      carme
 +
 192.168.2.5    arche.jupiter.icct.com      arche 192.168.2.5    arche.jupiter.icct.com      arche
  
Line 203: Line 203:
  
 # Saturn cluster # Saturn cluster
 +
 # #
 +
 192.168.1.4    gw-saturn.icct.com          gw-saturn saturn-if2 192.168.1.4    gw-saturn.icct.com          gw-saturn saturn-if2
 +
 192.168.3.1    saturn.icct.com             saturn saturn-if2 192.168.3.1    saturn.icct.com             saturn saturn-if2
 +
 192.168.3.2    hyperion.saturn.icct.com    hyperion 192.168.3.2    hyperion.saturn.icct.com    hyperion
 +
 192.168.3.3    mimas.saturn.icct.com       mimas 192.168.3.3    mimas.saturn.icct.com       mimas
 +
 192.168.3.4    dione.saturn.icct.com       dione 192.168.3.4    dione.saturn.icct.com       dione
 +
 192.168.3.5    titan.saturn.icct.com       titan 192.168.3.5    titan.saturn.icct.com       titan
 +
 192.168.3.8    tethys.saturn.icct.com      tethys 192.168.3.8    tethys.saturn.icct.com      tethys
 +
  
 # #
 +
  
  
 # Add other hostd/clusters below here # Add other hostd/clusters below here
 +
 # (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     localhost ip6-localhost ip6-loopback ::1     localhost ip6-localhost ip6-loopback
 +
 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
  
Line 238: 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 298: Line 316:
 What setting has been added to the network configuration file to define a route to ''icct-net'' from your sub-network's cluster-server? 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**:  +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 425: Line 440:
 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''. 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**+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 431: 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/networks/interfaces
  
 +/etc/hostname
 +
 +/etc/hosts
  
 ==== Question 27 ==== ==== Question 27 ====
Line 441: Line 473:
  
  
-==== Question 27 ====+==== Question 28 ====
  
 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**+ /etc/network/options
  
 +/etc/network/interfaces
  
 ===== Signature ===== ===== Signature =====
Line 454: Line 487:
  
 Your signature here: Your signature here:
 +
 +Marwa Al Moosawi
 +
 +575509
  
eg-253/networkq/575509.1323444029.txt.gz · Last modified: 2011/12/09 15:20 by marwa