exam questions

Exam LX0-104 All Questions

View all questions & answers for the LX0-104 exam

Exam LX0-104 topic 5 question 9 discussion

Actual exam question from CompTIA's LX0-104
Question #: 9
Topic #: 5
[All LX0-104 Questions]

When issuing the command ifconfig eth0 192.168.1.20/24 up, which of the following happens? (Choose TWO correct answers.)

  • A. The address 192.168.1.20 is associated with the interface eth0.
  • B. A network route to 192.168.1.0 with the netmask 255.255.255.0 pointing directly to eth0 is created.
  • C. 192.168.1.1 is probed for router functionality and, in case of success, it is added to the list of default routers.
  • D. The addresses from 192.168.1.20 to 192.168.1.24 are activated on the interface eth0.
  • E. If eth0 was configured with a previous IP address, it is retained in addition to adding the new address.
Show Suggested Answer Hide Answer
Suggested Answer: AB 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
linux_admin
2 years, 2 months ago
A. The address 192.168.1.20 is associated with the interface eth0. B. A network route to 192.168.1.0 with the netmask 255.255.255.0 pointing directly to eth0 is created.
upvoted 1 times
linux_admin
2 years, 2 months ago
The ifconfig eth0 192.168.1.20/24 up command is used to configure the network interface eth0 with an IP address of 192.168.1.20 and a subnet mask of 24 (which can also be represented as 255.255.255.0). The /24 value specifies the number of bits that represent the network portion of the address, and the up option is used to activate the network interface. This command assigns the IP address 192.168.1.20 to the network interface eth0. The subnet mask 255.255.255.0 specifies the network segment that the IP address 192.168.1.20 belongs to. The up option is used to bring up the network interface eth0, making it active and ready for use. This command is typically used to manually assign an IP address to a network interface or to change the configuration of an existing interface.
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago