Chapter 15 Flashcards

1
Q

You need to configure what five main pieces of information in your Linux system to interact on a network

A

1) The host address
2) The network subnet address
3) the default router (gateway)
4) The system host name
5) A Domain Name System (DNS) server address for resolving host names

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What three ways are there to configure the network in Linux

A

1) Manually editing network configuration files
2) Using a graphical tool included with your Linux distribution
3) Using command-line tools

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Name the two types of IP network address schemes in use today as well as how many bits each has to represent a host address

A

IPv4 (commonly just IP) - 32 bits
IPv6 - 128 bits

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

The blank is popular program used by many Linux distributions to provide a graphical interface for defining network connections

A

Network Manager tool

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Network Manager starts automatically and appears in the blank area of the desktop as an icon

A

system trey

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Network Manager allows you to specify the host, network subnet address, default router, and DNS server names by using the blank or blank

A

manual configuration option
Dynamic Host Configuration Protocol (DHCP)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

In Linux, you can manually define a DNS server so the system can use DNS host names. This is handled in the blank file by what three entries.

A

/etc/resolv.conf
domain mydomain.com
search mytest.com
nameserver 192.168.1.1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

In the /etc/resolv.conf file, the blank defines the domain name assigned to the network. By default, the system appends this to any host names you specify

A

domain

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

In the /etc/resolv.conf file, the blank entry defines any additional domains used to search for host names.

A

search

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

In the /etc/resolv.conf file, the blank entry is where you specify the DNS server assigned to your network and you can have more than just one.

A

nameserver

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Network Manager offers what two command line tools.

A

nmtui
nmcli

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

For the Network Manager, the blank command provides a simple text-based menu

A

nmtui

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

For the Network Manager, the blank command provides a text-only command line tool

A

nmcli

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

If your Linux distribution doesn’t support one of the Network Manager tools, you can use one of what four traditional command-line tools

A

ethtool
ifconfig
ip
iwconfig
route

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What command displays Ethernet settings for a network interface

A

ethtool

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What command displays or sets the IP address and netmask values for a network interface

A

ifconfig

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What command displays or sets the IP address, netmask, and router values for a network interface

A

ip

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What command displays or sets the SSID and encryption key for a wireless interface

A

iwconfig

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What command displays or sets the default router address

A

route

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

The blank allows you to peek inside the network interface card Ethernet settings and change any properties that you may need to communicate with a network device, such as a switch

A

ethtool command

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

By default, the ethtool command displays the blank for the network interface

A

current configuration

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

The blank command is a legacy command for configuring network device settings. It allows you to set the network address and subnet mask for a network interface

A

ifconfig

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

The blank command is more robust than ifconfig in what it can do, and it is becoming the most popular method to use for defining network settings from the command line

A

ip

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

Name the ip utility command that display or set the IPv4 or IPv6 address on the device

A

address

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

Name the ip utility command that define configuration labels

A

addrlabel

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

Name the ip utility command that tunnel Ethernet over IP

A

l2tp

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

Name the ip utility command that define a network device

A

link

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

Name the ip utility command that define a multicast address for the system to listen to

A

maddress

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

Name the ip utility command that watch for netlink messages

A

monitor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
30
Q

Name the ip utility command that define an entry in the multicast routing cache

A

mroute

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
31
Q

Name the ip utility command that define a rule in the multicast routing policy database

A

mrule

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
32
Q

Name the ip utility command that manage Address Resolution Protocol (ARP) or Neighbor Discovery (NDISC) cache entries

A

neighbor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
33
Q

Name the ip utility command that manage network namespaces

A

netns

34
Q

Name the ip utility command that manage the neighbor cache operation

A

ntable

35
Q

Name the ip utility command that manage the routing table

A

route

36
Q

Name the ip utility command that manage entries in the routing policy database

A

rule

37
Q

Name the ip utility command that manage TCP metrics on the interface

A

tcpmetrics

38
Q

Name the ip utility command that manage tokenized interface identifiers

A

token

39
Q

Name the ip utility command that tunnel over IP

A

tunnel

40
Q

Name the ip utility command that manage Network Tunnel (TUN) or Network Bridge (TAP) devices

A

tuntap

41
Q

Name the ip utility command that manage IPSec policies for secure connections

A

xfrm

42
Q

What is the name for the local loopback interface

A

lo

43
Q

What is the name for a wired network interface

A

enp0s3

44
Q

