Which file in Linux is primarily used to configure the static IP address of a network interface?

  • /etc/network/interfaces
  • /etc/hostname
  • /etc/resolv.conf
  • /etc/hosts
The primary file used to configure the static IP address of a network interface in Linux is '/etc/network/interfaces.' This file contains network interface configuration settings, including IP addresses, subnet masks, and gateways for static configurations.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *