Chapter 1 Flashcards

1
Q

Which of the following could be a Linux Ethernet network interface?

A

eth2

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

What command is used to list all currently active network interfaces?

A

ip addr

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

Which of the following is the device node for the first Ethernet interface?

A

The question is misguided, because network interfaces do not have associated device nodes.

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

What IP address and network mask are conventionally assigned to the loopback interface?

A

127.0.0.1/8

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

Within an interface configuration file, which of the following lines specify that the interface should be configured using DHCP?

A

BOOTPROTO=DHCP

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

Which of the following command lines would configure the interface eth0 with an IP address of 192.168.0.5 and a network mask of 255.255.255.0?

A

ip addr add dev eth0 local 192.168.0.5/24

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

DEVICE=eth0
ADDR=192.168.10.18
NETMASK=255.255.255.0
ONBOOT=yes

What configuration error does the network interface file contain?

A

The parameter ADDR should instead be IPADDR.

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

[root@localhost root]# ifup eth0

Usage: ifup

A

-

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

What is the most likely cause of the problem?

A

The interface configuration file for the interface eth0 does not exist.

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

Where should the interface configuration file for the interface eth0 be located?

A

None of the above

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

What command is used to raise a properly configured network interface?

A

ifup

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