109.3 Basic Network Troubleshooting Flashcards

1
Q

DNS lookup utility for troubleshooting DNS issues, options use the + sign.

A

dig [ global options ] host [ local options ]

Ex. dig +noall +answer MX linux.com

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

Ping command for IPv6.

A

ping6

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

Traceroute command for IPv6.

A

traceroute6

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

Tracepath for IPv6.

A

tracepath6

First column shows TTL.

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

Can be used to get the host name from an IP address or the IP address from a host name.

A

host 66.6.44.4

host kmauthorized.com

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

Enables or disables receiving multicast packets on the network interface.

A

ifconfig [-]allmulti

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

Sets promiscuous mode.

A

ifconfig eth0 -promisc

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

Flush all IP addresses from the 192.168.1.0 network.

A

ip -s a f to 192.168.1.0/24

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

Get additional statistics about the IP network.

A

ip -s -s

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

Remove 192.168.1.151 from the eth0 interface.

A

ip a del 192.168.1.151/24 dev eth0

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

Bring eth0 down and back up again.

A

ip link set eth0 down

ip link set eth0 up

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

Flush protocol addresses.

A

ip eth0 flush

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

A simplified version of traceroute, determines MTU, no need for superuser privileges.

A

tracepath

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

Changes made to the routing table using which command are temporary?

A

route

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

Reads and writes data across network connections using TCP or UDP.

A

netcat

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

Command to temporarily change the hostname.

A

hostname -b

17
Q

Full path to conf file to permanently change the hostname.

A

/etc/hostname

/etc/sysconfig/network (on older Fedora-based systems)

18
Q

Location of BOOTPROTO, IPADDR, NETMASK on Fedora-based systems.

A

/etc/sysconfig/network-scripts/

19
Q

Command to enable IP forwarding on a CentOS system.

A

echo 1 > /proc/sys/net/ipv4/ip_forward

20
Q

Full path to check state of eth0 after ifup command, and if empty, this indicates that another utility was used to bring up eth0.

A

/run/network/ifstate