Question: A Linux system administrator is working on a Debian - based system and needs to switch from using DHCP to a static IP configuration for
A Linux system administrator is working on a Debianbased system and needs to switch from using DHCP to a static IP configuration for the network interface named eth The desired static IP configuration is as follows:
IP Address:
Subnet Mask:
Gateway:
DNS Server:
Which of the following actions should the administrator take to achieve this configuration?
###answer###
a Edit the etcnetplannetcfg.yaml file to apply the static IP configuration and execute netplan apply.
b Use the nmcli tool to set the static IP configuration and restart the NetworkManager service.
c Modify the etcnetworkinterfaces file to include the static IP configuration and restart the networking service.
d Edit the etcnetplannetcfg.yaml file to apply the static IP configuration and execute netplan apply.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
