Book: LPI Linux Certification in a Nutshell
Section: Chapter 22.  Exam 102 Review Questions and Exercises



22.7 Networking Fundamentals (Topic 1.12)

22.7.1 Review Questions

  1. Describe how the subnet mask affects the maximum number of hosts that can be put on a TCP/IP network.

  2. Name the three default address classes and the subnet masks associated with them.

  3. The UDP protocol is said to be connectionless. Describe this concept and its consequences on applications that use UDP.

  4. What user command is frequently used to send ICMP messages to remote hosts in order to verify those hosts' functionality?

  5. Describe the contents and use of /etc/hosts.

  6. In what configuration file are DNS servers listed? What is intended if the local loopback address is included there on a workstation?

  7. Name two modes of the netstat command and the program's output in each case.

  8. Describe why the route command is needed for a single interface on a nonrouting workstation.

  9. How does traceroute determine the identities of intermediate gateways?

  10. Describe the advantages and consequences of implementing DHCP.

  11. What utility is used to configure and dial a modem prior to the creation of a PPP connection?

  12. What are the four authentication modes commonly used during PPP negotiations?

22.7.2 Exercises

  1. Examine your system's TCP/IP configuration using ifconfig eth0 or a similar command for your network interface. Are you using DHCP? What type of subnet are you running with? Is it a Class A, B, or C address? Are you using a private address? Experiment with taking the interface offline using ifconfig eth0 down and ifconfig eth0 up.

  2. Examine the contents of /etc/services.

  3. Use the dig command to locate information from DNS servers about a domain name.

  4. Examine your /etc/hosts file. How much name resolution is accomplished in this file manually?

  5. Examine your /etc/resolv.conf file. How many DNS servers do you have available?

  6. Execute netstat -r. How many routes are reported? What are the routes to the local network and interface for?

  7. Use traceroute to examine the route to a favorite web site.

  8. If you are using DHCP, use pump -r to release your IP address, followed by pump -R and pump -s. Does the system still function correctly on the network?

  9. Using a standard modem (not a WinModem), use minicom to connect to the modem and verify that it responds to the AT command.

  10. Execute a manual PPP connection as described in Chapter 19. Does your modem successfully connect to your Internet Service Provider? Examine /var/log/messages for information on the PPP session.