You need to change the IP address assignment to a permanent, static IP address assignment for the eth0 network interface. The MAC address of the Ethernet interface is 00:0C:28:B1:50:A3. Which of the following commands should you use?
  1. /etc/sysconfig/network/ifcfg-eth-id-00:0C:28:B1:50:A3
  2. /etc/sysconfig/network/eth0/ifcfg-eth-id-00:0C:28:B1:50:A3
  3. /etc/sysconfig/network/00:0C:28: B1:50:A3/eth0
  4. /etc/sysctl/network/ifcfg-eth-id-00:0C:28:B1:50:A3
Explanation
Answer - A - You should use the /etc/sysconfig/network/ifcfg-eth-id-00:0C:28:B1:50:A3 command to change the IP address assignment to a permanent static one.

Key Takeaway: This command is specifically used when a Linux distribution does not configure the network interface automatically. The MAC address stored in the ifcfg-eth-id-mac file can be in uppercase or lowercase.
Was this helpful? Upvote!
Login to contribute your own answer or details

Top questions

Related questions

Most popular on PracticeQuiz