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 13:32] – [Question 20] 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 219: Line 218:
  
 **Answer**:  **Answer**: 
 +  
 +route
  
 Run the command identified in [[#question_14|Question 14]] and reproduce its output here. Run the command identified in [[#question_14|Question 14]] and reproduce its output here.
Line 226: Line 226:
  
 <cli prompt="$" comment="#"> <cli prompt="$" comment="#">
-user@host:~$ command # Copy command and its output and paste it here.+haneen@dione:~$ route 
 +Kernel IP routing table 
 +Destination     Gateway         Genmask         Flags Metric Ref    Use Iface 
 +192.168.3.0                   255.255.255.0            0        0 eth0 
 +link-local      *               255.255.0.0         1000          0 eth0 
 +default         saturn.icct.com 0.0.0.0         UG    100    0        0 eth0 
 </cli> </cli>
  
Line 249: Line 255:
 **Answer**:  **Answer**: 
  
 +   sudo sh -c "echo 1 > /proc/sys/net/ipv4/ip_forward"
 ==== Question 18 ==== ==== Question 18 ====
  
Line 256: 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 271: 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 313: Line 316:
 </cli> </cli>
  
-Add your explanation here. +-i : Displays network interfaces and their statistics.
- +
 ==== Question 22 ==== ==== Question 22 ====
  
Line 335: Line 336:
 </cli> </cli>
  
-Add your explanation here. +netstat -ta shows all active internet connections and their current state
 ===== Testing the Connectivity of your network ===== ===== Testing the Connectivity of your network =====
  
Line 396: Line 396:
 </cli>   </cli>  
  
-Explain the result. 
  
 +Pings have been ignored by the router as traceroute is not forwarding the pings to the other networks leaving a dead connection
 ===== Extension Questions ===== ===== Extension Questions =====
  
Line 406: 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 413: Line 423:
 **Answer**  **Answer** 
  
 +/etc/hostname
  
 +/etc/hosts
 +
 +/etc/networks/interfaces
 +
 +/etc/resolv.conf 
 ==== Question 27 ==== ==== Question 27 ====
  
Line 421: 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 427: Line 443:
 **Answer** **Answer**
  
 +/etc/resolve.conf
  
 +/etc/hosts
 +
 +/etc/nsswitch.conf
 +
 +/etc/network/interfaces 
 ===== Signature ===== ===== Signature =====
  
Line 434: Line 456:
  
 Your signature here: Your signature here:
 + --- //[[571285@swansea.ac.uk|Haneen Al Lawati]] 2011/12/09 16:18//
eg-253/networkq/571285.1323437549.txt.gz · Last modified: 2011/12/09 13:32 by haneen