section 10 networking Flashcards

1
Q

Four basic components for network connectivity?

A

IP address
subnet mask
default gateway
DNS server IP address

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

What command lists nearby wireless networks?

A

iwlist

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

What command connects to or disconnects from specific wireless networks?

A

iwconfig

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

What command can apply an ip address or subnet mask to a specific hardware interface, and connect/disconnect to a wired network?

A

ifconfig

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

What command can view the default gateway?

A

route

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

Where is DNS info configured?

A

/etc/resolv.conf

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

Where is DNS info configured?

A

/etc/resolv.confq

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

What commands configure DHCP info?

A

dhclient
dhcpcd

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

three commands useful for DNS troubleshooting

A

host
dig
nslookup

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

What is netstat?

A

netstat -a

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

What is Linux’s primary security concern?

A

Server daemons running in the background such as apache web server, SSH, mail, etc.

Remediate by shutting down the service or uninstalling it.

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

how do you view your ip address?

A

ip address show

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

how do you view layer 2 info?

A

ip link show

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

How do you disable a wired interface?

A

ip link set eth0 down

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

how do you manually add an ip address?

A

ip addr add 192.168.0.1/24 dev eth0

(use addr instead of address)

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

What are the 3 DHCP mechanisms for IP address allocation?

A

Automatic allocation allows DHCP to assigns a permanent IP address to a device.

Dynamic allocation is used when DHCP assigns an IP address to a device for a limited period of time.

Manual allocation occurs when a device’s IP address is assigned by the network administrator, and DHCP is used to convey the assigned address to the device.