The blank is a special virtual network interface that any local program can use to communicate with other programs just as if they were across a network

A

local loopback inteface

45
Q

If the output doesn’t show a network address assigned to the interface, you can use the blank command to specify the host address and netmask value for the interface

A

ip

46
Q

You can use the blank command to set up the default router for the network interface

A

ip route add

47
Q

Although the ip command is a one-stop method for changing network settings, you can also specify network routing settings for your network with the blank command

A

route

48
Q

Three common DHCP client programs available for Linux are what?

A

dhcpcd
dhclient
pump

49
Q

What DHCP client program is becoming the most popular?

A

dhcpc

50
Q

Before you can use the ip command to assign an address to a wireless interface, you must assign the wireless SSID and encryption key value using the blank command

A

iwconfig

51
Q

When setting up the encryption key with the iwconfig command precede the encryption key with blank in order to use ASCII text characters

A

s:

52
Q

If you don’t know the name of the local wireless connection, you can use the blank command to display all the wireless signals your wireless card detects

A

iwlist

53
Q

One way to test network connectivity is to send blank to known hosts

A

test packets

54
Q

The blank and blank commands sent Internet Control Message Protocol (IMCP) using either the IP or IPv6 protocols

A

ping
ping6

55
Q

The basic format for the ping command is to specify the blank of the remote host

A

IP address

56
Q

The ping command continues to send packets until you hit what or alternatively use what option to set a number of packets to send then stop?

A

Ctrl+C
-c

57
Q

With the ping6 command, you also have to specify which interface to blank

A

send packets out on

58
Q

You can test a DNS host name system with the blank command

A

host

59
Q

The host command returns all blank assigned to the specify host name

A

IP addresses

60
Q

You can also specify an IP address with the blank command to get the host name associated to it

A

host

61
Q

The blank command displays all of the DNS data records associated with a specific host or network

A

dig

62
Q

Name the two commands that provide complex information about the network environment

A

netstat
ss

63
Q

By default, the blank command list all the open network connections on the system

A

netstat

64
Q

Withe the netstat command, you can limit the output to just TCP connections with the blank option, or limit to UDP connections with the blank option

A

-t
-u

65
Q

With the netstat command, you can get a list of what applications are listening on which network ports by using the blank option

A

-l

66
Q

With the netstat command, you can display statistics for the different types of packets the system has used on the network with the blank command

A

-s

67
Q

The netstat tool provides a wealth of information, but it can be hard to determine which program is listening on which open port. The blank command helps with that

A

ss

68
Q

A program connection to a port is called a blank

A

socket

69
Q

The ss command links which blank are using which network sockets that are active

A

system processes

70
Q

With ss, the blank option displays both listening and established TCP connections, as well as the process they’re associated with

A

-anpt

71
Q

Which two commands set the IP address, subnet mask, and default router information on an interface using the command line? (Choose two)

A) netstat
B) ping
C) nmtui
D) ip
E) route

A

C,D

72
Q

Which command displays the duplex settings for an Ethernet card?

A) ethtool
B) netstat
C) iwconfig
D) iwlist
E) route

A

A

73
Q

Which command displays what processes are using what ports on a Linux system?

A) iwconfig
B) ip
C) ping
D) nmtui
E) ss

A

E

74
Q

What network setting defines the network device that routes packets intended for hosts on remote networks?

A) Default router
B) Netmask
C) Host name
D) IP address
E) DNS Server

A

A

75
Q

WHat device setting defines a host that maps a host name to an IP address?

A) Default router
B) Netmask
C) Host name
D) IP address
E) DNS Server

A

E

76
Q

What is used to automatically assign an IP address to a client?

A) Default router
B) DHCP
C) ARP table
D) Netmask
E) ifconfig

A

B

77
Q

Which command would you use to find the mail server for a domain?

A) dig
B) netstat
C) ping6
D) host
E) ss

A

A

78
Q

Which ifconfig format correctly assigns an IP address and netmask to the eth0 interface?

A) ifconfig eth0 up 192.168.1.0 netmask 255.255.255.0
B) ifconfig eth0 255.255.255.0 192.168.1.0
C) ifconfig up 192.168.1.0 netmask 255.255.255.0
D) ifconfig up
E) ifconfig down

A

A

79
Q

What command displays all wireless networks in your area?

A

iwlist

80
Q

What command can you use to both display and set the IP address, netmask and default router values

A

ip