Chapter 1 Flashcards
Which of the following could be a Linux Ethernet network interface?
eth2
What command is used to list all currently active network interfaces?
ip addr
Which of the following is the device node for the first Ethernet interface?
The question is misguided, because network interfaces do not have associated device nodes.
What IP address and network mask are conventionally assigned to the loopback interface?
127.0.0.1/8
Within an interface configuration file, which of the following lines specify that the interface should be configured using DHCP?
BOOTPROTO=DHCP
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?
ip addr add dev eth0 local 192.168.0.5/24
DEVICE=eth0
ADDR=192.168.10.18
NETMASK=255.255.255.0
ONBOOT=yes
What configuration error does the network interface file contain?
The parameter ADDR should instead be IPADDR.
[root@localhost root]# ifup eth0
Usage: ifup
-
What is the most likely cause of the problem?
The interface configuration file for the interface eth0 does not exist.
Where should the interface configuration file for the interface eth0 be located?
None of the above
What command is used to raise a properly configured network interface?
ifup