In order to copy data from another VLAN, a systems administrator wants to temporarily assign IP address 10.0.6.5/24 to the newly added network interface enpls0f1. Which of the following commands should the administrator run to achieve the goal?
A.
ip addr add 10.0.6.5/24 dev enpls0f1
B.
echo "IPV4_ADDRESS=10.0.6.5/24" > /etc/sysconfig/network-scripts/ifcfg-enpls0f1
C.
ifconfig 10.0.6.5/24 enpsls0f1
D.
nmcli conn add ipv4.address=10.0.6.5/24 if name snpls0f1
A. ip addr add 10.0.6.5/24 dev enpls0f1
Explanation:
ip is a command-line tool used to manage network interfaces in Linux.
addr add 10.0.6.5/24 is an option used with the ip command to add an IP address to a network interface.
dev enpls0f1 specifies the network interface to which the IP address should be added.
So, the command ip addr add 10.0.6.5/24 dev enpls0f1 will assign IP address 10.0.6.5/24 temporarily to the network interface enpls0f1.
upvoted 3 times
...
This section is not available anymore. Please use the main Exam Page.XK0-005 Exam Questions
Log in to ExamTopics
Sign in:
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.
bongobo
10 months, 3 weeks agobongobo
10 months, 3 weeks agolinux_admin
1 year, 11 months ago