eg-253:networkq:574487
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
eg-253:networkq:574487 [2011/11/24 16:51] – [Question 20] emmanuel | eg-253:networkq:574487 [2011/12/08 14:58] (current) – [Signature] emmanuel | ||
---|---|---|---|
Line 169: | Line 169: | ||
| | ||
- | |||
127.0.0.1 | 127.0.0.1 | ||
- | |||
127.0.1.1 | 127.0.1.1 | ||
- | |||
- | |||
# /etc/hosts -- Hosts file for ICCT Private network | # /etc/hosts -- Hosts file for ICCT Private network | ||
- | |||
- | |||
# | # | ||
- | |||
- | |||
# IP FQDN | # IP FQDN | ||
- | |||
- | |||
# | # | ||
- | |||
- | |||
127.0.0.1 | 127.0.0.1 | ||
- | |||
- | |||
# | # | ||
- | |||
- | |||
192.168.1.1 | 192.168.1.1 | ||
- | |||
- | |||
192.168.1.2 | 192.168.1.2 | ||
- | |||
- | |||
127.0.0.1 | 127.0.0.1 | ||
- | |||
- | |||
# | # | ||
- | |||
- | |||
192.168.1.1 | 192.168.1.1 | ||
- | |||
- | |||
192.168.1.2 | 192.168.1.2 | ||
- | |||
- | |||
# | # | ||
- | |||
- | |||
# Jupiter cluster | # Jupiter cluster | ||
- | |||
- | |||
# | # | ||
- | |||
- | |||
192.168.1.3 | 192.168.1.3 | ||
- | |||
- | |||
192.168.2.1 | 192.168.2.1 | ||
- | |||
- | |||
- | |||
- | GNU nano 2.2.2 File: / | ||
- | |||
- | |||
- | |||
- | |||
# Jupiter cluster | # Jupiter cluster | ||
- | |||
- | |||
# | # | ||
- | |||
- | |||
192.168.1.3 | 192.168.1.3 | ||
- | |||
- | |||
192.168.2.1 | 192.168.2.1 | ||
- | |||
- | |||
192.168.2.2 | 192.168.2.2 | ||
- | |||
- | |||
192.168.2.3 | 192.168.2.3 | ||
- | |||
- | |||
192.168.2.4 | 192.168.2.4 | ||
- | |||
- | |||
192.168.2.5 | 192.168.2.5 | ||
- | |||
- | |||
- | |||
- | |||
# | # | ||
- | |||
- | |||
# Saturn cluster | # Saturn cluster | ||
- | |||
- | |||
# | # | ||
- | |||
- | |||
192.168.1.4 | 192.168.1.4 | ||
- | |||
- | |||
192.168.3.1 | 192.168.3.1 | ||
- | + | 92.168.3.2 | |
- | + | ||
- | # Saturn cluster | + | |
- | + | ||
- | + | ||
- | + | ||
- | # | + | |
- | + | ||
- | + | ||
- | + | ||
- | 192.168.1.4 | + | |
- | + | ||
- | + | ||
- | + | ||
- | 192.168.3.1 | + | |
- | + | ||
- | + | ||
- | + | ||
- | 192.168.3.2 | + | |
- | + | ||
192.168.3.3 | 192.168.3.3 | ||
- | |||
- | |||
192.168.3.4 | 192.168.3.4 | ||
- | |||
- | |||
192.168.3.5 | 192.168.3.5 | ||
- | |||
- | |||
192.168.3.8 | 192.168.3.8 | ||
+ | # | ||
+ | # The following lines are desirable for IPv6 capable hosts | ||
+ | ::1 | ||
+ | fe00::0 ip6-localnet | ||
+ | ff00::0 ip6-mcastprefix | ||
+ | ff02::1 ip6-allnodes | ||
+ | ff02::2 ip6-allrouters | ||
+ | ff02::3 ip6-allhosts | ||
- | # | ||
- | # The following lines are desirable for IPv6 capable hosts | ||
- | ::1 | ||
- | fe00::0 ip6-localnet | ||
- | ff00::0 ip6-mcastprefix | ||
- | ff02::1 ip6-allnodes | ||
- | ff02::2 ip6-allrouters | ||
- | ff02::3 ip6-allhosts | ||
==== Question 12 ==== | ==== Question 12 ==== | ||
Line 369: | Line 273: | ||
What is the purpose of the Gateway interface? | What is the purpose of the Gateway interface? | ||
- | **Answer**: | + | **Answer**: |
Line 458: | Line 362: | ||
<cli prompt=" | <cli prompt=" | ||
icct@ganymede: | icct@ganymede: | ||
- | |||
Kernel IP routing table | Kernel IP routing table | ||
- | |||
Destination | Destination | ||
- | |||
jupiter-net | jupiter-net | ||
- | |||
169.254.0.0 | 169.254.0.0 | ||
+ | default | ||
- | default | ||
</ | </ | ||
Add your explanation here. | Add your explanation here. | ||
+ | netstat -r displays the kernel routing table | ||
==== Question 21 ==== | ==== Question 21 ==== | ||
Line 480: | Line 381: | ||
**Answer** | **Answer** | ||
<cli prompt=" | <cli prompt=" | ||
- | user@host:~$ netstat -r | + | icct@ganymede:~$ netstat -i |
- | # Paste result here.... | + | Kernel Interface table |
+ | Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR | ||
+ | eth0 1500 0 7220 0 0 0 5276 0 0 0 BMRU | ||
+ | lo 16436 0 12 0 0 0 12 0 0 0 LRU | ||
+ | . | ||
</ | </ | ||
Add your explanation here. | Add your explanation here. | ||
+ | |||
+ | netstat -i displays a table of all network interfaces. | ||
+ | |||
Line 493: | Line 401: | ||
**Answer** | **Answer** | ||
<cli prompt=" | <cli prompt=" | ||
- | user@host:~$ netstat -r | + | icct@ganymede:~$ netstat -ta |
- | # Paste result here.... | + | Active Internet connections (servers and established) |
+ | Proto Recv-Q Send-Q Local Address | ||
+ | tcp 0 0 ganymede: | ||
+ | tcp 0 0 *:www | ||
+ | tcp 0 0 *:ssh | ||
+ | tcp 0 0 ganymede: | ||
+ | tcp 0 0 ganymede.jupiter.:36541 174.36.133.240-stat: | ||
+ | tcp 0 0 ganymede.jupiter.: | ||
+ | tcp6 | ||
+ | tcp6 | ||
</ | </ | ||
Add your explanation here. | Add your explanation here. | ||
+ | |||
+ | shows all active internet connections and their current state. | ||
===== Testing the Connectivity of your network ===== | ===== Testing the Connectivity of your network ===== | ||
Line 509: | Line 428: | ||
**Answer** | **Answer** | ||
<cli prompt=" | <cli prompt=" | ||
- | user@host:~$ command | + | icct@ganymede:~$ traceroute mimas |
- | # paste output here | + | traceroute to mimas (127.0.0.1), |
+ | | ||
</ | </ | ||
Line 522: | Line 443: | ||
**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), |
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | 10 * * * | ||
+ | 11 * * * | ||
+ | 12 * * * | ||
+ | 13 * * * | ||
+ | 14 * * * | ||
+ | 15 * * * | ||
+ | |||
</ | </ | ||
Explain the result. | Explain the result. | ||
+ | |||
+ | traceroute is not forwarding the pings to the corresponding network, | ||
+ | |||
+ | |||
+ | |||
===== Extension Questions ===== | ===== Extension Questions ===== | ||
Line 537: | Line 480: | ||
**Answer** | **Answer** | ||
+ | For all of the computer we have to edit the /etc/hosts and add; | ||
+ | |||
+ | 192.168.10.1 engineering.swan-icct.ac.uk gw-engineering engineering-if2 | ||
+ | |||
+ | If there are some clients in the engineering network we have to define them also. | ||
==== Question 26 ==== | ==== Question 26 ==== | ||
Line 543: | Line 491: | ||
**Answer** | **Answer** | ||
+ | /etc/hosts | ||
+ | / | ||
+ | |||
+ | / | ||
+ | |||
+ | / | ||
==== Question 27 ==== | ==== Question 27 ==== | ||
Line 550: | Line 504: | ||
**Answer** | **Answer** | ||
+ | address 192.168.1.4 | ||
+ | network 192.168.1.0 | ||
+ | |||
+ | netmask 255.255.255.0 | ||
+ | |||
+ | gateway 192.168.1.1 | ||
+ | |||
+ | # route to jupiter-net | ||
+ | |||
+ | up route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.1.3 | ||
+ | |||
+ | down ro/ | ||
==== Question 27 ==== | ==== Question 27 ==== | ||
Line 556: | Line 522: | ||
**Answer** | **Answer** | ||
+ | |||
+ | / | ||
+ | |||
+ | /etc/hosts | ||
+ | |||
+ | / | ||
+ | |||
+ | / | ||
+ | |||
- | ===== Signature ===== | ||
I hereby submit this work for marking. | I hereby submit this work for marking. | ||
- | Your signature here: | + | Your signature here: --- // |
eg-253/networkq/574487.1322153495.txt.gz · Last modified: 2011/11/24 16:51 by emmanuel