07 Networking and Network Troubleshooting Flashcards

1
Q

What network protocol does ping use?

A

ICMP

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

what command can be used to see the IP address?

A

ip addr

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

What four components are needed for a network to function

A
  1. IP Address
  2. Netmask
  3. Default Route
  4. DNS nameserver
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what three commands can be used to invoke network manager application? (in addition to others)

A
  1. nmcli
  2. nmtui
  3. nm-connection-editor
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

DHCP the dynamic host control protocol, does what?

A

Automates assigning hosts with IP addresses

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

What two commands allow us to query information from a DNS nameserver?

A

dig and host

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

The steps to troubleshoot a network connection are?

A

Verify adapter is active
Verify local configuration
Verify connections
Verify server functions

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

What are the three flavors of network manager application

A

nmcli (cli version)
nmtui (colorized menu)
nm-connection-editor (graphical)

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

what does the ip route and ip address show commands do?

A

ip route shows default route info
ip address show shows network addressing info

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

What does the netmask do?

A

separates the network from host sections in an IP address

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

what command can be used to check if a network adapter is active?

A

ip link

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

what command can be used to toggle an adapter on or off

A

ip link set <device> up/down</device>

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

what is the nmcli command to query the DHCP information stored by network manager?

A

nmcli con sho -a: shows active devices

nmcli con sho <name> for specific info about that connection. Then pipe it into a grep command to filter just for dhcp</name>

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

what are the two best options for verifying that DHCP is present?

A

use network manager to examine the info from the local dhcp server
use the ISC DHCP client

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

how can you force a dhcp update from the server?

A

cycle the connection up and down

nmcli con down/up id <connection></connection>

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

how can you verify local connections?

A

ping stuff! local network address, default router, some web addresses to see if nameserver is working, and google.com in a web browser to test TCP connections (ping is ICMP)

16
Q

What three things must be checked as part of checking server functions?

A

daemons, ports, firewall

17
Q

what command can be used to check the ports on the system?

A

sudo ss -tlapn