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 17:21] – [Question 25] emmanuel | eg-253:networkq:574487 [2011/12/08 14:58] (current) – [Signature] emmanuel | ||
---|---|---|---|
Line 273: | Line 273: | ||
What is the purpose of the Gateway interface? | What is the purpose of the Gateway interface? | ||
- | **Answer**: | + | **Answer**: |
Line 480: | Line 480: | ||
**Answer** | **Answer** | ||
- | For all of the computer we have to edit the /etc/hosts and add; | + | 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 | 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. In my example I have one client on engineering network (client.swan-icct.ac.uk with ip 192.168.10.3 so add the client also on etc/hosts file ; | + | |
- | 192.168.10.3 client.swan-icct.ac.uk client | + | If there are some clients in the engineering network we have to define them also. |
==== Question 26 ==== | ==== Question 26 ==== | ||
Line 503: | 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 509: | Line 522: | ||
**Answer** | **Answer** | ||
+ | |||
+ | / | ||
/etc/hosts | /etc/hosts | ||
- | /etc/networks | + | /etc/nsswitch.conf |
- | / | + | / |
- | / | ||
- | ===== 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.1322155305.txt.gz · Last modified: 2011/11/24 17:21 by emmanuel