User Tools

Site Tools


eg-253:networkq:574487

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:574487 [2011/11/24 17:05] – [Question 24] emmanueleg-253:networkq:574487 [2011/12/08 14:58] (current) – [Signature] emmanuel
Line 169: Line 169:
  
      
- 
 127.0.0.1       ganymede        localhost.localdomain   localhost 127.0.0.1       ganymede        localhost.localdomain   localhost
- 
 127.0.1.1       icct-desktop 127.0.1.1       icct-desktop
- 
- 
  
 # /etc/hosts -- Hosts file for ICCT Private network # /etc/hosts -- Hosts file for ICCT Private network
- 
- 
  
 # #
- 
- 
  
 # IP          FQDN                       aliases # IP          FQDN                       aliases
- 
- 
  
 # #
- 
- 
  
 127.0.0.1     localhost.localdomain      localhost mimas 127.0.0.1     localhost.localdomain      localhost mimas
- 
- 
  
 # #
- 
- 
  
 192.168.1.1   solaris.icct.com            solaris inet-gateway 192.168.1.1   solaris.icct.com            solaris inet-gateway
- 
- 
  
 192.168.1.2   venus.icct.com             venus www 192.168.1.2   venus.icct.com             venus www
- 
- 
  
 127.0.0.1     localhost.localdomain      localhost mimas 127.0.0.1     localhost.localdomain      localhost mimas
- 
- 
  
 # #
- 
- 
  
 192.168.1.1   solaris.icct.com            solaris inet-gateway 192.168.1.1   solaris.icct.com            solaris inet-gateway
- 
- 
  
 192.168.1.2   venus.icct.com             venus www 192.168.1.2   venus.icct.com             venus www
- 
- 
  
 # #
- 
- 
  
 # 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
- 
- 
- 
-  GNU nano 2.2.2              File: /etc/hosts                        Modified   
- 
- 
- 
- 
  
 # 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
- 
- 
- 
- 
  
 # #
- 
- 
  
 # Saturn cluster # Saturn cluster
- 
- 
  
 # #
- 
- 
  
 192.168.1.4   gw-saturn.icct.com         gw-saturn saturn-if1 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.1   saturn.icct.com            saturn saturn-if2
  
- +92.168.3.2   hyperion.saturn.icct.com   hyperion
- +
-# 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   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
  
 +#
  
 +# The following lines are desirable for IPv6 capable hosts
 +::1     localhost ip6-localhost ip6-loopback
 +fe00::0 ip6-localnet
 +ff00::0 ip6-mcastprefix
 +ff02::1 ip6-allnodes
 +ff02::2 ip6-allrouters
 +ff02::3 ip6-allhosts
  
-# 
  
  
  
-# The following lines are desirable for IPv6 capable hosts 
  
-::1     localhost ip6-localhost ip6-loopback 
  
-fe00::0 ip6-localnet 
  
-ff00::0 ip6-mcastprefix 
  
-ff02::1 ip6-allnodes 
  
-ff02::2 ip6-allrouters 
  
-ff02::3 ip6-allhosts 
 ==== Question 12 ==== ==== Question 12 ====
  
Line 369: Line 273:
 What is the purpose of the Gateway interface? What is the purpose of the Gateway interface?
  
-**Answer**:+**Answer**: A gateway interface allows two or more computers to use the Internet at the same time. While doing so, only the gateway's IP address will be visible on the Internet. The rest of the computers will be “hidden” behind the gateway. This is called IP masquerading.
  
  
Line 576: Line 480:
 **Answer** **Answer**
  
 +For all of the computer we have to edit the /etc/hosts and add;
 + 
 +192.168.10.1 engineering.swan-icct.ac.uk gw-engineering engineering-if2
 +
 +If there are some clients in the engineering network we have to define them also.
 ==== Question 26 ==== ==== Question 26 ====
  
Line 582: Line 491:
 **Answer**  **Answer** 
  
 +/etc/hosts
  
 +/etc/networks
 +
 +/etc/network/interfaces
 +
 +/etc/network/options
 ==== Question 27 ==== ==== Question 27 ====
  
Line 589: Line 504:
 **Answer**  **Answer** 
  
 +address 192.168.1.4
  
 +network 192.168.1.0
 +
 +netmask 255.255.255.0
 +
 +gateway 192.168.1.1
 +
 +# route to jupiter-net
 +
 +up route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.1.3
 +
 +down ro/etc/network/interfacesute del -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.1.3
 ==== Question 27 ==== ==== Question 27 ====
  
Line 595: Line 522:
  
 **Answer** **Answer**
 +
 +/etc/resolve.conf
 +
 +/etc/hosts
 +
 +/etc/nsswitch.conf
 +
 +/etc/network/interfaces 
 +
  
  
-===== Signature ===== 
  
  
 I hereby submit this work for marking. I hereby submit this work for marking.
  
-Your signature here:+Your signature here: --- //[[574487@swansea.ac.uk|emmanuel]] 2011/12/08 08:57//===== Signature =====
  
eg-253/networkq/574487.1322154355.txt.gz · Last modified: 2011/11/24 17:05 by emmanuel