User Tools

Site Tools


eg-253:networkq:525709

Differences

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

Link to this comparison view

eg-253:networkq:525709 [2011/12/15 13:53] – created lukeeg-253:networkq:525709 [2011/12/21 16:14] (current) luke
Line 28: Line 28:
 **Answer** (//delete as appropriate//): **Answer** (//delete as appropriate//):
  
-  prompt  
   hostname    hostname 
-  sudo  
-  echo  
  
  
Line 40: Line 37:
 **Answer**:  **Answer**: 
  
 +titan
  
  
Line 49: Line 46:
 Your answer (//one of//): Your answer (//one of//):
  
-  /etc/host  
-  /etc/hosts  
   /etc/hostname    /etc/hostname 
-  /etc/network  
- 
  
  
Line 62: Line 55:
 **Answer** //one of//: **Answer** //one of//:
  
-  ipconfig  
   ifconfig    ifconfig 
-  iface  
-  hostname  
- 
- 
- 
  
  
Line 75: Line 62:
 Use the command selected in [[#question_4|Question 4]] to complete the following table: Use the command selected in [[#question_4|Question 4]] to complete the following table:
 ^ Feature ^ Value ^ ^ Feature ^ Value ^
-| My host's IP address | Answer +| My host's IP address | 192.168.3.5 
-| My network's IP address | Answer |+| My network's IP address | 192.168.3.0 |
 | The address used by my host to send an IP packet to all hosts on my network | 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 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.)) | Answer |  | 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.)) | Answer | 
 | The frame-level (layer 1) protocol is used to send network messages to the network from my host? | Answer |   | The frame-level (layer 1) protocol is used to send network messages to the network from my host? | Answer |  
- 
- 
  
  
Line 91: Line 76:
 **Answer** //one of//: **Answer** //one of//:
  
-  254  +  254
-  256  +
-  65534  +
-  65536  +
- +
- +
  
  
Line 106: Line 85:
 **Answer** //one of//: **Answer** //one of//:
  
-  Class A  
-  Class B  
   Class C    Class C 
-  Class D  
- 
- 
  
  
Line 129: Line 103:
 **Answer** //one of//: **Answer** //one of//:
  
-  /etc/hosts  
-  /etc/hostname  
   /etc/network/interfaces    /etc/network/interfaces 
-  /etc/network/options  
  
 Please include a listing of the file chosen in answer to [[#question_8|Question 8]]: Please include a listing of the file chosen in answer to [[#question_8|Question 8]]:
Line 145: Line 116:
 What is the IP address of the host which serves as the default gateway for your network? What is the IP address of the host which serves as the default gateway for your network?
  
-**Answer**: +**Answer**: 192.168.3.1
  
  
Line 152: Line 123:
 What is the hostname of the gateway interface? What is the hostname of the gateway interface?
  
-**Answer**:+**Answer**: saturn
  
  
Line 162: Line 133:
  
   /etc/hosts    /etc/hosts 
-  /etc/hostname  
-  /etc/network/interfaces  
-  /etc/network/options  
- 
  
  
Line 178: Line 145:
 What is the symbolic name of your network's gateway interface? What is the symbolic name of your network's gateway interface?
  
-**Answer**: +**Answer**: saturn.icct.com saturn saturn-if2
  
  
Line 186: Line 153:
 What is the purpose of the Gateway interface? What is the purpose of the Gateway interface?
  
-**Answer**: +**Answer**: To route data between the internet gateway and the hosts on their subnetworks (e.g. saturn).
- +
- +
  
  
Line 213: Line 177:
 **Answer** //one of//: **Answer** //one of//:
  
-  1  
-  1 or 2  
   2    2 
-  3  +
-  3 or more +
  
 ==== Question 16 ==== ==== Question 16 ====
Line 223: Line 184:
 Which system feature must be turned on if you want a Linux host to act as a router? Which system feature must be turned on if you want a Linux host to act as a router?
  
-**Answer**: +**Answer**: IP Forwarding
  
 ==== Question 17 ==== ==== Question 17 ====
Line 229: Line 190:
 Which run-time command can be used to make a Ubuntu Linux host act as a router? Which run-time command can be used to make a Ubuntu Linux host act as a router?
  
-**Answer**: +**Answer**: sudo echo 1 > /proc/sys/net/ipv4/ip_forward
  
 ==== Question 18 ==== ==== Question 18 ====
Line 235: Line 196:
 In which file is the setting defined in [[#question17|Question 17]] set if you want a Ubuntu host to be configured as a router at boot-time? In which file is the setting defined in [[#question17|Question 17]] set if you want a Ubuntu host to be configured as a router at boot-time?
  
-**Answer**: +**Answer**: /etc/network/options
  
  
Line 242: Line 203:
 **Answer** **Answer**
  
-  Copy contents of file and paste it as a listing here.  +ip_forward=yes 
-  Include a minumum indent of two spaces per line. +
-  Like this.  +
-  +
  
 ==== Question 19 ==== ==== Question 19 ====
eg-253/networkq/525709.1323957226.txt.gz · Last modified: 2011/12/15 13:53 by luke