Chapter 12 Review & Lab Questions
Which ping option prevents transmitting very large packets?
-M do
Which file holds the methods to be used and the order in which they will be applied for host name resolution?
/etc/nsswitch.conf
Which of the following port numbers is associated with telnet?
23
Which of the following are stand-alone daemons? (Choose all that apply.)
Apache (httpd), DNS (named)
What are two means available to resolve a host name to the appropriate TCP/IP address? (Choose two answers.)
DNS, /etc/hosts
What's the consequence of disabling ARP on an interface?
The interface can no longer find MAC addresses.
How many IP aliases can be created?
Up to 256 per physical interface
What's the name of the first Ethernet interface?
eth0
Which Linux command is used to change the subnet mask?
ifconfig
Which file stores the TCP/IP addresses of the DNS servers used to resolve host names if no DNS servers are specified within the network configuration file for the NIC?
/etc/resolv.conf
Which file would you modify to permanently change the TCP/IP address of the first wired NIC on a Fedora 20 system?
/etc/sysconfig/network-scripts/ifcfg-eth0
An Ethernet card's MAC address can be changed with the route command. True or False?
False
An IP alias is used only for internal testing; you can't actually send packets to the IP address assigned to the alias and get a
False
By default, IP packets that exceed the MTU aren't fragmented. True or False?
False
Standalone daemons are started on demand using inetd or xinetd. True or False?
False
When a user logs in as an ordinary (nonanonymous) user, the working directory is /var/ftp. True or False?
False
When a user logs in as anonymous, the working directory is /ftp/anonymous. True or False?
False
When you shut down a physical interface, you must specify the IP address, subnet mask, and broadcast address again when you restart the interface. True or False?
False
You can't assign IP aliases to the local loopback (lo) interface. True or False?
False
Which of the following reasons explains why NcFTPd performs better than WuFTP?
It doesn't spawn child processes when users connect.
Which Windows program is often used to connect to a Linux server via SSH?
Putty
A subnet mask is used to differentiate the host portion from the network portion in a TCP/IP address. True or False?
True
SSH encrypts all traffic that passes across the network, whereas telnet does not. True or False?
True
The line that configures the host name for the computer at boot time can be found in /etc/sysconfig/network. True or False?
True
What command do you use to disconnect from the FTP server but not exit the FTP client?
close
Before a computer can use a router, what configuration information must it be provided?
default gateway
Which of the following utilities can be used to check TCP/IP configuration and test network connectivity? (Choose all that apply.)
ifconfig
To shut down the first Ethernet interface, which command should you use?
ifconfig eth0 down
Which of these commands configures an IP alias?
ifconfig eth0:0 192.0.2.1
Which command would be used to activate the NIC aliased as eth0?
ifup eth0
What command do you use to see the contents of the ARP cache?
ip neighbor
The TCP/IP address of 127.0.0.1 is also referred to as the _____.
loopback address
To test DNS configuration by resolving a host name to IP address, which command or commands can you use? (Choose all that apply.)
nslookup hostname dig hostname host hostname resolve hostname
What command do you use to connect to an FTP server if you are at the ftp> prompt and not currently connected to a server?
open
The daemons associated with network services listen for network traffic associated with a particular _____.
port
Which command is used to set the default gateway?
route
Which two commands can be used to modify the route table on a Linux computer? (Choose two answers.)
route, ip
What devices are used to transfer information from one network to another?
routers
Which of the following are graphical remote administration technologies? (Choose all that apply.)
ssh -X, VNC
Which command uses TCP and starts reporting trace information at the third router?
traceroute -T -f 3