eg-253:networkq:637234
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
eg-253:networkq:637234 [2012/11/28 10:07] – [Question 20] 637234 | eg-253:networkq:637234 [2012/12/06 10:46] (current) – [Question 24] eechris | ||
---|---|---|---|
Line 40: | Line 40: | ||
- | Mimas | + | |
+ | |||
+ | **small '' | ||
+ | |||
+ | --- // | ||
==== Question 3 ==== | ==== Question 3 ==== | ||
Line 78: | Line 82: | ||
+ | **You have given the broadcast address for your host's network address and the IPv6 address for the IPv4 broadcast address!** | ||
+ | --- // | ||
==== Question 6 ==== | ==== Question 6 ==== | ||
Line 89: | Line 94: | ||
+ | **No! The netmask is 255.255.255.0 so 8 bits are available for hosts. 2^8 = 256 possible hosts but you can't use the //net address// (which would be 192.168.3.0) or the broadcast address (which is 192.168.3.255) so that leaves 254.** | ||
+ | --- // | ||
==== Question 7 ==== | ==== Question 7 ==== | ||
Line 222: | Line 228: | ||
**Answer**: | **Answer**: | ||
+ | |||
+ | **Not really. It defines where packets with IP addresses who's network address does not match the host's network address will be sent for forwarding to the destination network.** | ||
+ | |||
+ | --- // | ||
Line 260: | Line 270: | ||
**Answer**: ip_forwarding=yes | **Answer**: ip_forwarding=yes | ||
+ | **Answer is //IP forwarding// | ||
+ | |||
+ | --- // | ||
==== Question 17 ==== | ==== Question 17 ==== | ||
Line 265: | Line 278: | ||
**Answer**: | **Answer**: | ||
+ | |||
+ | sudo sh -c "echo 1 > / | ||
==== Question 18 ==== | ==== Question 18 ==== | ||
Line 271: | Line 286: | ||
**Answer**: | **Answer**: | ||
+ | nano / | ||
+ | |||
+ | **I expected you to be logged into the host so '' | ||
+ | --- // | ||
Reproduce the contents of the file defined in [[# | Reproduce the contents of the file defined in [[# | ||
**Answer** | **Answer** | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
- | Copy contents of file and paste it as a listing here. | ||
- | Include a minumum indent of two spaces per line. | ||
- | Like this. | ||
- | | ||
==== Question 19 ==== | ==== Question 19 ==== | ||
Line 288: | Line 316: | ||
**Answer**: | **Answer**: | ||
- | Copy contents of file and paste it as a listing here. | + | up route add -net 192.168.3.0 netmask 255.255.255.0 gw 192.168.1.4 |
- | Include a minumum indent of two spaces per line. | + | |
- | Like this. | + | ** what about '' |
+ | --- // | ||
+ | |||
+ | cat / | ||
+ | |||
+ | # This file describes the network interfaces available on your system | ||
+ | # and how to activate them. For more information, | ||
+ | |||
+ | # This is Jupiter | ||
+ | |||
+ | # The loopback network interface | ||
+ | auto lo | ||
+ | iface lo inet loopback | ||
+ | |||
+ | # The primary network interface | ||
+ | auto eth0 | ||
+ | iface eth0 inet static | ||
+ | address 192.168.1.3 | ||
+ | network 192.168.1.0 | ||
+ | netmask 255.255.255.0 | ||
+ | gateway 192.168.1.1 | ||
+ | # 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 | ||
+ | | ||
+ | | ||
+ | |||
+ | --- // | ||
===== Checking Your Network ===== | ===== Checking Your Network ===== | ||
Line 311: | Line 366: | ||
saturn-net | saturn-net | ||
- | #same " | + | |
</ | </ | ||
+ | |||
+ | #same " | ||
==== Question 21 ==== | ==== Question 21 ==== | ||
Line 326: | Line 383: | ||
lo 16436 0 | lo 16436 0 | ||
- | #displays the statistics for network interfaces currently configured | + | |
</ | </ | ||
+ | #displays the statistics for network interfaces currently configured | ||
+ | **which statistics specifically? | ||
+ | |||
+ | --- // | ||
==== Question 22 ==== | ==== Question 22 ==== | ||
Line 338: | Line 399: | ||
**Answer** | **Answer** | ||
<cli prompt=" | <cli prompt=" | ||
- | user@host:~$ netstat -r | + | icct@mimas:~$ netstat -ta |
- | # Paste result here.... | + | #Active Internet connections (servers and established) |
+ | Proto Recv-Q Send-Q Local Address | ||
+ | tcp 0 0 *: | ||
+ | tcp 0 0 localhost: | ||
+ | tcp 0 0 localhost: | ||
+ | tcp 0 0 mimas.local: | ||
+ | tcp 1 0 mimas.local: | ||
+ | tcp 0 0 mimas.local: | ||
+ | tcp6 | ||
</ | </ | ||
- | Add your explanation here. | + | the ' |
===== Testing the Connectivity of your network ===== | ===== Testing the Connectivity of your network ===== | ||
Line 354: | Line 423: | ||
**Answer** | **Answer** | ||
<cli prompt=" | <cli prompt=" | ||
- | user@host:~$ command | + | icct@mimas:~$ traceroute tethys.saturn.icct.com |
- | # paste output here | + | traceroute to tethys.saturn.icct.com (192.168.3.3), |
+ | | ||
</ | </ | ||
+ | **The question asks you to provide a route to another network. You should have used something on // | ||
+ | --- // | ||
==== Question 24 ==== | ==== Question 24 ==== | ||
Line 367: | Line 439: | ||
**Answer** | **Answer** | ||
<cli prompt=" | <cli prompt=" | ||
- | user@host:~$ command | + | icct@mimas:~$ traceroute www.swan.ac.uk |
- | # paste output here | + | traceroute to www.swan.ac.uk (137.44.1.7), |
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | 10 * * * | ||
+ | 11 * * * | ||
+ | 12 * * * | ||
+ | 13 * * * | ||
+ | 14 * * * | ||
+ | 15 * * * | ||
+ | 16 * * * | ||
+ | 17 * * * | ||
+ | 18 * * * | ||
+ | 19 * * * | ||
+ | 20 * * * | ||
+ | 21 * * * | ||
+ | 22 * * * | ||
+ | 23 * * * | ||
+ | 24 * * * | ||
+ | 25 * * * | ||
+ | 26 * * * | ||
+ | 27 * * * | ||
+ | 28 * * * | ||
+ | 29 * * * | ||
+ | 30 * * * | ||
</ | </ | ||
- | Explain | + | traceroute uses UDP datagrams to determin |
+ | |||
+ | **Yes, but why is there no response from networks 2-30?** | ||
+ | --- // | ||
===== Extension Questions ===== | ===== Extension Questions ===== | ||
eg-253/networkq/637234.1354097271.txt.gz · Last modified: 2012/11/28 10:07 by 637234