eg-253:networkq:521525
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
eg-253:networkq:521525 [2009/11/05 12:35] – oreillyw | eg-253:networkq:521525 [2011/01/14 13:00] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 185: | Line 185: | ||
# (we'll use this to add virtual hosts to the web-server in a later | # (we'll use this to add virtual hosts to the web-server in a later | ||
# lab exercise) | # lab exercise) | ||
- | |||
# The following lines are desirable for IPv6 capable hosts | # The following lines are desirable for IPv6 capable hosts | ||
::1 ip6-localhost ip6-loopback | ::1 ip6-localhost ip6-loopback | ||
Line 193: | Line 192: | ||
ff02::2 ip6-allrouters | ff02::2 ip6-allrouters | ||
ff02::3 ip6-allhosts | ff02::3 ip6-allhosts | ||
- | |||
127.0.0.1 | 127.0.0.1 | ||
127.0.1.1 icct-desktop | 127.0.1.1 icct-desktop | ||
Line 242: | Line 240: | ||
**Answer** //one of//: | **Answer** //one of//: | ||
- | 1 | + | |
- | 1 or 2 | + | |
2 | 2 | ||
- | | + | |
- | 3 or more | + | |
==== Question 16 ==== | ==== Question 16 ==== | ||
Line 253: | Line 249: | ||
**Answer**: | **Answer**: | ||
+ | |||
+ | IP forwarding | ||
==== Question 17 ==== | ==== Question 17 ==== | ||
Line 259: | Line 257: | ||
**Answer**: | **Answer**: | ||
+ | |||
+ | icct@myhost: | ||
==== Question 18 ==== | ==== Question 18 ==== | ||
Line 266: | Line 266: | ||
**Answer**: | **Answer**: | ||
+ | / | ||
Reproduce the contents of the file defined in [[# | Reproduce the contents of the file defined in [[# | ||
Line 271: | Line 272: | ||
**Answer** | **Answer** | ||
- | | + | |
- | | + | |
- | | + | # up a machine with two network interface cards |
+ | | ||
+ | ip_forward=no | ||
+ | spoofprotect=yes | ||
+ | syncookies=no | ||
+ | |||
| | ||
Line 282: | Line 288: | ||
**Answer**: | **Answer**: | ||
- | | + | |
- | | + | # so needs to know about the rest of the network. |
- | | + | |
+ | auto eth0 | ||
+ | iface eth0 inet static | ||
+ | address 192.168.1.3 | ||
+ | | ||
+ | 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 298: | Line 318: | ||
<cli prompt=" | <cli prompt=" | ||
user@host: | user@host: | ||
- | # Paste result here.... | + | Kernel IP routing table |
- | </ | + | Destination |
+ | jupiter-net | ||
+ | link-local | ||
+ | | ||
- | Add your explanation here. | + | </ |
+ | The command displays the routing table | ||
==== Question 21 ==== | ==== Question 21 ==== | ||
Line 311: | Line 335: | ||
**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 7130 0 0 1 5664 0 0 0 BMRU | ||
+ | lo 16436 0 74 0 0 0 74 0 0 0 LRU | ||
</ | </ | ||
Line 325: | Line 353: | ||
<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 ganymede: | ||
+ | tcp 0 0 *:ssh | ||
+ | tcp 0 0 ganymede: | ||
+ | tcp6 | ||
+ | tcp6 | ||
+ | tcp6 | ||
</ | </ | ||
- | 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 340: | Line 375: | ||
**Answer** | **Answer** | ||
<cli prompt=" | <cli prompt=" | ||
- | user@host:~$ command | + | icct@ganymede:~$ traceroute saturn |
- | # paste output here | + | traceroute to saturn (192.168.3.1), |
+ | 1 jupiter.icct.com (192.168.2.1) | ||
+ | 2 saturn.icct.com (192.168.3.1) | ||
</ | </ | ||
Line 353: | Line 391: | ||
**Answer** | **Answer** | ||
<cli prompt=" | <cli prompt=" | ||
- | user@host:~$ command | + | icct@ganymede:~$ traceroute www.swan.ac.uk |
- | # paste output here | + | traceroute to www.swan.ac.uk (137.44.1.7), |
+ | 1 jupiter.icct.com (192.168.2.1) | ||
+ | 2 * * * | ||
+ | 3 * * * | ||
+ | - | ||
+ | - | ||
+ | - | ||
+ | 28 * * * | ||
+ | 29 * * * | ||
+ | 30 * * * | ||
</ | </ | ||
eg-253/networkq/521525.1257424557.txt.gz · Last modified: 2011/01/14 12:50 (external edit)