User Tools

Site Tools


eg-253:networkq:653764

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:653764 [2012/12/06 09:01] – [Question 13] eechriseg-253:networkq:653764 [2012/12/06 10:15] (current) – [Question 24] eechris
Line 216: Line 216:
 in HTML, and then send it back to the user. in HTML, and then send it back to the user.
  
-**Not really, it acts as a gateway to the rest of the internet. Note that the network part of the gateway's IP address matches that of your host. Any packets sent to an IP address with a different network address will be sent to the gateway. That gateway (which is a router) will forward it on to the next network [192.168.1.0 via 192.168.1.3]. The match is performed again, and if necessary, the packet will be forwarded to the next gateway (which in this context will be solaris [192.168.1.1]) which will forward it to the campus network 137.44.... and if necessary, further on through one of the Campus routers and so on.**+**Not really, it acts as a gateway to the rest of the internet. Note that the network part of the gateway's IP address matches that of your host. Any packets sent to an IP address with a different network address will be sent to the gateway. That gateway (which is a router) will forward it on to the next network [192.168.1.0 via 192.168.1.4]. The match is performed again, and if necessary, the packet will be forwarded to the next gateway (which in this context will be solaris [192.168.1.1]) which will forward it to the campus network 137.44.... and if necessary, further on through one of the Campus routers and so on.**
  
  --- //[[chris@cpjobling.me|Chris Jobling]] 2012/12/06 02:49//  --- //[[chris@cpjobling.me|Chris Jobling]] 2012/12/06 02:49//
Line 257: Line 257:
 **Answer**:  **Answer**: 
   ip_forward=yes   ip_forward=yes
 +  
 +**Answer is //IP forwarding//. Your answer would be part of the later question.**
 +
 + --- //[[chris@cpjobling.me|Chris Jobling]] 2012/12/06 03:09//
 ==== Question 17 ==== ==== Question 17 ====
  
Line 270: Line 274:
   icct@hyperion:~$ ssh jupiter   icct@hyperion:~$ ssh jupiter
   icct@jupiter:~$ nano /etc/network/options   icct@jupiter:~$ nano /etc/network/options
 +  
 +**Because the question asks for the //file name//, a better answer would be ''jupiter:/etc/network/options'' -- but in actual fact, for your network the correct answer is
 +''saturn:/etc/network/options'', because the gateway router for your host is //saturn//!**
 +
 + --- //[[chris@cpjobling.me|Chris Jobling]] 2012/12/06 03:07//
  
 Reproduce the contents of the file defined in [[#question_17|Question 17]] to make a Ubuntu host into a router? Reproduce the contents of the file defined in [[#question_17|Question 17]] to make a Ubuntu host into a router?
Line 280: Line 289:
  
      
- 
 ==== Question 19 ==== ==== Question 19 ====
  
Line 287: Line 295:
 **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
 +
 +**What about down?**
 +
 + --- //[[chris@cpjobling.me|Chris Jobling]] 2012/12/06 03:09//
 +
  
 **Contents**:  **Contents**: 
Line 324: Line 337:
  
  
 +**Yes, except, you should have reproduced the file for saturn!**
  
 + --- //[[chris@cpjobling.me|Chris Jobling]] 2012/12/06 03:22//
 ===== Checking Your Network ===== ===== Checking Your Network =====
  
Line 354: Line 369:
     irtt: Initial RTT (Round Trip Time).     irtt: Initial RTT (Round Trip Time).
     Iface: Interface to which packets for this route will be sent.     Iface: Interface to which packets for this route will be sent.
 +
 +**Good idea to use the documentation for the definition, but what does it do in words that you and I could understand?**
 +
 + --- //[[chris@cpjobling.me|Chris Jobling]] 2012/12/06 03:11//    
 +
  
 ==== Question 21 ==== ==== Question 21 ====
Line 382: Line 402:
       - R: Interface is running.       - R: Interface is running.
       - U: Interface is up.       - U: Interface is up.
 +
 +**If anything, the official documentation of ''netstat -i'' is even more opaque. What does it really show us?**
 +
 + --- //[[chris@cpjobling.me|Chris Jobling]] 2012/12/06 03:12//
 ==== Question 22 ==== ==== Question 22 ====
  
Line 405: Line 429:
 </cli> </cli>
  
-  The option -t shows active TCP connections. Providing the -a also shows sockets that are waiting for a connection. +The option -t shows active TCP connections. Providing the -a also shows sockets that are waiting for a connection. 
-  The command netstat -ta will display a list of all servers that are currently running on your system.+The command netstat -ta will display a list of all servers that are currently running on your system. 
 + 
 +**Good, that's what I was after for the previous two questions!** 
 + 
 + --- //[[chris@cpjobling.me|Chris Jobling]] 2012/12/06 03:13//
 ===== Testing the Connectivity of your network ===== ===== Testing the Connectivity of your network =====
  
Line 422: Line 450:
 </cli>   </cli>  
  
 +**The question asks you to provide a route to another network. You should have used something on //jupiter.icct.com// or //icct.com//. There would then have been at least 2 hops.**
  
 + --- //[[chris@cpjobling.me|Chris Jobling]] 2012/12/06 03:14//
  
  
Line 465: Line 495:
 </cli>               </cli>              
  
-  When you connect to another computer, your traffic does not go directly to the machine you are attempting to connect +When you connect to another computer, your traffic does not go directly to the machine you are attempting to connect 
-  to. Instead it goes through multiple machines on the Internet known as routers. These machines serve the sole purpose +to. Instead it goes through multiple machines on the Internet known as routers. These machines serve the sole purpose 
-  of controlling how your traffic gets to your destination. If any one connection fails, you will not be able to connect +of controlling how your traffic gets to your destination. If any one connection fails, you will not be able to connect 
-  to the intended destination. +to the intended destination.  
 + 
 +**How do you explain the no-reply status of hops 2-30? Do you think that there are there really 30 networks between hyperion.saturn.icct.com and www.swan.ac.uk?**
  
 + --- //[[chris@cpjobling.me|Chris Jobling]] 2012/12/06 04:15//
 ===== Extension Questions ===== ===== Extension Questions =====
  
eg-253/networkq/653764.1354784498.txt.gz · Last modified: 2012/12/06 09:01 by eechris