Question: You are a network administrator tasked with configuring a new Ethernet interface on a Linux server. The server runs an older version of Ubuntu that
You are a network administrator tasked with configuring a new Ethernet interface on a Linux server. The server runs an older version of Ubuntu that does not use netplan for network configuration. You need to set a static IP address for the interface eth with the following settings:
IP Address:
Subnet Mask:
Gateway:
Which of the following steps would you take to configure this interface?
answer
Edit the etcnetworkinterfaces file to include the interface configuration.
Use the ifconfig command to set the IP address and subnet mask, then route add default gw
Edit the etcnetplannetcfg.yaml file to include the interface configuration.
Use the nmcli tool to configure the interface directly from the command line.
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
