User Tools

Site Tools


eg-253:networkq:darryl

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:darryl [2010/11/25 13:02] darryleg-253:networkq:darryl [2011/05/19 10:15] (current) – [Question 24] eechris
Line 6: Line 6:
 |**Name** |Darryl Lacey | |**Name** |Darryl Lacey |
 |**Student Number** |526528 | |**Student Number** |526528 |
-|**Date of Submission** |14th Octember 3330 |   +|**Date of Submission** |26th November 2010 |   
  
 ===== Instructions ===== ===== Instructions =====
Line 79: Line 79:
  
  
 +**Comment**
  
 +No, Ethernet!
 ==== Question 6 ==== ==== Question 6 ====
  
Line 130: Line 132:
   auto lo   auto lo
   iface lo inet loopback   iface lo inet loopback
 +  
   auto eth0   auto eth0
   iface eth0 inet static   iface eth0 inet static
Line 153: Line 155:
 saturn.icct.com saturn.icct.com
  
 +**Comment** Actually, the hostname is ''saturn''. ''icct.com'' is the domain name!
 ==== Question 11 ==== ==== Question 11 ====
  
Line 216: Line 219:
    gw-saturn.icct.com     gw-saturn.icct.com
  
 +**Comment**
 +
 +This is the name of the interface on the WAN side of the router. ''saturn'' or ''saturn-if2'' is the name of the interface on the LAN side which is //your network's// gateway interface.
 ==== Question 13 ==== ==== Question 13 ====
  
Line 224: Line 230:
  
  
 +**Comment** You all got this wrong! You have defined C-GI which has nothing to do with routing!
  
  
Line 241: Line 247:
  
  
-icct@titan:~$ route +  icct@titan:~$ route 
-Kernel IP routing table +  Kernel IP routing table 
-Destination     Gateway         Genmask         Flags Metric Ref    Use Iface +  Destination     Gateway         Genmask         Flags Metric Ref    Use Iface 
-saturn-net      *               255.255.255.0            0        0 eth0 +  saturn-net      *               255.255.255.0            0        0 eth0 
-link-local      *               255.255.0.0         1000          0 eth0 +  link-local      *               255.255.0.0         1000          0 eth0 
-default         saturn.icct.com 0.0.0.0         UG    100    0        0 eth0+  default         saturn.icct.com 0.0.0.0         UG    100    0        0 eth0
  
 ==== Question 15 ==== ==== Question 15 ====
Line 287: Line 293:
  
  ip_forward=yes  ip_forward=yes
-spoofprotect=yes+ spoofprotect=yes
  
 +**Comment**
 +
 +Actually it's the first line! The second line is for scurity.
 ==== Question 19 ==== ==== Question 19 ====
  
Line 295: Line 304:
 **Answer**:  **Answer**: 
  
-up route add -net 192.168.3.0 netmask 255.255.255.0 gw 192.168.1.4 +  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+  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 329: Line 338:
  
 **Answer** **Answer**
 +
 <cli prompt="$" comment="#"> <cli prompt="$" comment="#">
 icct@titan:~$ netstat -i icct@titan:~$ netstat -i
Line 335: Line 345:
 eth0       1500 0     31495      0      0 0         13948      0      0      0 BMRU eth0       1500 0     31495      0      0 0         13948      0      0      0 BMRU
 lo        16436 0       241      0      0 0           241      0      0      0 LRU lo        16436 0       241      0      0 0           241      0      0      0 LRU
 +</cli>
  
 Add your explanation here. Add your explanation here.
Line 348: Line 358:
  
 **Answer** **Answer**
-icct@titan:~$ netstat -ta +  icct@titan:~$ netstat -ta 
-Active Internet connections (servers and established) +  Active Internet connections (servers and established) 
-Proto Recv-Q Send-Q Local Address           Foreign Address         State       +  Proto Recv-Q Send-Q Local Address           Foreign Address         State       
-tcp        0      0 *:www                   *:                    LISTEN      +  tcp        0      0 *:www                   *:                    LISTEN      
-tcp        0      0 titan:ipp               *:                    LISTEN      +  tcp        0      0 titan:ipp               *:                    LISTEN      
-tcp        0      0 titan:mysql             *:                    LISTEN      +  tcp        0      0 titan:mysql             *:                    LISTEN      
-tcp6            0 localhost:ipp           [::]:                 LISTEN  +  tcp6            0 localhost:ipp           [::]:                 LISTEN  
  
 Add your explanation here. Add your explanation here.
 +
 + The -ta part shows all active internet connections (if they are servers or established) and their current state.
  
  
Line 368: Line 380:
  
 **Answer** **Answer**
-<cli prompt="$" comment="#"> + 
-user@host:~$ command +  icct@titan:~$ traceroute 192.168.3.4 
-# paste output here +  traceroute to 192.168.3.4 (192.168.3.4), 30 hops max, 60 byte packets 
-</cli>  +   1  titan.saturn.icct.com (192.168.3.4)  0.028 ms  0.007 ms  0.007 ms 
  
  
Line 381: Line 394:
  
 **Answer** **Answer**
-<cli prompt="$comment="#"> + 
-user@host:~$ command +<cli prompt='$comment="#"> 
-# paste output here +icct@titan:~$ traceroute www.swan.ac.uk 
-</cli>  +traceroute to www.swan.ac.uk (137.44.1.7), 30 hops max, 60 byte packets 
 +  saturn.icct.com (192.168.3.1)  0.833 ms  0.815 ms  0.797 ms 
 +  * * * 
 +  * * * 
 +  * * * 
 +  * * * 
 +  * * * 
 +  * * * 
 +  * * * 
 +  * * * 
 +10  * * * 
 +11  * * * 
 +12  * * * 
 +13  * * * 
 +14  * * * 
 +15  * * * 
 +16  * * * 
 +17  * * * 
 +18  * * * 
 +19  * * * 
 +20  * * * 
 +21  * * * 
 +22  * * * 
 +23  * * * 
 +24  * * * 
 +25  * * * 
 +26  * * * 
 +27  * * * 
 +28  * * * 
 +29  * * * 
 +30  * * * 
 +</cli> 
 + 
 + 
  
 Explain the result. Explain the result.
 +
 +traceroute is not forwarding the pings to the other network. which leaves a dead connection. 
 +
  
 ===== Extension Questions ===== ===== Extension Questions =====
Line 424: Line 473:
  
 Your signature here: Your signature here:
 +
 +Darryl Lacey 526528
  
eg-253/networkq/darryl.1290690120.txt.gz · Last modified: 2011/01/14 12:51 (external edit)