User Tools

Site Tools


eg-253:networkq:521525

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:521525 [2009/11/26 12:05] oreillyweg-253:networkq:521525 [2011/01/14 13:00] (current) – external edit 127.0.0.1
Line 288: Line 288:
 **Answer**:  **Answer**: 
  
-  Copy contents of file and paste it as a listing here.  +  # Interface in icct-net does the routing, 
-  Include a minumum indent of two spaces per line+  # so needs to know about the rest of the network
-  Like this+   
 +  auto eth0 
 +  iface eth0 inet static 
 +  address 192.168.1.3 
 +  netmask 255.255.255.0 
 +  gateway 192.168.1.1 # default for jupiter is solaris 
 +  # route to saturn-net 
 +  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 
 +   
 +  # Interface in jupiter-net is much simpler 
 +  auto eth0 
 +  iface eth1 inet static 
 +  address 192.168.2.1 
 +  netmask 255.255.255.0
  
  
Line 304: Line 318:
 <cli prompt="$" comment="#"> <cli prompt="$" comment="#">
 user@host:~$ netstat -r user@host:~$ netstat -r
-# Paste result here....+  Kernel IP routing table 
 +  Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface 
 +  jupiter-net                   255.255.255.0           0 0          0 eth0 
 +  link-local      *               255.255.0.0             0 0          0 eth0 
 +  default         jupiter.icct.co 0.0.0.0         UG        0 0          0 eth0 
 </cli> </cli>
  
-Add your explanation here. +  The command displays the routing table
  
 ==== Question 21 ==== ==== Question 21 ====
Line 317: Line 335:
 **Answer** **Answer**
 <cli prompt="$" comment="#"> <cli prompt="$" comment="#">
-user@host:~$ netstat -r +user@host:~$ netstat -
-# Paste result here....+  Kernel Interface table 
 +  Iface   MTU Met   RX-OK RX-ERR RX-DRP RX-OVR    TX-OK TX-ERR TX-DRP TX-OVR Flg 
 +  eth0       1500 0      7130      0      0 1          5664      0      0      0 BMRU 
 +  lo        16436 0        74      0      0 0            74      0      0      0 LRU 
 </cli> </cli>
  
Line 331: Line 353:
 <cli prompt="$" comment="#"> <cli prompt="$" comment="#">
 user@host:~$ netstat -r user@host:~$ netstat -r
-# Paste result here....+Active Internet connections (servers and established) 
 +  Proto Recv-Q Send-Q Local Address           Foreign Address         State       
 +  tcp        0      0 ganymede:mysql          *:*                     LISTEN      
 +  tcp        0      0 *:ssh                   *:                    LISTEN      
 +  tcp        0      0 ganymede:ipp            *:*                     LISTEN      
 +  tcp6            0 [::]:www                [::]:                 LISTEN      
 +  tcp6            0 [::]:ssh                [::]:                 LISTEN      
 +  tcp6            0 ip6-localhost:ipp       [::]:                 LISTEN 
 </cli> </cli>
  
-Add your explanation here.+This table shows all active internet connections linked to the machine
  
 ===== Testing the Connectivity of your network ===== ===== Testing the Connectivity of your network =====
Line 346: Line 375:
 **Answer** **Answer**
 <cli prompt="$" comment="#"> <cli prompt="$" comment="#">
-user@host:~$ command +icct@ganymede:~$ traceroute saturn 
-# paste output here+  traceroute to saturn (192.168.3.1), 30 hops max, 60 byte packets 
 +  1  jupiter.icct.com (192.168.2.1)  0.262 ms  0.187 ms  0.184 ms 
 +  2  saturn.icct.com (192.168.3.1)  1.750 ms  1.702 ms  1.665 ms 
 </cli>   </cli>  
  
Line 359: Line 391:
 **Answer** **Answer**
 <cli prompt="$" comment="#"> <cli prompt="$" comment="#">
-user@host:~$ command +icct@ganymede:~$ traceroute www.swan.ac.uk 
-# paste output here+  traceroute to www.swan.ac.uk (137.44.1.7), 30 hops max, 60 byte packets 
 +  1  jupiter.icct.com (192.168.2.1)  0.169 ms  0.173 ms  0.130 ms 
 +  2  * * * 
 +  3  * * * 
 +  - 
 +  - 
 +  - 
 +  28  * * * 
 +  29  * * * 
 +  30  * * * 
 </cli>   </cli>  
  
eg-253/networkq/521525.1259237112.txt.gz · Last modified: 2011/01/14 12:50 (external edit)