Top-Rated Free Essay
Preview

Unit 7 Chapter Exercises

Satisfactory Essays
458 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Unit 7 Chapter Exercises
Unit 7 Chapter Exersises
NT 1430

Tyrel Cain (19103625)

Tyrel Cain
NT1430
4/30/2015
Unit 7 Chapter Exercises
Chapter 22
1. What are three reasons to use NFS?
a. NFS reduces storage needs.
b. NFS simplifies system administration.
c. NFS makes backing up data simpler.
d. NFS improves data consistency and reliability. 2. Which command would you give to mount on the local system the /home?
Directory hierarchy that resides on the file server named plum? Assume the mounted directory hierarchy will appear as /plum.home on the local system. How would you mount the same directory hierarchy if it resided on the fileserver at 192.168.1.1? How would you unmount /home?

$ sudo mount plum:/home /plum.home
$ sudo mount 192.168.1.1:/home /plum.home
$ sudo umount /home

3. How would you list the mount points on the remote server named plum that the local client named guava can mount?

$ showmount -e plum | grep guava

4. Which command line lists the currently mounted NFS directory hierarchies?

$ mount | grep nfs4 or $ df -t nfs4

5. What does the /etc/fstab file do?

The fstab file facilitates mounting directory hierarchies. You can use fstab to mount directory hierarchies automatically when the system comes up and to allow ordinary users to mount a directory hierarchy.

6. From a server, how would you allow readonly access to /opt for any system in example.com?

Place the following line in /etc/exports:
/opt *.example.com(ro)

Chapter 25

1. How would you remove all iptables rules and chains, but not change policy? The following command removes all iptables rules and chains but does not change policy:
# iptables --flush && iptables --delete-chain

2. How would you list all current iptables rules?

The following command lists all iptables rules:
# iptables -L --line-numbers

3. How is configuring iptables different from configuring most Linux services? Most Linux services are configured using configuration files. You configure iptables by issuing instructions one at a time.

4. Define an iptables rule that will reject incoming connections on the
TELNET port.

The following command rejects incoming connections on the TELNET port: # iptables --append FORWARD --sport telnet --jump REJECT

5. What does NAT stand for? What does the NAT table do?

NAT is an acronym for Network Address Translation. Packets that create
New connections are routed through the NAT table, which translates the
Source or destination field of the packet.
References
Sobell, Mark G. A Practical Guide to Fedora™ and Red Hat® Enterprise Linux®, 6th Edition. Prentice Hall, 2012. VitalBook file.
Chapter Summary

I believe NFS allows a server to share selected local directory hierarchies with client systems on a heterogeneous network, thereby reducing storage needs and administrative overhead. NFS defines a client/server relationship in which a server provides direc- tory hierarchies that clients can mount.

References: Sobell, Mark G. A Practical Guide to Fedora™ and Red Hat® Enterprise Linux®, 6th Edition. Prentice Hall, 2012. VitalBook file. Chapter Summary I believe NFS allows a server to share selected local directory hierarchies with client systems on a heterogeneous network, thereby reducing storage needs and administrative overhead. NFS defines a client/server relationship in which a server provides direc- tory hierarchies that clients can mount.

You May Also Find These Documents Helpful