User Tools

Site Tools


eg-253:networkq:571285

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:571285 [2011/12/09 14:27] – [Question 14] haneeneg-253:networkq:571285 [2011/12/09 22:18] (current) – [Signature] haneen
Line 68: Line 68:
 | The address used by my host to send an IP packet to all hosts on my network | 192.168.3.255  | | The address used by my host to send an IP packet to all hosts on my network | 192.168.3.255  |
 | The netmask of my host | 255.255.255.0| | 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.)) | 00:19:d1:91:4d:f5  |  
-| The frame-level (layer 1) protocol is used to send network messages to the network from my host? | MTU |  +| The frame-level (layer 1) protocol is used to send network messages to the network from my host? | Ethernet|  
  
  
Line 210: Line 210:
 **Answer**: **Answer**:
  
- +The purpose of the Gateway interface is to provide a communication bridge between the internet and the networks and to route messages between them.
  
  
Line 256: Line 255:
 **Answer**:  **Answer**: 
  
 +   sudo sh -c "echo 1 > /proc/sys/net/ipv4/ip_forward"
 ==== Question 18 ==== ==== Question 18 ====
  
Line 263: Line 263:
  
  
-Reproduce the contents of the file defined in [[#question_17|Question 17]] to make a Ubuntu host into a router?+/etc/network/options 
  
 **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. +
      
  
Line 278: Line 276:
 **Answer**:  **Answer**: 
  
-  Copy contents of file and paste it as a listing here +  up route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.1.3 
-  Include a minumum indent of two spaces per line+  down route del -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.1.3
-  Like this +
  
 ===== Checking Your Network ===== ===== Checking Your Network =====
Line 410: Line 406:
  
 **Answer** **Answer**
 +  #iface eth0 inet dhcp
 +  iface eth0 inet static
 +  address 192.168.10.1
 +  network 192.168.10.0
 +  netmask 255.255.255.0
 +  gateway 192.168.10.1
 + 
 +  # route to jupiter-net
 +  up route add -net 192.168.10.0 netmask 255.255.255.0 gw 192.168.10.3
 +  down route del -net 192.168.10.0 netmask 255.255.255.0 gw 192.168.10.3
  
 ==== Question 26 ==== ==== Question 26 ====
Line 417: Line 423:
 **Answer**  **Answer** 
  
 +/etc/hostname
  
 +/etc/hosts
 +
 +/etc/networks/interfaces
 +
 +/etc/resolv.conf 
 ==== Question 27 ==== ==== Question 27 ====
  
Line 425: Line 437:
  
  
-==== 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?
Line 431: Line 443:
 **Answer** **Answer**
  
 +/etc/resolve.conf
  
 +/etc/hosts
 +
 +/etc/nsswitch.conf
 +
 +/etc/network/interfaces 
 ===== Signature ===== ===== Signature =====
  
Line 438: Line 456:
  
 Your signature here: Your signature here:
 + --- //[[571285@swansea.ac.uk|Haneen Al Lawati]] 2011/12/09 16:18//
eg-253/networkq/571285.1323440835.txt.gz · Last modified: 2011/12/09 14:27 by haneen