eg-253:networkq:483250
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
eg-253:networkq:483250 [2009/11/05 12:39] – kerry | eg-253:networkq:483250 [2011/01/14 12:59] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 256: | Line 256: | ||
**Answer**: | **Answer**: | ||
+ | |||
+ | IP forwarding | ||
==== Question 17 ==== | ==== Question 17 ==== | ||
Line 262: | Line 264: | ||
**Answer**: | **Answer**: | ||
+ | |||
+ | icct@myhost: | ||
+ | |||
==== Question 18 ==== | ==== Question 18 ==== | ||
Line 269: | Line 274: | ||
**Answer**: | **Answer**: | ||
+ | / | ||
Reproduce the contents of the file defined in [[# | Reproduce the contents of the file defined in [[# | ||
- | **Answer** | + | **Answer**: |
+ | |||
+ | # / | ||
+ | # set ip_forward=yes if you need to set | ||
+ | # up a machine with two network interface cards | ||
+ | # as a router | ||
+ | ip_forward=no | ||
+ | spoofprotect=yes | ||
+ | syncookies=no | ||
+ | |||
- | Copy contents of file and paste it as a listing here. | ||
- | Include a minumum indent of two spaces per line. | ||
- | Like this. | ||
| | ||
Line 285: | Line 298: | ||
**Answer**: | **Answer**: | ||
- | | + | |
- | | + | iface lo inet loopback |
- | | + | auto eth0 |
+ | iface eth0 inet static | ||
+ | address 192.168.3.3 | ||
+ | | ||
+ | | ||
+ | gateway 192.168.3.1 | ||
Line 301: | Line 320: | ||
<cli prompt=" | <cli prompt=" | ||
user@host: | user@host: | ||
- | # Paste result here.... | + | Kernel IP routing table |
+ | Destination | ||
+ | 192.168.3.0 | ||
+ | link-local | ||
+ | default | ||
</ | </ | ||
Line 314: | Line 338: | ||
**Answer** | **Answer** | ||
<cli prompt=" | <cli prompt=" | ||
- | user@host: | + | user@host: |
- | # Paste result here.... | + | Kernel Interface table |
+ | Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR | ||
+ | eth0 1500 0 2086 0 0 1 1827 0 0 0 BMRU | ||
+ | lo 16436 0 19 0 0 0 19 0 0 0 LRU | ||
</ | </ | ||
Line 327: | Line 355: | ||
**Answer** | **Answer** | ||
<cli prompt=" | <cli prompt=" | ||
- | user@host: | + | user@host: |
- | # Paste result here.... | + | Active Internet connections (servers and established) |
+ | Proto Recv-Q Send-Q Local Address | ||
+ | tcp 0 0 titan: | ||
+ | tcp 0 0 *:ssh | ||
+ | tcp 0 0 titan: | ||
+ | tcp 0 0 titan.saturn.icct:53856 wy-in-f100.1e100.ne:www ESTABLISHED | ||
+ | tcp 0 0 titan.saturn.icct: | ||
+ | tcp 0 0 titan.saturn.icct: | ||
+ | tcp 0 0 titan.saturn.icct: | ||
+ | tcp 0 0 titan.saturn.icct: | ||
+ | tcp 0 0 titan.saturn.icct: | ||
+ | tcp 0 0 titan.saturn.icct: | ||
+ | tcp6 | ||
+ | tcp6 | ||
+ | tcp6 | ||
</ | </ | ||
Line 343: | Line 385: | ||
**Answer** | **Answer** | ||
<cli prompt=" | <cli prompt=" | ||
- | user@host:~$ command | + | icct@titan:~$ traceroute jupiter |
- | # paste output here | + | traceroute to jupiter (192.168.2.1), |
+ | | ||
+ | | ||
</ | </ | ||
Line 356: | Line 401: | ||
**Answer** | **Answer** | ||
<cli prompt=" | <cli prompt=" | ||
- | user@host:~$ command | + | icct@titan:~$ traceroute |
- | # 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 * * * | ||
</ | </ | ||
eg-253/networkq/483250.1257424760.txt.gz · Last modified: 2011/01/14 12:49 (external edit)